Note: The following procedure is based on DHCP server with Microsoft Windows Server 2003. Procedural steps may differ for other server versions.
For each DHCP server in your environment, do the following:
- Open the RES Workspace Manager Console on a computer from which the RES Workspace Manager Console connects to the Datastore that should be specified by the DHCP server.
- At Setup > Datastore > Connection, click the button > Export. This opens the Export Database connection string window, containing an encrypted string of the Datastore connection settings.
- Click Copy to clipboard or export the string into a text file for later reference.
- Close the RES Workspace Manager Console
- Log on to the DHCP server and open the DHCP snap-in.
- Select the DHCP server in the list and click Action > Set Predefined Options. This opens the Predefined Options and Values window.
- At Option class, select Microsoft Windows 2000 Options.
- Click Add to open the Option Type window, and specify a name for the option (for example, "RES Workspace Manager").
- At Data type , select String.
- At Code, specify an option ID with a number in the range from 212 until 219. Other numbers may also be free, though Microsoft Windows sometimes uses these. See http://www.networksorcery.com/enp/protocol/bootp/options.htm for a list of usable options.
- At Description, specify a description for the option and click OK.
- At String, paste the database connection string that you copied from the Management Console and click OK.
- Right-click either the Scope Options node or the Server Options node (depending on the option that you want to configure) and choose Configure Options. This will open either the Scope Options window or the Server Options window.
- On the Advanced tab, select Microsoft Windows 2000 Options in the Vendor class field.
- At User class, select Default User Class.
- In the Available Options area, browse to the option that you created earlier and select its check box. This will also show the string value that you specified earlier.
- Click Apply and OK.
- Repeat the process for all your DHCP servers, making sure that each DHCP server refers to the correct RES Workspace Manager Datastore.
- When specifying Scope options or Server options at your DHCP servers, you can only use option class Microsoft Windows 2000 Options.
- If the Datastore as specified by a DHCP server cannot be reached, the Agent will automatically revert to its last known Datastore connection settings.
- To set a specific Agent to ignore the DHCP information, sett the registry key
HKEY_Local_Machine\Software\RES\Workspace Manager\DisableDHCP in the registry of the Agent, with value "True", "yes" or "1".
- The Connection column in the RES Workspace Manager Agents node reflects how an Agent obtained its Datastore connection settings.
- Local specifies that the Agent connects to the Datastore using its local settings.
- DHCP specifies that the Agent connects to the Datastore using the settings of a DHCP server.
- Local (DHCP disabled) specifies that the Agent connects to the Datastore using its local settings and that location sensing has been disabled for the Agent.