2-12
User Guide for Cisco Unified Service Monitor
OL-9351-01
Chapter2 Data Ma nagement and System Administration
Changing the Hostname on the Service Monitor Server
perl dbpasswd.pl dsn=cmf npwd=newpassword
where newpassword is the new password.
Note Remember this password. You will need it to complete Step9.
Step 9 To ensure that devices added before you changed the hostname are properly classified in Device Center,
enter the following command:
dbisqlc -c "uid=cmfDBA;pwd=dbpassword;eng=cmfEng;dsn=cmf;dbf=NMSROOT\databases\cmf\cmf.db"
-q update PIDM_app_device_map SET app_hostname=`NewhostName' where
app_hostname=`OldhostName'
where:
dbpassword is the Common Services database password.
NMSROOT is the directory where you installed Service Monitor.
NewhostName is the new hostname.
OldhostName is the old hostname.
Step 10 From the Control panel, or from Start, open Services and change the startup mode to Automatic for the
CW2000 Daemon Manager service.
Step 11 Reboot the server.
Step 12 Replace the old hostname with the new hostname in the self-signed security certificate and regenerate it:
a. Select Common Services > Server > Security > Certificate Setup.
b. For more information, click Help.
Step 13 Reconfigure Service Monitor. See Reconfiguring Service Monitor after a Hostname Change, page 2-12.
Reconfiguring Service Monitor after a Hostname Change
You must complete this procedure after you complete the procedure Changing the Hostname, Rebooting
the Server, and Regenerating the Certificate, page 2-10.
Step 1 Change the IP address or hostname in each of the following configuration files:
The default configuration file—See Editing the Default Configuration (Automatic Registration),
page 1-12.
The specific configuration file for each Cisco 1040 managed by the Service Monitor—See Editing
the Configuration for a Specific Cisco1040, page 1-11.
Step 2 Copy the updated configuration files from the Service Monitor server to the TFTP server. See Copying
Image and Configuration Files to the TFTP Server, page 1-4.