• SPARC T4 RAID Setup (ZT)


    http://www.confignotes.com/2013/09/sparc-t4-raid-setup/

    How to configure a RAID volume with the internal Hard Drives on Oracle/SUN SPARC T4-1 and T4-2.

    The RAID setup procedure below was tested in SPARC T4-1. This procedure also works on Netra SPARC T4-1 and T4-2.

    1. At the Oracle ILOM prompt, disable auto-boot:

    -> set /HOST/bootmode script=”setenv auto-boot? false” 
    Set ‘script’ to ‘setenv auto-boot? false
    2. Boot the system to OpenBoot PROM ({0} ok Prompt):

    -> start /SYS 
    Are you sure you want to start /SYS (y/n)? y 
    Starting /SYS
    
    -> start /SP/console 
    Are you sure you want to start /SP/console (y/n)? y
    
    Serial console started. To stop, type #. 
    … 
    auto-boot? = false 
    {0} ok
    3. View the preconfigured aliases:

    {0} ok devalias
    
    …..
    
    scsi0 should be the alias for /pci@400/pci@1/pci@0/pci@4/scsi@0 
    and 
    scsi1 should be the alias for /pci@400/pci@2/pci@0/pci@4/scsi@0
    
    ……

    4. Select scsi0 (HDD attached to SCSI0):

    {0} ok select scsi0
    
    Note: To Unselect a device: 
    {0} ok unselect-dev

    5. View HDDs attached to scsi0:

    {0} ok show-children
    
    FCode Version 1.00.61, MPT Version 2.00, Firmware Version 9.00.00.00
    
    Target 9 
    Unit 0 Disk HITACHI H109030SESUN300G A31A 585937500 Blocks, 300 GB 
    SASDeviceName ….. PhyNum 0 
    Target a 
    Unit 0 Disk HITACHI H109030SESUN300G A31A 585937500 Blocks, 300 GB 
    SASDeviceName ….. PhyNum 1

    6. Create RAID 1, Mirror RAID for example:

    {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] RAID1Demo 
    Volume has been created

    7. Verify new RAID1 Volume:

    {0} ok show-volumes 
    Volume 0 Target 381 Type RAID1 (Mirroring) 
    Name RAID1Demo WWID 0c88478f6c67b46b 
    Optimal Enabled Volume Not Consistent Background Init In Progress 
    2 Members 583983104 Blocks, 298 GB 
    Disk 0 
    Primary Optimal 
    Target 9 HITACHI H109030SESUN300G A31A PhyNum 0 
    Disk 1 
    Secondary Optimal 
    Target a HITACHI H109030SESUN300G A31A PhyNum 1

    FCode Commands:

    show-children Lists all connected physical drives and logical volumes. 
    show-volumes Lists all connected logical volumes in detail. 
    create-raid0-volume Creates a RAID 0 volume (minimum two targets). 
    create-raid1-volume Creates a RAID 1 volume (exactly two targets). 
    create-raid1e-volume Creates a RAID 1e volume (minimum three targets). 
    delete-volume Deletes a RAID volume. 
    activate-volume Re-activate a RAID volume after the motherboard has been replaced.
    
    Usage Example: 0 delete-volume, where 0 is volume 0

  • 相关阅读:
    grub损坏修复方法
    基本命令(一)
    python 及 ipython 源码安装
    Samba服务安装配置
    shell语法一
    cacti监控软件
    Telnet服务安装及配置
    LVM逻辑卷,RAID磁盘阵列
    运维笔试题4(转载)
    运维笔试题3(转载)
  • 原文地址:https://www.cnblogs.com/cqubityj/p/3414383.html
Copyright © 2020-2023  润新知