126 SunPCi III 3.2.1 Users Guide March 2004
Toshut down a SunPCi or VNC session without interacting with SunPCi software or
VNC directly through vncviewer,use the sunpcidadm command with the -D
option. This marks the session as Disabled in the /etc/Master.ini file, and also
requests that the SunPCi daemon perform an orderly shutdown procedureon the
session.
Toshut down a session on Cardn, use the following command:
Note that this disables AutoStart on Cardn, so to restart the session on Cardn,or
have it booted automatically on the next reboot, you must reenable Cardnusingthe
sunpcidadm -e command.
Toshut down down VNC, use the following command:
If you shut down VNC in this manner,all current SunPCi sessions are also shut
down in an orderly manner.
Shutting Down the SunPCi Daemon Process
If it is necessary to shut down the SunPCi daemon process (for example, to upgrade
the SunPCi software to a new release), either use the sunpcidadm command
directly,with the -t or -T option, or indirectly, by using the -stop option with the
/etc/init.d/sunpci3.server script.
The -t and -T options to the sunpcidadm command instruct the SunPCi daemon
process to perform orderly shutdowns on all running SunPCi sessions, and then
terminates.The difference between the two options is that -t waits for all sessions to
terminate before returning to the calling shell, whereasthe -T option instructs the
daemon to terminate all sessions and return to the calling shell immediately.
Terminatingthe SunPCi daemon process does not modify the Boot@Boot
configuration information in the /etc/Master.ini file. If you restart the SunPCi
daemon by using the sunpcidadm command with no options and put it in the
background, or by invoking the /etc/init.d/sunpci3.server script with the
-start option, any enabled sessions will be restarted. This is the mechanism that is
used to shut down SunPCi sessions during a normal Solaris system shutdown.
#/opt/SUNWspci3/bin/sunpcidadm -D cardn
#/opt/SUNWspci3/bin/sunpcidadm -D VNC