Shutting Down Tuxedo From Outside PATROL
Shutting down Tuxedo is normally done from within the PATROL Console using the Shutdown Domain command from the BEATUX_SYSTEM application class. For more information, see Shutting Down the Tuxedo Domain.
If you must shut down Tuxedo from outside PATROL, you can use the tmshutdown command, followed by the BMC_PATCOL_SHUTDOWN message to shut down the patcol collector.
PATROL for Oracle Tuxedo subscribes to system events generated by the Tuxedo Event Broker. When PATROL receives a shutdown event, it stops the patcol collector, allowing the system to shut down. When you issue the tmshutdown command, the system event is generated that PATROL expects. If PATROL does not receive a shutdown event, patcol restarts itself during the shutdown.
Shutting down a system may trigger alarms and recovery actions. You can prevent this by defining blackout periods as described on Scheduling Blackout Periods.
Define a blackout period that is long enough for you to complete all of the administrative or maintenance tasks that you need to perform and is long enough for the Tuxedo system to reboot. The blackout periods vary depending on the size of your Tuxedo environment. A site with hundreds of servers may need substantially more time for the blackout interval.
To Shutdown Tuxedo and PATCOL from Outside PATROL
Use the following commands. Replace the simple variable with the logical machine ID and adjust the length of the blackout period (in seconds).
tmshutdown -y
tmadmin bcst -m simple -u patcol -c tpsysadm "BMC_PATCOL_SHUTDOWN|180"
In a PeopleSoft environment add the following command:
psadmin -c command -d domain
Where to go from here
To restart the Tuxedo domain, perform the task in Booting the Tuxedo Domain.