Rabu, 27 November 2013

NeatApp FAS2240

Setelah config dengan serial, bias telnet lewat IP sbb :

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.11.26 09:42:10 =~=~=~=~=~=~=~=~=~=~=~=
sntstorage> qtree
qtree: This command is deprecated; using qtree status.
Volume   Tree     Style Oplocks  Status  
-------- -------- ----- -------- ---------
vol0              unix  enabled  normal  
vol_mbx_bod          unix  enabled  normal  
vol_mbx_bod q_mbx_bod unix  enabled  normal  
vol_mbx_common          unix  enabled  normal  
vol_mbx_common q_mbx_common unix  enabled  normal  
vol_log           unix  enabled  normal  
vol_log  q_log    unix  enabled  normal  
vol_journal          unix  enabled  normal  
vol_journal q_journal unix  enabled  normal  
sntstorage> lun create -s 1t -t windows /vol/vol_mbx_bod/q_mbx_bod/mbxbod
lun create: created a LUN of size:    1.0t (1099604782080)
sntstorage> lun create -s 1t -t windows /vol/vol_mbx_common/q_mbx_common/mbxcommon
lun create: created a LUN of size:    1.0t (1099604782080)
sntstorage> lun create -s 250g -t windows /vol/vol_journal/q_journal/journal
lun create: created a LUN of size:  250.0g (268473139200)
sntstorage> lun create -s 250g -t windows /vol/vol_log/q_log/log
lun create: created a LUN of size:  250.0g (268473139200)
sntstorage> lun show
 /vol/vol_journal/q_journal/journal  250.0g (268473139200)  (r/w, online)
 /vol/vol_log/q_log/log     250.0g (268473139200)  (r/w, online)
 /vol/vol_mbx_bod/q_mbx_bod/mbxbod    1.0t (1099604782080) (r/w, online)
 /vol/vol_mbx_common/q_mbx_common/mbxcommon    1.0t (1099604782080) (r/w, online)
sntstorage> qtree
qtree: This command is deprecated; using qtree status.
Volume   Tree     Style Oplocks  Status  
-------- -------- ----- -------- ---------
vol0              unix  enabled  normal  
vol_mbx_bod          unix  enabled  normal  
vol_mbx_bod q_mbx_bod unix  enabled  normal  
vol_mbx_common          unix  enabled  normal  
vol_mbx_common q_mbx_common unix  enabled  normal  
vol_log           unix  enabled  normal  
vol_log  q_log    unix  enabled  normal  
vol_journal          unix  enabled  normal  
vol_journal q_journal unix  enabled  normal  
sntstorage> vol status
         Volume State           Status            Options
           vol0 online          raid_dp, flex     root
                                64-bit           
    vol_mbx_bod online          raid_dp, flex     nosnap=on, create_ucode=on, convert_ucode=on,
                                64-bit            no_i2p=on, fractional_reserve=0
 vol_mbx_common online          raid_dp, flex     nosnap=on, create_ucode=on, convert_ucode=on,
                                64-bit            no_i2p=on, fractional_reserve=0
        vol_log online          raid_dp, flex     nosnap=on, create_ucode=on, convert_ucode=on,
                                64-bit            no_i2p=on, fractional_reserve=0
    vol_journal online          raid_dp, flex     nosnap=on, create_ucode=on, convert_ucode=on,
                                64-bit            no_i2p=on, fractional_reserve=0
sntstorage> aggr status
           Aggr State           Status            Options
          aggr0 online          raid_dp, aggr     root
                                64-bit           
          aggr1 online          raid_dp, aggr     nosnap=on
                                64-bit           

sntstorage> cf enable
cf: clustering already enabled
sntstorage> fcp start
fcp: No FCP Target Adapters are present in this system.
sntstorage> fcadmin config
                  Local  
Adapter Type      State                  Status
---------------------------------------------------
  1a   initiator  CONFIGURED.            online
  1b   initiator  CONFIGURED.            offline
sntstorage> fcadmin config -t target 1a
A reboot is required for the new adapter configuration to take effect.
sntstorage> fcadmin config -t target 1b
A reboot is required for the new adapter configuration to take effect.
sntstorage> reboot
sntstorage> fcadmin config
                  Local  
Adapter Type      State                  Status
---------------------------------------------------
  1a   target     CONFIGURED             offline
  1b   target     CONFIGURED             offline
sntstorage> fcp start
sntstorage> fcadmin config
                  Local  
Adapter Type      State                  Status
---------------------------------------------------
  1a   target     CONFIGURED             online
  1b   target     CONFIGURED             online
 sntstorage> sysconfig -r
Aggregate aggr0 (online, raid_dp) (block checksums)
  Plex /aggr0/plex0 (online, normal, active, pool0)
    RAID group /aggr0/plex0/rg0 (normal, block checksums)
      RAID Disk Device   HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
      --------- ------   ------------- ---- ---- ---- ----- --------------    --------------
      dparity  0a.00.0  0a    0   0   SA:A   0   SAS 10000 560000/1146880000 572325/1172123568
      parity   0a.00.2  0a    0   2   SA:A   0   SAS 10000 560000/1146880000 572325/1172123568
      data     0a.00.4  0a    0   4   SA:A   0   SAS 10000 560000/1146880000 572325/1172123568
Aggregate aggr1 (online, raid_dp) (block checksums)
  Plex /aggr1/plex0 (online, normal, active, pool0)
    RAID group /aggr1/plex0/rg0 (normal, block checksums)
      RAID Disk Device   HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
      --------- ------   ------------- ---- ---- ---- ----- --------------    --------------
      dparity  0a.00.22 0a    0   22  SA:A   0   SAS 10000 560000/1146880000 572325/1172123568
      parity   0a.00.18 0a    0   18  SA:A   0   SAS 10000 560000/1146880000 572325/1172123568
      data     0a.00.20 0a    0   20  SA:A   0   SAS 10000 560000/1146880000 572325/1172123568
      data     0a.00.6  0a    0   6   SA:A   0   SAS 10000 560000/1146880000 572325/1172123568
      data     0a.00.14 0a    0   14  SA:A   0   SAS 10000 560000/1146880000 572325/1172123568
      data     0a.00.16 0a    0   16  SA:A   0   SAS 10000 560000/1146880000 572325/1172123568
      data     0a.00.10 0a    0   10  SA:A   0   SAS 10000 560000/1146880000 572325/1172123568
      data     0a.00.12 0a    0   12  SA:A   0   SAS 10000 560000/1146880000 572325/1172123568

Pool1 spare disks (empty)
Pool0 spare disks
RAID Disk Device   HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
--------- ------   ------------- ---- ---- ---- ----- --------------    --------------
Spare disks for block checksum
spare    0a.00.8  0a    0   8   SA:A   0   SAS 10000 560000/1146880000 572325/1172123568
Partner disks
RAID Disk Device   HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
--------- ------   ------------- ---- ---- ---- ----- --------------    --------------
partner  0a.00.15 0a    0   15  SA:A   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.23 0a    0   23  SA:A   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.21 0a    0   21  SA:A   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.19 0a    0   19  SA:A   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.17 0a    0   17  SA:A   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.13 0a    0   13  SA:A   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.11 0a    0   11  SA:A   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.9  0a    0   9   SA:A   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.7  0a    0   7   SA:A   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.5  0a    0   5   SA:A   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.3  0a    0   3   SA:A   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.1  0a    0   1   SA:A   0   SAS 10000 0/0               572325/1172123568

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.11.26 09:51:00 =~=~=~=~=~=~=~=~=~=~=~=
login as: root
root@172.16.32.59's password:
sntstorage2> qtree create /vol/vol_mbx_bod/q_mbx_bod  
sntstorage2> qtree create /vol/vol_mbx_common/q_mbx_common 
sntstorage2> qtree create /vol/vol_log/q_log 
sntstorage2> qtree create /vol/vol_journal/q_journal
sntstorage2> qtree
qtree: This command is deprecated; using qtree status.
Volume   Tree     Style Oplocks  Status  
-------- -------- ----- -------- ---------
vol0              unix  enabled  normal  
vol_mbx_bod          unix  enabled  normal  
vol_mbx_bod q_mbx_bod unix  enabled  normal  
vol_mbx_common          unix  enabled  normal  
vol_mbx_common q_mbx_common unix  enabled  normal  
vol_log           unix  enabled  normal  
vol_log  q_log    unix  enabled  normal  
vol_journal          unix  enabled  normal  
vol_journal q_journal unix  enabled  normal  

sntstorage2> lun create -s 1t -t windows /vol/vol_mbx_common/q_common/mbxcommon
lun create: created a LUN of size:    1.0t (1099604782080)
sntstorage2> lun create -s 250g -t windows /vol/vol_log/q_log/log
lun create: created a LUN of size:  250.0g (268473139200)
sntstorage2> lun create -s 250g -t windows /vol/vol_journal/q_journal/journal
lun create: created a LUN of size:  250.0g (268473139200)


sntstorage2> sysconfig -r
Aggregate aggr1 (online, raid_dp) (block checksums)
  Plex /aggr1/plex0 (online, normal, active, pool0)
    RAID group /aggr1/plex0/rg0 (normal, block checksums)
      RAID Disk Device   HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
      --------- ------   ------------- ---- ---- ---- ----- --------------    --------------
      dparity  0a.00.9  0a    0   9   SA:B   0   SAS 10000 560000/1146880000 572325/1172123568
      parity   0a.00.17 0a    0   17  SA:B   0   SAS 10000 560000/1146880000 572325/1172123568
      data     0a.00.23 0a    0   23  SA:B   0   SAS 10000 560000/1146880000 572325/1172123568
      data     0a.00.11 0a    0   11  SA:B   0   SAS 10000 560000/1146880000 572325/1172123568
      data     0a.00.13 0a    0   13  SA:B   0   SAS 10000 560000/1146880000 572325/1172123568
      data     0a.00.15 0a    0   15  SA:B   0   SAS 10000 560000/1146880000 572325/1172123568
      data     0a.00.7  0a    0   7   SA:B   0   SAS 10000 560000/1146880000 572325/1172123568
      data     0a.00.21 0a    0   21  SA:B   0   SAS 10000 560000/1146880000 572325/1172123568
Aggregate aggr0 (online, raid_dp) (block checksums)
  Plex /aggr0/plex0 (online, normal, active, pool0)
    RAID group /aggr0/plex0/rg0 (normal, block checksums)
      RAID Disk Device   HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
      --------- ------   ------------- ---- ---- ---- ----- --------------    --------------
      dparity  0a.00.1  0a    0   1   SA:B   0   SAS 10000 560000/1146880000 572325/1172123568
      parity   0a.00.3  0a    0   3   SA:B   0   SAS 10000 560000/1146880000 572325/1172123568
      data     0a.00.5  0a    0   5   SA:B   0   SAS 10000 560000/1146880000 572325/1172123568

Pool1 spare disks (empty)
Pool0 spare disks
RAID Disk Device   HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
--------- ------   ------------- ---- ---- ---- ----- --------------    --------------
Spare disks for block checksum
spare    0a.00.19 0a    0   19  SA:B   0   SAS 10000 560000/1146880000 572325/1172123568
Partner disks
RAID Disk Device   HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
--------- ------   ------------- ---- ---- ---- ----- --------------    --------------
partner  0a.00.2  0a    0   2   SA:B   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.0  0a    0   0   SA:B   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.10 0a    0   10  SA:B   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.12 0a    0   12  SA:B   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.14 0a    0   14  SA:B   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.22 0a    0   22  SA:B   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.16 0a    0   16  SA:B   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.4  0a    0   4   SA:B   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.6  0a    0   6   SA:B   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.20 0a    0   20  SA:B   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.18 0a    0   18  SA:B   0   SAS 10000 0/0               572325/1172123568
partner  0a.00.8  0a    0   8   SA:B   0   SAS 10000 0/0               572325/1172123568

sntstorage2> sysconfig -a
 NetApp Release 8.1.2 7-Mode: Tue Oct 30 19:56:51 PDT 2012
 System ID: 1234567890 (XXXXXXX); partner ID: 10987654321 (YYYYYYY)
 System Serial Number: 940000496899 (sntstorage2)
 System Rev: D1
 System Storage Configuration: Single-Path HA
 System ACP Connectivity: Partial Connectivity
 slot 0: System Board 1.7 GHz (System Board XIX D1)
                Model Name:         FAS2240-2
                Part Number:        111-00846
                Revision:           D1
                Serial Number:      *********
                BIOS version:       8.1.0
                Loader version:     4.1
                Processors:         4
                Processor ID:       0x106e4
                Microcode Version:  0xffff0002
                Processor type:     Intel(R) Xeon(R) CPU           C3528  @ 1.73GHz
                Memory Size:        6144 MB
                Memory Attributes:  Hoisting
                                    Normal ECC
                NVMEM Size:         768 MB of Main Memory Used
                CMOS RAM Status:    OK
                Controller:         B
 Service Processor           Status: Online
  Firmware Version:   2.1.2
  Mgmt MAC Address:   00:A0:98:3F:F7:7A
  Ethernet Link:      up, 100Mb, full duplex, auto-neg complete
  Using DHCP:         no
 IPv4 configuration:
  IP Address:         192.168.1.115
  Netmask:            255.255.255.0
  Gateway:            192.168.1.1
 IPv6 configuration:         Disabled
 slot 0: Internal 10/100 Ethernet Controller
  e0M MAC Address:    00:a0:98:3f:f7:79 (auto-100tx-fd-up)
  e0P MAC Address:    00:a0:98:3f:f7:78 (auto-100tx-fd-up)
  Device Type:        Rev 0
                        memory mapped I/O base 0x00000000dfa00000, size 0x20000
                        I/O base 0x0000000000003000, size 0x20
                        memory mapped I/O base 0x00000000dfa20000, size 0x4000
                        memory mapped I/O base 0x00000000dfb20000, size 0x20000
                        I/O base 0x0000000000004000, size 0x20
                        memory mapped I/O base 0x00000000dfb00000, size 0x4000
 slot 0: Quad Gigabit Ethernet Controller 82580
  e0a MAC Address:    00:a0:98:3f:f7:74 (auto-unknown-down)
  e0b MAC Address:    00:a0:98:3f:f7:75 (auto-unknown-down)
  e0c MAC Address:    00:a0:98:3f:f7:76 (auto-unknown-down)
  e0d MAC Address:    00:a0:98:3f:f7:77 (auto-unknown-down)
  Device Type: 150E
                        memory mapped I/O base 0x00000000df700000, size 0x80000
                        I/O base 0x0000000000002040, size 0x20
                        memory mapped I/O base 0x00000000df808000, size 0x4000
                        memory mapped I/O base 0x00000000df780000, size 0x80000
                        I/O base 0x0000000000002060, size 0x20
                        memory mapped I/O base 0x00000000df80c000, size 0x4000
                        memory mapped I/O base 0x00000000df600000, size 0x80000
                        I/O base 0x0000000000002000, size 0x20
                        memory mapped I/O base 0x00000000df800000, size 0x4000
                        memory mapped I/O base 0x00000000df680000, size 0x80000
                        I/O base 0x0000000000002020, size 0x20
                        memory mapped I/O base 0x00000000df804000, size 0x4000
 slot 0: Interconnect HBA:   Mellanox IB MT25204
  GUID: 0x100000a0983ff774 LID: 0x5 Remote LID: 0x4
  Firmware rev:  1.0.800
  Hardware rev:  160
  Command rev:  1
  Cluster Interconnect Port: 4x
                        memory mapped I/O base 0xdf400000, size 0x100000
                        prefetchable memory base 0xde800000, size 0x800000
 slot 0: SAS Host Adapter 0a (PMC-Sierra PM8001 rev. C, SAS, <UP>)
  Firmware rev:       01.11.00.00
  Base WWN:           5:00a098:0018d42:70
  Phy State:          [0] Enabled, 6.0 Gb/s
                      [1] Enabled, 6.0 Gb/s
                      [2] Enabled, 6.0 Gb/s
                      [3] Enabled, 6.0 Gb/s
                00.0 : NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNH9VLAF)
                00.1 : NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNHKTL1F)
                00.2 : NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNHMU1RF)
                00.3 : NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNHL820F)
                00.4 : NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNVYRMMF)
                00.5 : NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNH2SH4F)
                00.6 : NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNVZ2APF)
                00.7 : NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNVUYXPF)
                00.8 : NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNH3EYKF)
                00.9 : NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNH9T51F)
                00.10: NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNVZ28XF)
                00.11: NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNHA9TKF)
                00.12: NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNHMWKDF)
                00.13: NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNHJ23HF)
                00.14: NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNHMUTPF)
                00.15: NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNHMUPRF)
                00.16: NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNH9T08F)
                00.17: NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNH9T0RF)
                00.18: NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNVZ365F)
                00.19: NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNHLL6TF)
                00.20: NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNHA9K8F)
                00.21: NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNHMSP1F)
                00.22: NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNHL7TUF)
                00.23: NETAPP   X422_HCOBE600A10 NA00 560.0GB 520B/sect (KNHAAMZF)
  Shelf   0: IOM6E  Firmware rev. IOM6E A: 0121 IOM6E B: 0121
 slot 0: SAS Host Adapter 0b (PMC-Sierra PM8001 rev. C, SAS, <OFFLINE (hard)>)
  Firmware rev:       01.11.00.00
  Base WWN:           5:00a098:0018d42:74
  Phy State:          [4] Disabled
                      [5] Disabled
                      [6] Disabled
                      [7] Disabled
  QSFP Vendor:        not available
  QSFP Part Number:   not available
  QSFP Type:          not available
  QSFP Serial Number: not available
                        memory mapped I/O base 0xdf530000, size 0x10000
                        memory mapped I/O base 0xdf520000, size 0x10000
                        memory mapped I/O base 0x00000000df510000, size 0x10000
                        memory mapped I/O base 0x00000000df500000, size 0x10000
 slot 0: Intel ICH USB EHCI Adapter u0a (0xdf101000)
  boot0 Micron Technology Real SSD eUSB 2GB, class 0/0, rev 2.00/11.10, addr 2 1936MB 512B/sect (B9F0022700106385)
                        memory-mapped I/O base 0xdf101000, size 0x400
 slot 1: FC Host Adapter 1a (QLogic 2532 rev. 2, N-port, <UP>)
  Board name:        111-00811+A2
  Serial Number:     **********
  Firmware rev:      5.4.130
  Host Port Id:      0x11000
  FC Node Name:      5:00a:098001:b24225
  FC Port Name:      5:00a:098001:b24225
  SFP Vendor:        FINISAR CORP.
  SFP Part Number:   FTLF8528P2BNV
  SFP Serial Number: PNN4G49
  SFP Capabilities:  2, 4 or 8 Gbit
  Link Data Rate:    4 Gbit
  Switch Port:       QLOGIC4Gb:16
                        I/O base 0x00000000ffffff00, size 0x100
                        memory mapped I/O base 0xdf900000, size 0x4000
 slot 1: FC Host Adapter 1b (QLogic 2532 rev. 2, L-port, <OFFLINE (hard)>)
  Board name:        111-00811+A2
  Serial Number:     **********
  Firmware rev:      5.4.130
  Host Loop Id:      0
  FC Node Name:      5:00a:098101:b24225
  FC Port Name:      5:00a:098101:b24225
  SFP Vendor:        FINISAR CORP.
  SFP Part Number:   FTLF8528P2BNV
  SFP Serial Number: PNN4GGL
  SFP Capabilities:  2, 4 or 8 Gbit
  Link Data Rate:    N/A
                        I/O base 0x00000000ffffff00, size 0x100
                        memory mapped I/O base 0xdf904000, size 0x4000

sntstorage2> cf enable
cf: clustering already enabled
sntstorage2> storage show adapter
Slot:            0a
Description:     SAS Host Adapter 0a (PMC-Sierra PM8001 rev. C)
Firmware Rev:    01.11.00.00
Base WWN:        5:00a098:0018d42:70
State:           Enabled
In Use:          Yes
Redundant:       No
Phy State:       [0] Enabled, 6.0Gb/s (10)
                 [1] Enabled, 6.0Gb/s (10)
                 [2] Enabled, 6.0Gb/s (10)
                 [3] Enabled, 6.0Gb/s (10)
Slot:            0b
Description:     SAS Host Adapter 0b (PMC-Sierra PM8001 rev. C)
Firmware Rev:    01.11.00.00
Base WWN:        5:00a098:0018d42:74
State:           Disabled
In Use:          No
Redundant:       Yes
Phy State:       [0] Disabled (1)
                 [1] Disabled (1)
                 [2] Disabled (1)
                 [3] Disabled (1)
Slot:            1a
Description:     Fibre Channel Host Adapter 1a (QLogic 2532 rev. 2)
Firmware Rev:    5.4.130
FC Node Name:    5:00a:098001:b24225
FC Port Name:    5:00a:098001:b24225
FC Packet Size:  2048
Link Data Rate:  4 Gbit
SRAM Parity:     Yes
External GBIC:   No
State:           Enabled
In Use:          No
Redundant:       Yes
Slot:            1b
Description:     Fibre Channel Host Adapter 1b (QLogic 2532 rev. 2)
Firmware Rev:    5.4.130
FC Node Name:    5:00a:098101:b24225
FC Port Name:    5:00a:098101:b24225
FC Packet Size:  2048
Link Data Rate:  N/A
SRAM Parity:     Yes
External GBIC:   No
State:           Disabled
In Use:          No
Redundant:       Yes

sntstorage2> fcadmin config
                  Local  
Adapter Type      State                  Status
---------------------------------------------------
  1a   initiator  CONFIGURED.            online
  1b   initiator  CONFIGURED.            offline

sntstorage2> fcadmin config -d 1a
sntstorage2> fcadmin config -t target 1a
A reboot is required for the new adapter configuration to take effect.
sntstorage2> fcadmin config -d 1b
sntstorage2> fcadmin config -t target 1b
A reboot is required for the new adapter configuration to take effect.
sntstorage2> fcadmin config
                  Local  
Adapter Type      State                  Status
---------------------------------------------------
  1a   initiator  PENDING (target)       offline
  1b   initiator  PENDING (target)       offline
sntstorage2> reboot

sntstorage2> fcadmin config
                  Local  
Adapter Type      State                  Status
---------------------------------------------------
  1a   target     CONFIGURED             offline
  1b   target     CONFIGURED             offline
sntstorage2> fcp status
FCP service is not running.
sntstorage2> fcp start
sntstorage2> fcadmin config
                  Local  
Adapter Type      State                  Status
---------------------------------------------------
  1a   target     CONFIGURED             online
  1b   target     CONFIGURED             online

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.11.26 14:16:44 =~=~=~=~=~=~=~=~=~=~=~=
igroup show -v
sntstorage2> fcp show adapter
Slot:                    1a
Description:             Fibre Channel Target Adapter 1a (QLogic 2532 (2562) rev. 2)
Adapter Type:            Local
Status:                  ONLINE
FC Nodename:             50:0a:09:80:81:b6:ae:de (500a098081b6aede)
FC Portname:             50:0a:09:81:91:b6:ae:de (500a098191b6aede)
Standby:                 No
Slot:                    1b
Description:             Fibre Channel Target Adapter 1b (QLogic 2532 (2562) rev. 2)
Adapter Type:            Local
Status:                  ONLINE
FC Nodename:             50:0a:09:80:81:b6:ae:de (500a098081b6aede)
FC Portname:             50:0a:09:82:91:b6:ae:de (500a098291b6aede)
Standby:                 No
sntstorage2> fcpshow initiators
Initiators connected on adapter 1a:
Portname                  Group
--------                  -----
21:00:00:24:ff:4a:a5:e7  
Initiators connected on adapter 1b:
Portname                  Group
--------                  -----
21:00:00:24:ff:4a:a5:fe  
21:00:00:24:ff:4a:a5:e6  
sntstorage2> fcp show initiators
Initiators connected on adapter 1a:
Portname                  Group
--------                  -----
21:00:00:24:ff:4a:a5:e7  
Initiators connected on adapter 1b:
Portname                  Group
--------                  -----
21:00:00:24:ff:4a:a5:fe  
21:00:00:24:ff:4a:a5:e6 
sntstorage2> igroup create -f -t windows mbx1_hosts 210024ff4aa5e6 21000024ff4aa5e7
sntstorage2> igroup show
    mbx1_hosts (FCP) (ostype: windows):
        21:00:00:24:ff:4a:a5:e6 (logged in on: 1b)
        21:00:00:24:ff:4a:a5:e7 (logged in on: 1a)
sntstorage2> lun show
 /vol/vol_journal/q_journal/journal  250.0g (268473139200)  (r/w, online)
 /vol/vol_log/q_log/log     250.0g (268473139200)  (r/w, online)
 /vol/vol_mbx_bod/q_mbx_bod/mbxbod    1.0t (1099604782080) (r/w, online)
 /vol/vol_mbx_common/q_mbx_common/mbxcommon    1.0t (1099604782080) (r/w, online)

sntstorage2> lun map /vol/vol_journal/q_journal/journal mbx1_hosts 0
sntstorage2> lun map /vol/vol_log/q_log/log mbx1_hosts 1
sntstorage2> lun map /vol/vol_mbx_bod/q_mbx_bod/mbxbod mbx1_hosts 2
sntstorage2> lun map /vol/vol_mbx_common/q_mbx_common/mbxcommon mbx1_hosts 3
sntstorage2> fcp show initiators
Initiators connected on adapter 1a:
Portname                  Group
--------                  -----
21:00:00:24:ff:4a:a5:e7   mbx1_hosts
Initiators connected on adapter 1b:
Portname                  Group
--------                  -----
21:00:00:24:ff:4a:a5:e6   mbx1_hosts
21:00:00:24:ff:4a:a5:fe  
sntstorage2> igroup show
    mbx1_hosts (FCP) (ostype: windows):
        21:00:00:24:ff:4a:a5:e6 (logged in on: 1b)
        21:00:00:24:ff:4a:a5:e7 (logged in on: 1a)


Senin, 18 November 2013

Install DiskSelf NetApp

Kondisi :
- Dual Controller
- Masih ada slot SAS kosong minimal dua (tiap controller)

1. Capture semua config dengan #sysconfig -r & #disk show -n  & #disk show -a
2. Set off untuk auto.assign #options disk.auto_assign off
3.a. Set ID disk self berbeda dr disk self existing
   b. Install SAS kabel (SAS 1a ctlr1 -> Diskself1 atas kiri ; SAS 1a ctrl2 -> Diskself1 bawah kiri
       SAS 2a ctrl1 -> Diskself1 bawah kanan ; SAS 2a ctrl2 -> Diskself atas kanan)
4. Cek status disk #disk show -n
    contoh hasil :
      DISK       OWNER                      POOL   SERIAL NUMBER         HOME 
------------ -------------              -----  -------------         ------------- 
4a.12.22     Not Owned                  NONE   CZX6AT4L           
4a.12.18     Not Owned                  NONE   CZX6AVJL           
4a.12.23     Not Owned                  NONE   CZX6AYWL           
4a.12.13     Not Owned                  NONE   CZX6B1NL           
4a.12.21     Not Owned                  NONE   CZX6AV3L           
4a.12.16     Not Owned                  NONE   CZX5NJNL  

5. Assign disk to Controller #disk assign 4a.12.22
6. Setelah di-assign disk bias dibuat agregat baru atau di-add ke agregat existing

Mount Snapshot for restore file

Here are the commands to run on the Netapp Controller to take any existing snapshot and create a LUN Clone
 
1)      Optional, create a new snap to be used as the basis of the LUN clone
snap create volume snap_name
 
2)      Create the lun clone, in the same volume as existing lun, using existing snap
lun clone create /vol/volume/clone01 -b /vol/volume/lun01 snap_name
 
a.       If you get the following error lun clone create: No space left on device use the following syntax
lun clone create /vol/volume/clone01 -o noreserve -b /vol/volume/lun01 snap_name
 
3)      Mount the clone to the off-host backup server.
lun map /vol/volume/clone01 backup_igroup #
 
backup_igroup = the initiator group associated with the backup server.
# = the LUN ID to mount the LUN as
 
a.       You could use SnapDrive to mount the LUN to the off-host backup server, as an alternative.
4)      On the backup server rescan your drives
5)      Bring the new volume on-line
6)      Perform the backup
7)      Take the volume off-line
8)      Remove the clone from the off-host backup server
lun unmap /vol/volume/clone01 backup_igroup
 
backup_igroup = the initiator group associated with the backup server
 
9)      Remove the clone
lun destroy /vol/volume/clone01