以下範例顯示如何使用 scinstall 和 scstat 指令安裝與確認單一節點叢集。 此範例包括安裝所有修補程式。 請參閱 scinstall(1M) 與 scstat(1M) 線上說明手冊,以取得詳細資訊。
# scinstall -iFo -M patchdir=/var/cluster/patches Checking device to use for global devices file system ... done ** Installing SunCluster 3.1 framework ** ... Installing patches ... done Initializing cluster name to "phys-schost-1" ... done Initializing authentication options ... done Setting the node ID for "phys-schost-1" ... done (id=1) Checking for global devices global file system ... done Updating vfstab ... done Verifying that "cluster" is set for "hosts" in nsswitch.conf ... done Adding the "cluster" switch to "hosts" in nsswitch.conf ... done Verifying that "cluster" is set for "netmasks" in nsswitch.conf ... done Adding the "cluster" switch to "netmasks" in nsswitch.conf ... done Verifying that power management is NOT configured ... done Ensure that the EEPROM parameter "local-mac-address?" is set to "true" ... done Ensure network routing is disabled ... done Please reboot this machine. # reboot # scstat -n -- Cluster Nodes -- Node name Status --------- ------ Cluster node: phys-schost-1 Online # scconf -pv | grep "install mode" Cluster install mode: disabled |