三、安装操作系统 以Sun 480 36G硬盘为例,分区如下: # format Searching for disks...done
AVAILABLE DISK SELECTIONS: 0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c50695b66,0 1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c50695de5,0 Specify disk (enter its number): 0 selecting c1t0d0 [disk formatted] Warning: Current Disk has mounted partitions.
format> p partition> p Current partition table (original): Total disk cylinders available: 24620 + 2 (reserved cylinders)
重起后,使用format命令检查磁盘阵列的配置是否正确。 # format Searching for disks...done
c2t5d0: configured with capacity of 510.00MB c2t5d1: configured with capacity of 254.00MB c2t5d2: configured with capacity of 136.71GB c2t5d3: configured with capacity of 254.00MB c2t5d4: configured with capacity of 66.62GB c3t5d0: configured with capacity of 510.00MB c3t5d1: configured with capacity of 254.00MB c3t5d2: configured with capacity of 136.71GB c3t5d3: configured with capacity of 254.00MB c3t5d4: configured with capacity of 66.62GB
AVAILABLE DISK SELECTIONS: 0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c5069619e,0 1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c50695ef2,0 2. c2t5d0 <SUN-StorEdge3310-0325 cyl 510 alt 2 hd 64 sec 32> /pci@8,700000/pci@3/scsi@4/sd@5,0 3. c2t5d1 <SUN-StorEdge3310-0325 cyl 254 alt 2 hd 64 sec 32> /pci@8,700000/pci@3/scsi@4/sd@5,1 4. c2t5d2 <SUN-StorEdge3310-0325 cyl 35273 alt 2 hd 127 sec 64> /pci@8,700000/pci@3/scsi@4/sd@5,2 5. c2t5d3 <SUN-StorEdge3310-0325 cyl 254 alt 2 hd 64 sec 32> /pci@8,700000/pci@3/scsi@4/sd@5,3 6. c2t5d4 <SUN-StorEdge3310-0325 cyl 34112 alt 2 hd 64 sec 64> /pci@8,700000/pci@3/scsi@4/sd@5,4 7. c3t5d0 <SUN-StorEdge3310-0325 cyl 510 alt 2 hd 64 sec 32> /pci@8,700000/pci@3/scsi@5/sd@5,0 8. c3t5d1 <SUN-StorEdge3310-0325 cyl 254 alt 2 hd 64 sec 32> /pci@8,700000/pci@3/scsi@5/sd@5,1 9. c3t5d2 <SUN-StorEdge3310-0325 cyl 35273 alt 2 hd 127 sec 64> /pci@8,700000/pci@3/scsi@5/sd@5,2 10. c3t5d3 <SUN-StorEdge3310-0325 cyl 254 alt 2 hd 64 sec 32> /pci@8,700000/pci@3/scsi@5/sd@5,3 11. c3t5d4 <SUN-StorEdge3310-0325 cyl 34112 alt 2 hd 64 sec 64> /pci@8,700000/pci@3/scsi@5/sd@5,4 Specify disk (enter its number): 0 selecting c1t0d0 [disk formatted] Warning: Current Disk has mounted partitions.
# cd /opt/suncluster_3_1/SunCluster_3.1/Sol_9/Tools # ./scinstall *** Main Menu ***
Please select from one of the following (*) options:
* 1) Establish a new cluster using this machine as the first node * 2) Add this machine as a node in an established cluster 3) Configure a cluster to be JumpStarted from this install server 4) Add support for new data services to this cluster node 5) Print release information for this cluster node
* ?) Help with menu options * q) Quit
Option:1
*** Establishing a New Cluster ***
This option is used to establish a new cluster using this machine as the first node in that cluster.
Once the cluster framework software is installed, you will be asked for the name of the cluster. Then, sccheck(1M) is run to test this machine for basic Sun Cluster pre-configuration requirements.