Sun T3-1 and T3-2 - Configure Boot RAID

Use this procedure for creating boot disk on a RAID-1 (mirrored) volume for T3-1 and T3-2 servers. 

Prerequisite:   As of this writing the NCSU T3 configurations have just two disks (for T3-1 and T3-2 server types).  These are commonly referred as HDD disks.  The HDD disks are installed into disk bays HDD0 and HDD1 (0 and 1 slots). 

Note:  This procedure is performed from OBP level.

Procedure:

1) First find the right controller.  You can use the built in device alias.   Tip:  Use 'devalias' to show the devices to find the scsi controllers:

{0} ok> devalias
  disk7                    /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p3
  disk6                    /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p2
  disk5                    /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p1
  disk4                    /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p0
  cdrom                    /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p6
  scsi1                    /pci@400/pci@2/pci@0/pci@4/scsi@0
  disk3                    /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@p3
  disk2                    /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@p2
  disk1                    /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@p1
  disk0                    /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@p0
  disk                     /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@p0
  scsi0                    /pci@400/pci@1/pci@0/pci@4/scsi@0

2) Note if the drives are not in HDD0 and HDD1 slots you may have to choose the other scsi1 controller.   Physically check your drive configuration.  Recommendation:  Ensure HDD's placed in slot 0 and 1 before setting up RAID.  Click here for T3-1 HDD drive configuration schematic.

You must first use the 'select' command to tag the controller to be worked.  Example below uses the shortcut alias named 'scsi0' to reference the device path shown in (1) above. 

{0} ok> select scsi0

3) Once selected, then following command will show the controller's child devices:

{0} ok> show-children

  FCode Version 1.00.54, MPT Version 2.00, Firmware Version 5.00.17.00

  Target 9
    Unit 0   Disk   HITACHI  H103030SCSUN300G A2A8    585937500 Blocks, 300 GB
    SASDeviceName 5000cca015215698  SASAddress 5000cca015215699  PhyNum 0
  Target a
    Unit 0   Disk   HITACHI  H103030SCSUN300G A2A8    585937500 Blocks, 300 GB
    SASDeviceName 5000cca015216608  SASAddress 5000cca015216609  PhyNum 1

4) If the disk devices appear like above then ok to create the raid volume.  To make mirror boot drive, create as raid 1 device.  Note if both disks do not show like in (3) above then go back to (2) above and try select scsi1.  If still trouble then HDD's may be in incompatible slots. 

  To create raid 1 volume:

{0} ok> 9 a create-raid1-volume
  Target 9 size is 583983104 Blocks, 298 GB
   Target a size is 583983104 Blocks, 298 GB
   The volume can be any size from 1 MB to 285148 MB

What size do you want?  [285148]
   Volume size will be 583983104 Blocks, 298 GB
   Enter a volume name:  [0 to 15 characters] raidvol0
   Volume has been created

5) Re-show the children.  Should see a single raid volume:

{0} ok> show-children

FCode Version 1.00.54, MPT Version 2.00, Firmware Version 5.00.17.00

Target 389 Volume 0
  Unit 0   Disk   LSI      Logical Volume   3000    583983104 Blocks, 298 GB
  VolumeDeviceName 30c25ab5985d6551  VolumeWWID 00c25ab5985d6551

Reset machine prior to jumping:

ok> reset-all

  Tip: Send a break to get back to ok> prompt
           o From digi console, can send a break via CTRL-p and select 'b'.
           o From ILOM console, can send a break via:   set /HOST send_break_action=break

6) Now it's ok to boot install the O/S as normal:

{0} ok boot net:dhcp - install

 

Syndicate

Syndicate content