What is the proper process for starting/stopping processd in Spectrum
search cancel

What is the proper process for starting/stopping processd in Spectrum

book

Article ID: 194071

calendar_today

Updated On:

Products

Spectrum Network Observability

Issue/Introduction

What is the proper process for starting/stopping processd (Spectrum Process Daemon) in Spectrum

Environment

Release : Any

Resolution

For Windows, you can do either of the following:

Windows Services:

1. Log into the system as the user that owns the Spectrum installation

2. Launch the Windows Services

3. Find the Spectrum Process Daemon service and start/stop

Bash Shell:

1. Log into the system as the user that owns the Spectrum installation

2. Start a bash shell by running "bash -login"

3. cd to the $SPECROOT/lib/SDPM directory and enter the following:

To stop processd:

./processd.exe --stop

To start processd:

./processd.exe --start

To restart processd:

./processd.exe --restart

 

For Linux:

1. Log into the system or su to the root user

2. cd to the $SPECROOT/lib/SDPM directory and enter the following:

To stop processd:

./processd --stop

OR

systemctl stop processd

To start processd:

./processd --start

OR

systemctl start processd

To restart processd:

./processd --restart

processd.pl script also stop the SpectroSERVER and Archive Manager.  Refer to
Starting in Spectrum 10.4.2.1, processd.pl script will now also stop the SpectroSERVER and Archive Manager

Additional Information

Check the content of the $SPECROOT/lib/SDPM/runtime directory. If the runtime folder is empty all child processes managed by processd were successfully shut down.

If not, open each file in the runtime directory to find the hung process. Kill/end the process with highest priority first.

Suppose the AlarmNotifier process is hung. Once you kill/end it, the processd should be able to end the other processes gracefully.

The priority value is found in the $SPECROOT/lib/SDPM/partslist/*.idb files (i.e.: ALARMNOTIFIER.idb)

STARTPRIORITY;30;

 

May 23 19:58:37 Requesting stop of all tickets with a priority of 30
May 23 19:58:37 Stopping - AlarmNotifier,priority 30 

May 23 19:58:37 Stopping - SPECTRUM Archive Manager,priority 30
May 23 19:58:37 Waiting for priority 30 tickets to stop. 

May 23 19:58:43 All tickets with a priority of 30 have been stopped.
May 23 19:58:43 Requesting stop of all tickets with a priority of 20 

May 23 19:58:43 Stopping - NCM Service,priority 20
May 23 19:58:43 Stopping - SpectroSERVER Daemon,priority 20 

May 23 19:58:43 Waiting for priority 20 tickets to stop.
May 23 19:58:46 All tickets with a priority of 20 have been stopped. 

May 23 19:58:46 Requesting stop of all tickets with a priority of 15
May 23 19:58:46 Stopping - SPECTRUM Influx Database Server ,priority 15 

May 23 19:58:46 Stopping - Location Service,priority 15
May 23 19:58:46 Waiting for priority 15 tickets to stop.

May 23 19:58:47 All tickets with a priority of 15 have been stopped.
May 23 19:58:47 Requesting stop of all tickets with a priority of 10 

May 23 19:58:47 Stopping - SPECTRUM MYSQL Database Server,priority 10
May 23 19:58:47 Stopping - Visibroker Naming Service,priority 10 
May 23 19:58:47 Stopping - TELNET Relay Daemon,priority 10 
May 23 19:58:47 Stopping - Tomcat,priority 10
May 23 19:58:47 Stopping - WebTomcat,priority 10

May 23 19:58:49 Waiting for priority 10 tickets to stop.
May 23 19:58:52 All tickets with a priority of 10 have been stopped. 

May 23 19:58:52 All child processes have stopped.