Enter cluster name [Cluster]:redhatcluster
Enter IP address for cluster alias [x.x.x.x]: 172.16.1.1
--------------------------------
Information for Cluster Member 0
--------------------------------
Enter name of cluster member [linuxone]: linuxone
Looking for host one (may take a few seconds)...
Enter number of heartbeat channels (minimum = 1) [1]: 1
Information about Channel 0
Channel type: net or serial [net]:
Enter hostname of the cluster member on heartbeat channel 0 \
[linnuxone]: linnuxone
Looking for host linnuxone (may take a few seconds)...
Information about Quorum Partitions
Enter Primary Quorum Partition [/dev/raw/raw1]: /dev/raw/raw1
Enter Shadow Quorum Partition [/dev/raw/raw2]: /dev/raw/raw2
Information About the Power Switch That Power Cycles Member ’ linnuxone’
Choose one of the following power switches:
o NONE
o RPS10
o BAYTECH
o APCSERIAL
o APCMASTER
o WTI_NPS
Power switch [NONE]: NONE
Information for Cluster Member 1
--------------------------------
Enter name of cluster member [linuxtwo]: linuxtwo
Looking for host linuxtwo (may take a few seconds)...
Information about Channel 0
Enter hostname of the cluster member on heartbeat channel 0 \
[linuxtwo]: linuxtwo
Looking for host linuxtwo (may take a few seconds)...
Information about Quorum Partitions
Enter Primary Quorum Partition [/dev/raw/raw1]: /dev/raw/raw1
Enter Shadow Quorum Partition [/dev/raw/raw2]: /dev/raw/raw2
Information About the Power Switch That Power Cycles Member ’ linuxtwo’
Choose one of the following power switches:
o NONE
o RPS10
o BAYTECH
o APCSERIAL
o APCMASTER
o WTI_NPS
Power switch [NONE]: NONE
.
.
.
省略部分输出--------------------
Member 0 Information
--------------------
Name: linuxone
Primary quorum partition: /dev/raw/raw1
Shadow quorum partition: /dev/raw/raw2
Heartbeat channels: 1
Channel type: net, Name: linuxone
Power switch IP address or hostname:linuxone
--------------------
Member 1 Information
--------------------
Name: linuxtwo
Primary quorum partition: /dev/raw/raw1
Shadow quorum partition: /dev/raw/raw2
Heartbeat channels: 1
Channel type: net, Name: linuxtwo
Save the cluster member information? yes/no [yes]:
Writing to configuration file...done
Configuration information has been saved to /etc/cluster.conf.
----------------------------
Setting up Quorum Partitions
----------------------------
Running cludiskutil -I to initialize the quorum partitions: done
Saving configuration information to quorum partitions: done
Do you wish to allow remote monitoring of the cluster? yes/no \
[yes]: yes
----------------------------------------------------------------
Configuration on this member is complete.
To configure the next member, invoke the following command on that system:
# /sbin/cluconfig --init=/dev/raw/raw1
See the manual to complete the cluster installation
3.切换到linuxtwo
#cluconfig --init=/dev/raw/raw1
………显示好多东西。。。直到出现
Press to continue. --按回车继续
………又是好多东西,直到出现
Save the cluster member information? yes/no [yes]: --回车继续
………最后的总结信息
Configuration on this member is complete.
Execute "/sbin/service cluster start" to start the cluster software.