How to Install and Configure OSD Webportal: Part2 OSDWP

Next part of this Blog Series; How to Install and Configure OSD Webportal

Install should be easy as well, You can read this in the First Blog Post about this tool (http://blog.colemberg.ch/2013/08/how-to-configure-sccm-2012-for-use-with-this-tool/) and also in the Technet Gallery Link to download the tool (http://gallery.technet.microsoft.com/OSD-Webportal-10139926-e13f2d78).
In a few Days will a setup exe available for Download, to install all in one, that means no more self configuration, just setup and configure the connections to SCCM 2012x.

But you have allways the chance to download the full package, in this ZIP File are included the Two Folders to create the WebService and WebPortal Site self or the Setup.exe to install both automaticly.
This Steps are described here, we will beginn with the Configuration here.

After the installation are complete and you would open the website the first time there will open the settings Site:

Edit Connection Settings


image

The WebPortal Settings is ready on the links: http://localhost/OSDWebPortal/settings/ServiceEdit
You can change the Localhost with your Servername where the WebPortal is running, Tested is the WebPortal tool just in SCCM Primary Site Servers, but more about this in a other Blog for komplex szenarios (coming soon).

SCCM Service URL: http://nyc-cfg/OSDWebService/CMService.aspx
This URL is needed that the WebSitePortal can connect tho the WebService, you can Use this WebService also to send direct Powershell commands to it. Moore in the list below…

User: Administrator

Domain: contoso

Password: Pa$$w0rd
The User Domain and Password is needed to have rights in SCCM to manage these Components:
Components are:

  • CreateDevice
  • DeleteDevice
  • AssignLocation
  • AssignOS
  • ClearPXEFlag

Imortant: The Password is not crypted now (should be follow)! If you open the IIS you can see the Password. So be sure that no User can connect to the IIS over MMC on the SCCM Primary Site Server. And can view the Password.

 

The next page is to Set the configuration for the WebService:

Edit WebService Settings

image

The WebService Settings is ready on the link: http://localhost/OSDWebPortal/settings/WebService
You can change the Localhost with your Servername where the WebService is running.

 

SCCM Server: nyc-cfg
The Servername is needed to connect the Server without localhost 😉

SCCM Site Code: S01
The SiteCode is needed that we can connect the Database, but that requieres that you use the Built in DB Name like CM_xxx (CM_S01).

Local DDR Path: C:\Prgram Files\Microsoft Configuration Manager\inboxes\auth\ddm.box
The DDR Path is to crate the DDR Files like AD-Discovery . That means the tool is crating some DDR Files. In CreateDevice with the Attributes that we have, like Locations or Operating System Name and Version.

The Website for Settings dosn’t work?

No Problem you can Configure these settings direct in IIS:

OSDWebService:
image

WebSite Portal:
image

Have You See, there is a hidden Option 😉 You can create a Link to the Reporting Server i preferre the Link to the “All Collection”  So the Hepldesk User can controll that the Device is in the collection that he Want and can  start the PXE Boot or something. And on the WebSite loks like:
image

 

 

Use WebService direct with Powershell Commands

You can Use the WebService also for Direct commands over powershell, for example to use it during a Tasksequence 😉

First you have to Crate a Variable like $CM, then you can use this for all the Actions you want.

Example:
$CM = New-WebServiceProxy -Uri:”http://localhost/OSDWebService/cmservice.asmx” –UseDefaultCredential
$CM.CreateDevice(“supercomputer”, “11:22:33:44:55:6A”)

Actions:
AssignLocation (string Computername, string Luxation)
AssignOS (string Computername, string OSName)
CreateDevice (string Computername, MACAddress)
ClearPXEFlag (string Computername)
DeleteDevice (string Computername)

there are a couple more to list but without any function, sorry, this functions are ready in the full version. from the www.syliance.com Team.

 

This Infos are as is, please test it before use it, have fun and let me know for any news ;-)


Comments

3 responses to “How to Install and Configure OSD Webportal: Part2 OSDWP”

  1. Hi,

    I have just installed the OSD Web Portal and are having a few problems. When going to /OSDWebPortal/settings/WebService I get the error ‘Incompatible WebService. OSD WebService is not version 1.4.1.0’ I have checked CMServcie.dll and it is version 1.4.1.0. However Syliance.CMServiceLib.dll is version 1.0.0.0.
    I also go to /OSDWebPortal/settings/ServiceEdit. The screen displays okay, but when I click Save I get ‘Incompatible WebService. OSD WebService is not version 1.4.1.0’ Also when I go to /OSDWebPortal I get the same error.
    OSDWebService/CMService.asmx works fine.

    Any ideas ?

    Thanks

    John

  2. mirko colemberg Avatar
    mirko colemberg

    What Server OS do you have?
    Can you type this in your Webbrowser http:///OSDWebService/CMService.asmx?op=GetVersion then „invoke“ after that the Version shoud come back like “1.4.1.0” if so?
    otherwise you can also set the Settings direct in IIS unter the OSDService…
    or mail me a Printscreen mirko dot colemberg at Outlook dot com

  3. Mark Alcantara Avatar
    Mark Alcantara

    Hi Mirko please help. I’ve sent you my screen shot on my error. I’m unable to configure where you’re entering a new device.

Leave a Reply

Follow

Get every new post delivered to your Inbox

Join other followers:

%d bloggers like this: