NetWorker Services verify if running and include stopping and restarting services (both UNIX and Windows)
Summary: NetWorker Services verify if running and include stopping and restarting services (both UNIX and Windows).
Instructions
Windows Operating Systems
1. Open an administrative command prompt on the NetWorker server.
2. Verify which NetWorker packages are installed: wmic product get name, version | findstr NetWorker
3. Verify that NMC services are running (if installed): net start | find /i "EMC"
EMC GST Database Service
EMC GST Service
EMC GST Web Service
4. Verify backup server, and client services are running: net start | find /i "NetWorker"
NetWorker Backup and Recover Server
NetWorker Management Web UI Server
NetWorker Message Queue Adaptor
NetWorker Remote Exec Service
NetWorker Snapshot Management Service
NetWorker WebUI Database
Note: Depending on which services and versions are installed, output may differ. The services can also be checked from the Windows Services console.
To stop the services for NetWorker
Run the following command from an admin command prompt to stop all services: net stop nsrexecd /yOptionally any nsr or save processes can be terminated with taskkill:
taskkill /F /IM save*
Steps Rename Some Directories and/or Files
1. Go to the Windows explorer and open to the directory where networker is installed (default location --> C:\Program Files\EMC NetWorker\).
2. Under the ..\nsr\logs\ directory, rename the daemon.raw. When NetWorker services start a new log is generated automatically.
3. For NMC servers, Under the ..\Management\GST\logs, rename the gstd.raw. When NetWorker services start a new log is generated automatically.
4. Under the ..\nsr\res>, there is a JOBSDB directory - this is not required all the time but if you are having issues with the NMC and not reflecting correctly as in NSRWATCH rename JOBSDB directory.
To start the services for networker
To start NetWorker server and client services run: net start nsrd
To start the NMC gstd service run: net start gstd
To start only the client service run: net start nsrexecd
If system is a NetWorker server the \nsr\logs\daemon.raw reports "open for business" once all services have started and databases checked in. If real-time rendering is enabled there should be a rendered daemon.log file; otherwise, the .raw file can be rendered:
1. Open an administrative command prompt in the ..\nsr\logs\ directory.
2. Render the daemon.raw: nsr_render_log daemon.raw |find /i "open for business"
157127 MM/DD/YYYY HH:MM:SS AM/PM 1 8 0 9452 4100 0 <networker_server> nsrmmdbd MDB notice Media database is open for business This indicates that the server is back in a fully operational state.
UNIX/LINUX Operating Systems
1. Connect to the NetWorker server using SSH or console connection as root.
2. Verify which NetWorker packages are installed: rpm -qa | grep lgto
3. Verify that NetWorker services are running: systemctl status networker
4. Verify that the NMC service is running (if installed): systemctl status gst
To stop the services for networker
1. From a root command prompt, run the following command to stop server and client services: nsr_shutdown2. To stop the NMC services run: systemctl stop gst
3. To verify that no services processes are running, run the ps command:
NMC server processes: ps -ef | grep gst
4. If there are any leftover running processes, they can be stopped by running: kill -9 PID
Steps Rename Some Directories and/or Files
1. To rename the daemon.raw run: mv /nsr/logs/daemon.raw /nsr/logs/daemon_date.raw2. To rename the NetWorker jobsdb run: mv /nsr/res/jobsdb /nsr/res/jobsdb_date
mv /nsr/logs/daemon.raw /nsr/logs/daemon_date.raw
To start the services for networker
To start NetWorker server and client services run: systemctl start networkerTo start the NMC gstd service run: systemctl start gst
If system is a NetWorker server the \nsr\logs\daemon.raw reports "open for business" once all services have started and databases checked in. If real-time rendering is enabled there should be a rendered daemon.log file; otherwise, the .raw file can be rendered:
1. From a root command prompt: cd /nsr/logs/
2. Render the daemon.raw: nsr_render_log daemon.raw |grep -i "open for business"
157127 MM/DD/YYYY HH:MM:SS AM/PM 1 8 0 9452 4100 0 <networker_server> nsrmmdbd MDB notice Media database is open for business This indicates that the server is back in a fully operational state.