Switches a thin server to a different COSI.
The swts command switches a thin server to a different Common Operating System Image (COSI). If specified with the -t flag, the thin server switches to a new common image at the time specified by the Time parameter. The value for Time must be a valid cron tab entry. Refer to the crontab command for creating valid cron time entries.
The swts command can be run on either a NIM master or a thin server. When a thin server is switched to a new common image, files in the /inst_root directory for the thin server will be synced with the new common image.
Item | Description |
---|---|
-c Image | Specifies the common image that the thin server switches to. |
-n | Specifies option to allow a thin server to switch to a new common OS image that was setup by the NIM administrator with the -c flag. The user running from the thin server will only need to execute the swts command without any argument to switch the common OS images. |
-t Time | Specifies a cron entry that allows thin servers to be switched over at a more convenient time. |
-v | Enables verbose debug output when the swts command runs. |
Item | Description |
---|---|
0 | The command completed successfully. |
>0 | An error occurred. |
Access Control: You must have root authority to run the swts command.
swts -c cosi2 lobo
The lobo thin
server is re-initialized and cosi2 is its new operating
system.swts -c cosi2 -t "0 0 25 12 0" lobo
The lobo thin
server will continue to use the cosi1 common image
until midnight on Sunday, December 25, when it switches to cosi2./usr/sbin/swts
Item | Description |
---|---|
/etc/niminfo | Contains variables used by NIM. |