2. Create a Solaris script to start, stop, and restart PMS, as follows:
#!/sbin/sh
# Start/stop/restart processes required for PMS
case "$1" in
'start')
/opt/SUNWnetract/mgmt3.0/bin/pmsd start -e force_avail
;;
'stop')
/opt/SUNWnetract/mgmt3.0/bin/pmsd stop
;;
'restart')
/opt/SUNWnetract/mgmt3.0/bin/pmsd stop
/opt/SUNWnetract/mgmt3.0/bin/pmsd start -e force_avail
;;
*)
echo "Usage: $0 {start | stop | restart }"
exit 1
;;
esac
exit 0
3. Save the script to a file.
4. Start, stop, or restart the PMS application by typing one of the following:
filename start
I
filename stop
I
filename restart
I
where filename is the name of the file in which you saved the script.
You can also save this script in the /etc/rc* directory of your choice to have PMS
automatically start at boot time.
Stopping and Restarting the PMS Daemon on the
Distributed Management Card
The PMS daemon (pmsd) starts automatically on the distributed management card.
However, you can manually stop and restart the PMS daemon on the distributed
management card, specifying these optional parameters:
The port number pmsd listens on for servicing clients (default is port 10300).
I
Chapter 2 Configuring Your System
31