Follow below steps to check for
leftover arcmain processes when we abort a job (best to do this when all jobs
have finished running so you don't kill a job that you want to run) And the procedure
to restart services properly.
Example below is for Tidwprod 2
node linux bar system Primary: RRI1TDBPL1P and Secondry: RRI1TDBPL2P
Proper steps for restarting
services:
a. Stop the TARA
Server services. Once the TARA Server services have stopped, the TARA Client
services should stop automatically.
TARA Server
Stop: /etc/init.d/tdtaraserver
stop
Stop:
/etc/init.d/tdtaraclient stop
b. Verify the TARA
Client services have stopped. If not, stop the TARA Client services for each
configured machine.
TARA Client
Stop:
/etc/init.d/tdtaraclient stop
c. Run the netstat
command and make sure no connections are still set for the port 54323
(default). If there are still listings with status: ESTABLISHED, CLOSE_WAIT,
TIMED_WAIT, etc. wait 5 to 10 minutes to make sure these entries go away.
RRI1TDBPL2P:~ # netstat -pant |
grep 54323
d. Once the tcp
connections have been cleared for TARA, start the TARA Server services. The
TARA Client services may start automatically (within 5 minutes). Otherwise,
start the TARA Client services.
TARA Server
Start: /etc/init.d/tdtaraserver
start
Start: /etc/init.d/tdtaraclient
start
TARA Client
Start: /etc/init.d/tdtaraclient
start
e. Verify the
connections are established between the TARA Server and the TARA Clients by
running the netstat command.
TARA SERVER
RRI1TDBPL1P:~ # netstat -pant |
grep 54323
tcp 0 0 0.0.0.0:54323 0.0.0.0:*
LISTEN 29146/taraserver
tcp 0 0 10.18.33.43:54323
10.18.33.43:40926 ESTABLISHED 29146/taraserver
tcp 0 0 10.18.33.43:54323
10.18.33.45:38522 ESTABLISHED 29146/taraserver
tcp 0 0 10.18.33.43:40926
10.18.33.43:54323 ESTABLISHED 29252/TaraD
tcp 0 0 10.18.33.43:54323
10.18.32.101:4874 ESTABLISHED 29146/taraserver
tcp 0 0 10.18.33.43:54323
10.18.32.101:4960 ESTABLISHED 29146/taraserver
RRI1TDBPL1P: