Customer Service Center
Home
Knowledge Base
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: SOL14217
Printer Friendly
Email Article Link
VisionWorks Classic T&D and PM: How to restart applications in a Failover environment without failing over.
Objective/Summary
This article provides steps that should be followed if need to stop and start the VW Classic applications in a failover enviroment without causing a failover.
Environment/Versions
VisionWorks Classic: All versions
Procedure
All steps are done as smartsys user. If receive a password prompt, press return to continue.
To Stop Applications:
1)
Logon to the Standby Server as smartsys.
2) cd $METRO_HOME/scripts
3) stopAllMetro
wait for processes to stop.
4)
Logon to the Active Server as smartsys.
5) cd $METRO_HOME/scripts
6) addRemoveFailoverToCron.ksh $METRO_HOME ACTIVE REMOVE
7) ps -ef | grep Failover.py
8) kill pidOfFailover.py
where pidOfFailover.py is the pid of the Failover.py process from step 7.
If PM is installed, stop it:
9)
Logon to the active PM server as smartsys.
10) cd /spirent/metro/escout
11) ./stop -full
wait for processes to stop.
Stop T&D:
12)
On the Active T&D server.
13) cd $METRO_HOME/scripts
13) stopAllMetro
If SpirentWebPM is installed
14) cd /spirent/CenterOpGateway/SpirentWebPM/
15) ./stop
To start applications:
1)
Logon to the Active Server as smartsys.
2) cd $METRO_HOME/scripts
3) startAllMetro failover
If SpirentWebPM is installed
4) cd /spirent/CenterOpGateway/SpirentWebPM/
5) ./start
If PM is installed, start it:
6)
Logon to the PM server as smartsys.
7) cd /spirent/metro/escout
8) ./start
9)
Logon to the Standby Server as smartsys.
10) cd $METRO_HOME/scripts
11) startAllMetro failover
Notes
Definitions:
Primary server:
Server who has T&D installed in /spirent/metro/<version>/ directory.
Backup server:
Server who has T&D installed in /spirent/metro-backup/<version> directory.
Active server: Server that is currently running the T&D and PM applications. StatusMetro will show "Failover Script is running in ACTIVE mode"
Standby server: Server that is "Standing By" to become active server in case of failover. StatusMetro will show "Failover Script is running in STANDBY mode"
Version
2.0
Publish Date
2020-10-12
Categories
Product : VW Controller PM Classic,VW Controller T&D Classic
Related Articles