下列範例顯示將兩個節點的叢集從 Sun Cluster 2.2 升級至 Sun Cluster 3.0 5/02 軟體的開始程序。叢集節點名稱是 phys-schost-1 (第一個安裝的節點),以及 phys-schost-2 (加入 phys-schost-1 所建立的叢集)。 容體管理者是 Solstice DiskSuite,且兩個節點都是用來做為磁碟組 schost-1 的仲裁者主機。
(Install the latest Solstice DiskSuite mediator package on each node) # cd /cdrom/suncluster_3_0_u3/SunCluster_3.0/Packages # pkgadd -d . SUNWmdm (Restore the mediator) # metaset -s schost-1 -t # metaset -s schost-1 -a -m phys-schost-1 phys-schost-2 (Shut down the rpc.pmfd daemon) # /etc/init.d/initpmf stop (Begin upgrade on the first node and reboot it) phys-schost-1# cd /cdrom/suncluster_3_0_u3/SunCluster_3.0/Tools phys-schost-1# ./scinstall -u begin -F phys-schost-1# shutdown -g0 -y -i6 (Begin upgrade on the second node and reboot it) phys-schost-2# cd /cdrom/suncluster_3_0_u3/SunCluster_3.0/Tools phys-schost-2# ./scinstall -u begin -N phys-schost-1 phys-schost-2# shutdown -g0 -y -i6 (Verify cluster membership) # scstat (Choose a shared disk and configure it as the quorum device) # scdidadm -L # scsetup Select Quorum>Add a quorum disk (Verify that the quorum device is configured) # scstat -q (Verify that the cluster is no longer in install mode) % scconf -p | grep 'Cluster install mode:' Cluster install mode: disabled |