Cisco Systems 4.1 Dust Collector User Manual


 
C-3
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Appendix C RME Command Reference
pdreg Registers and unregisters applications with CRM Process Manager.
NMSROOT/bin/pdreg [-r appName -e pgm [-f pgmFlags ] [-d dependencies ] [-n]
[-t 0|p|n ] ]|[-u
appName ]|[-l appName ]
To register a process and invoke it without the -n or -t option.
pdreg -r appName
appName must be 25 alphanumeric characters or less.
To unregister a process and shut it down if the process is running.
pdreg -u appName
To list the registry for a particular daemon.
pdreg -l appName
pdrun.pl A wrapper to run a command-line instruction within the CiscoWorks environment.
The command line instruction to be run needs to be double quoted as the argument. If the
command-line instruction itself contains double quotes, precede it with a back slash.
To run a command line instruction within the CiscoWorks environment:
NMSROOT/bin/perl pdrun “pdshow \“ANIServer jrm\””
removeJrmJobs.pl Removes all the existing JRM jobs from cmf database. This is used in remote upgrade from
RME 3.5.x and RME 3.4.x.
NMSROOT/rigel/scripts/rme/removeJrmJobs.pl
restorebackup.pl Restores an earlier backup of the database.
NMSROOT/bin/perl NMSROOT/bin/restorebackup.pl
[-d BackupDirectory] [-gen GenerationNumber] [-t TempDirectory] [-help]
Where:
NMSROOT is the CiscoWorks installation directory
[-d BackupDirectory] Directory where RME 3.4 or RME 3.5 backup data is available. This
is mandatory.
[-gen GenerationNumber] Version to be migrated to RME 4.1. By default, it will restore
the latest backup data. If generations 1 through 5 exist, then 5 will be the latest. This is
optional.
[-t TempDirectory] Temporary directory used by restore framework to extract the content
of backup archive. By default the temporary directory is created under NMSROOT as
NMROOT/tempBackupData.
You can customize this, by using this -t option, where you can specify your own temp
directory. This is to avoid overloading NMSROOT. This will be deleted after the data
restoration is complete. This is optional.
[-help] Provides help. When used with -d Backup Directory syntax, shows correct syntax
along with available suites and generations.
uninstall.sh Uninstallation program that removes files and settings. Uninstallation allows you to remove
only RME or remove CiscoWorks CD One as well. To remove CD One, you must remove RME
as well. Before removing RME, you must first remove any applications that depend on RME.
NMSROOT/bin/uninstall.sh
Command Description