69.9 Configuring Remote Management Ports

The Remote Management Agent and Remote Control Listener bind to TCP ports 1761 and 1762, respectively. In case there is a conflict of port numbers with some application, you can change the port numbers to which they bind as follows:

69.9.1 Configuring the Remote Management Agent Port

The Remote Management Agent port binds to TCP port 1761 by default. You might configure it to run on a different TCP port by following the steps mentioned below:

  1. Open the ZENworks_agent_directory\remotemanagement\rmagent\rmcfg.ini file.

  2. Under the Remote Management Agent Port section, set the DefaultCommPort to the desired port number.

  3. Restart the Novell ZENworks Remote Management service.

To initiate a remote session to a managed workstation where the Remote Management Agent is running on any port other than 1761, the following modifications need to be done on the management console:

  1. Open the ConsoleOne_directory\1.2\bin\rmports.ini file.

  2. Under the Remote Management Agent Ports section, add the port number.

NOTE:If the Remote Management Agents are running on different ports on different managed workstations, you might mention the port numbers one below the other under the Remote Management Agent Ports section.

69.9.2 Configuring the Remote Control Listener Port

The Remote Control Listener port binds to TCP port 1762 by default when ConsoleOne is started. You might configure it to run on a different TCP port by following the steps mentioned below:

  1. Open the ConsoleOne_directory\1.2\bin\rmports.ini file.

  2. Under the Remote Control Listener Port section, set the DefaultCommPort to the desired port number.

  3. Restart ConsoleOne.

To initiate a remote session request to a management console, where the Remote Control Listener is running on any port other than 1762, the following modifications need to be done on the managed workstations:

  1. Open the ZENworks_agent_directory\remotemanagement\rmagent\rmcfg.ini file.

  2. Under the Remote Control Listener Ports section, add the port number.

NOTE:If the Remote Control Listeners are running on different ports on different management consoles, you might mention the port numbers one below the other under the Remote Control Listener Ports section.

69.9.3 Customizing the Permission Message

If the Ask for user permission option is selected in the Remote Management policy, the Request for Permission dialog box is displayed with the following default message:

Do you want to allow console user to perform remote management operation?

ZENworks 7 with Support Pack 1 allows you to customize the default message displayed in the Request for Permission dialog box.

To customize the default message, do the following on the managed server:

  1. Open the Registry Editor.

  2. Traverse to HKEY_LOCAL_MACHINE\Software\Novell\ZENworks\RemoteManagement\ RMAgent and create a registry string in the name “PermissionMessage”.

  3. Enter the message that should be displayed in the Request for Permission dialog box as the value of the registry string created in the previous step.

  4. (Optional) In the registry string value, you can use the following parameters that will be dynamically replaced by valid information in the message:

    Table 69-3 Parameters Used to Customize the Message of the Request for Permission dialog box

    Parameter

    Information Displayed

    %a or %A

    Displays the Remote console user name.

    %i or %I

    Displays the IP address of the management console.

    %r or %R

    Displays the Remote Management operation initiated by Remote Operator.

    A sample registry string with parameters is as follows:

    Do you want to allow %a to %r from the remote machine, %i?
    

    The registry string is displayed as the following message in the Request for Permission dialog box:

    Do you want to allow admin.novell to Remote Control from the remote machine,10.0.0.0?