To shut down a SunPCi or VNC session without interacting with SunPCi software or VNC directly through vncviewer, use the sunpcidadm command with the -Doption. This marks the session as Disabled in the /etc/Master.ini file, and also requests that the SunPCi daemon perform an orderly shutdown procedure on the session.

To shut down a session on Cardn, use the following command:

#/opt/SUNWspci3/bin/sunpcidadm -D cardn

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 Cardn using the sunpcidadm -ecommand.

To shut down down VNC, use the following command:

#/opt/SUNWspci3/bin/sunpcidadm -D VNC

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 -tor -Toption, or indirectly, by using the -stopoption with the /etc/init.d/sunpci3.server script.

The -tand -Toptions 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 -twaits for all sessions to terminate before returning to the calling shell, whereas the -Toption instructs the daemon to terminate all sessions and return to the calling shell immediately.

Terminating the 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 -startoption, any enabled sessions will be restarted. This is the mechanism that is used to shut down SunPCi sessions during a normal Solaris system shutdown.

126 SunPCi III 3.2.1 User’s Guide • March 2004

Page 168
Image 168
Sun Microsystems 817-3630-11 manual Shutting Down the SunPCi Daemon Process