Create RAID hardware on Sun Sparc T5-2
In previous article, I described the task list of configuration software raid on Solaris. And here, I brief the task list of configuration hardware raid on Sun Sparc model T.
Ofcoruse, the first step is connection to the server with serial console cable, assume the new server.
Remember:
data bit = 8
baud rate = 9600
Recommend tool: Sercure CRT, Putty.
When you connected, you may have got difficult situation, such as: no password for ILOM, XSCF because of changing from the dealer. Changing the password is very easy as following the Sparc's document.
1. Set boot mode to single mode
-> set /HOST/bootmode script="setenv auto-boot? false"
2. Boot to OS mode:
--> start /HOST/console
3. login in to single mode:
{ok} show-devs {ok} select /pci@300/pci@1/pci@0/pci@2/scsi@0 {0} ok select /pci@300/pci@1/pci@0/pci@2/scsi@0 {0} ok show-children FCode Version 1.00.64, MPT Version 2.00, Firmware Version 14.00.00.00 Target 9 Unit 0 Disk HITACHI H109060SESUN600G A720 1172123568 Blocks, 600 GB SASDeviceName 5000cca07059484c SASAddress 5000cca07059484d PhyNum 0 Target a Unit 0 Disk HITACHI H109060SESUN600G A720 1172123568 Blocks, 600 GB SASDeviceName 5000cca07058c7f8 SASAddress 5000cca07058c7f9 PhyNum 1 Target b Unit 0 Disk HITACHI H109060SESUN600G A720 1172123568 Blocks, 600 GB SASDeviceName 5000cca07058f94c SASAddress 5000cca07058f94d PhyNum 2 Target c Unit 0 Disk HITACHI H109060SESUN600G A720 1172123568 Blocks, 600 GB SASDeviceName 5000cca07058dce0 SASAddress 5000cca07058dce1 PhyNum 3 {0} ok 9 a create-raid1 volume create-raid1 ? {0} ok 0 9 a create-raid1-volume usage is <primary> <secondary> create-raid1-volume {0} ok 9 a create-raid1-volume-primary create-raid1-volume-primary ? {0} ok 9 a create-raid1-volume primary Target 9 size is 1169920000 Blocks, 598 GB Target a size is 1169920000 Blocks, 598 GB The volume can be any size from 1 MB to 571250 MB What size do you want? [571250] Volume size will be 1169920000 Blocks, 598 GB Enter a volume name: [0 to 15 characters] VsgDB Raid1-prim The name is too long, only 15 characters will be used! Volume has been created primary ? {0} ok b c create-raid1-volume secondary Target b size is 1169920000 Blocks, 598 GB Target c size is 1169920000 Blocks, 598 GB The volume can be any size from 1 MB to 571250 MB What size do you want? [571250] Volume size will be 1169920000 Blocks, 598 GB Enter a volume name: [0 to 15 characters] VsgdbR1 Volume has been created secondary ? {0} ok show-children FCode Version 1.00.64, MPT Version 2.00, Firmware Version 14.00.00.00 Target 142 Volume 0 Unit 0 Disk LSI Logical Volume 3000 1169920000 Blocks, 598 GB VolumeDeviceName 37956a23c76e5615 VolumeWWID 07956a23c76e5615 Target 143 Volume 1 Unit 0 Disk LSI Logical Volume 3000 1169920000 Blocks, 598 GB VolumeDeviceName 338409a4cb7ff616 VolumeWWID 038409a4cb7ff616
It's very simple, right?
OK, you will ask me "Why do I choose the right of physical path among many, many lines when show-devs command did the result?".
No need to guess, just choose the only "/pci@xxx/pci@1/pci@0/pci@2/scsi@0" , example. Why? Because, scsi@ is the physical disk alias pointing to the controller's position handle.
In my case, there are 2 physical alias path
/pci@3c0/pci@1/pci@0/pci@2/scsi@0 & /pci@300/pci@1/pci@0/pci@2/scsi@0
Sometimes, we need to refresh the all devices when we do not see by command
{ok} partprobe-scsi
Hope this help
TAT
- trantuananh24hg's blog
- Log in to post comments