04-22-2009 12:56 AM
I've tried to find a solution in this forum, but unfortunatly nothing found.
I'd like make batch pre and post backup job to stop / start manualy some service.
Here's the service i'd like to stop
F:\PROGRA~1\CSCOpx\objects\db\win32\dbsrv9.exe -hvRMEDbEngine
F:\PROGRA~1\CSCOpx\objects\db\win32\dbsrv9.exe -hvANIDbEngine
F:\PROGRA~1\CSCOpx\objects\db\win32\dbsrv9.exe -hvOpsxmlDbEngine
F:\PROGRA~1\CSCOpx\objects\db\win32\dbsrv9.exe -hvCmfDbEngine
F:\PROGRA~1\CSCOpx\objects\db\win32\dbsrv9.exe -hvEPMDbEngine
F:\PROGRA~1\CSCOpx\objects\db\win32\dbsrv9.exe -hvFHDbEngine
F:\PROGRA~1\CSCOpx\objects\db\win32\dbsrv9.exe -hvINVDbEngine
F:\PROGRA~1\CSCOpx\objects\db\win32\dbsrv9.exe -hvIpmDbEngine
but that's doesn't work in the net stop command.
i've error " bad syntax command "
I've try :
net stop F:\PROGRA~1\CSCOpx\objects\db\win32\dbsrv9.exe -hvIpmDbEngine
net stop "F:\PROGRA~1\CSCOpx\objects\db\win32\dbsrv9.exe" -hvIpmDbEngine
net stop " F:\PROGRA~1\CSCOpx\objects\db\win32\dbsrv9.exe -hvIpmDbEngine "
net stop dbserv9.exe
net stop dbsrv9.exe -hvIpmDbEngine
Is there any solution to fix it ?
04-22-2009 04:00 AM
Cisco uses a daemon manager to manage the various services as a whole. See the Common Services User Guide (http://www.cisco.com/en/US/products/sw/cscowork/ps3996/products_user_guide_list.html), Chapter 4. To wit:
"The Daemon Manager provides the following services:
⢠Maintains the startup dependencies among processes.
⢠Starts and stops processes based on their dependency relationships.
⢠Restarts processes if an abnormal termination is detected.
⢠Monitors the status of processes.
The Daemon Manager is useful to applications that have long-running processes that must be monitored
and restarted, if necessary. It is also used to start processes in a dependency sequence, and to start
transient jobs."
...
"To restart Daemon Manager on Windows:
Step 1 Go to the command prompt.
Step 2 Enter net stop crmdmgtd to stop the Daemon Manager.
Step 3 Enter net start crmdmgtd to start the Daemon Manager."
Stopping and restarting services manually is not a generally a supported/recommended approach.
04-22-2009 08:49 AM
To stop a single process on a CLI basis you use:
pdterm
pdterm RMEDbEngine
to start a single process use:
pdexec
pdexec FHDbEngine
and to view the status of a single process:
pdshow
pdshow OpsxmlDbEngine
NOTE: Processes are caption sensible !!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide