以下示例显示如何使用 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 |