Cisco Systems OL-11390-01 manual Reregister any processes that depend on DfmServer, 11-19

Page 19

Chapter 11 Administering DFM (Advanced)

System Administration

Example 2: Configuring the DFM Server to Use a Privileged Port

This example shows how to configure DFM to use a privileged port.

Step 1 Unregister any processes that depend on the DfmServer (such as the notification adapters).

#NMSROOT/bin/pdcmd -u DfmFileNotifier

#NMSROOT/bin/pdcmd -u DfmMailNotifier

#NMSROOT/bin/pdcmd -u DfmTrapNotifier

Step 2 Unregister the DfmServer process:

#NMSROOT/bin/pdcmd -u DfmServer

Step 3 Reregister the DfmServer process to use UDP port 162 and the IP protocol 1:

#NMSROOT/bin/pdcmd -r DfmServer -e NMSROOT/objects/smarts/bin/sm_server -d DfmBroker -f "--bootstrap=DFM_bootstrap.conf --privopen=IP:1,UDP:162 --output --name=DFM"

Step 4 Reregister any processes that depend on DfmServer:

#NMSROOT/bin/pdcmd -r DfmFileNotifier -d DfmServer -e NMSROOT/objects/smarts/bin/sm_notify -f "--adapter=filelog --output=sm_file_notifier"

#NMSROOT/bin/pdcmd -r DfmMailNotifier -d DfmServer -e NMSROOT/objects/smarts/bin/sm_notify -f "--adapter=mail --output=sm_mail_notifier"

#NMSROOT/bin/pdcmd -r DfmTrapNotifier -d DfmServer -e NMSROOT/objects/smarts/bin/sm_notify -f "--adapter=trap --output=sm_trap_notifier"

If you also want DFM to accept only specific client connections, you must specify the --accept option when registering the DfmServer process (you do not have to do this for the adapter processes). The following example registers the DfmServer process to use UDP port 162 and IP protocol 1, and specifies that DFM can accept connections from hostnames lucy and ethel:

#NMSROOT/bin/pdcmd -r DfmServer -e NMSROOT/objects/smarts/bin/sm_server -d DfmBroker -f

"--bootstrap=DFM_bootstrap.conf --accept=lucy,ethel --privopen=IP:1,UDP:162 --output --name=DFM"

 

 

User Guide for Device Fault Manager

 

 

 

 

 

 

OL-11390-01

 

 

11-19

 

 

 

 

 

Image 19
Contents 11-1 File Ownership and Protection11-2 Secure Socket Layer SSLSNMPv3 Working with Firewalls11-3 NMSROOT/objects/smarts/bin/smserver --helpRegistering Additional DFM Servers with the LMS Portal Configuring Users ACS and Non-ACS11-4 11-5 Configuring Users Using CiscoWorks Local Mode11-6 Using DFM in ACS ModeField Description Usage Notes Creating Self-Signed Security Certificates Yearly11-7 11-8 Backing Up and Restoring DFM Data11-9 Changing the Password for DFM DatabasesOption Description Usage Notes Before You Begin11-10 Configuring LoggingLog Files Size KB Folder Maximum Backup Function/ModuleViewing and Maintaining Log Files No.11-12 DPSName Description Dependency Starting and Stopping DFM Processes11-13 11-14 11-15 Registering and Unregistering DFM Processes11-16 Option Description and Arguments11-17 Arguments11-18 Example 1 Specifying Clients that Can Connect to DFM11-19 Reregister any processes that depend on DfmServer11-20