vmax commands

10
C:\>symcfg list -sid 87 -connection Symmetrix ID: 000194901287 Symmetrix Host ------------- ----------------------------------------------------------- Director Port Node Name IP Address HW Type OS Name OS Revision -------- ---- ------------- --------------- -------- -------- ----------- UN-1A 0 HK194901287 0.0.0.1 i686 WinNT-SP 5.1.2600 FA-7E 0 sbc-win1 192.168.208.10 i686 WinNT 5.2.3790 FA-8E 0 sbc-win1 192.168.208.10 i686 WinNT 5.2.3790 C:\>symaccess list HBA Identifier Physical Device Path Symmetrix ID Dir:P ---------------- -------------------------------- ------------ ----- 2100001b320802a2 \\.\PHYSICALDRIVE1 000194901287 07E:0 2101001b322802a2 \\.\PHYSICALDRIVE2 000194901287 08E:0 symaccess list -sid 87 -list logins -dir 7e -p 0 C:\>symdisk list -sid 87 -dskgrp_summary Symmetrix ID: 000194901287 Disk Group Disk Capacity ---------------------- ----------------------- -------------------------------- Speed Size Total Free Actual Num Name Cnt Tech (RPM) (MB) (MB) (MB) (MB) ---------------------- ----------------------- -------------------------------- 1 DISK_GROUP_001 21 FC 15000 279140 5861947 5686712 5861947 2 DISK_GROUP_002 21 FC 10000 279140 5861947 5677468 5861947 4 DISK_GROUP_004 14 SATA 7200 1823565 25529904 25406484 25529904 ---------- ---------- ---------- Total 37253797 36770664 37253797 Legend: (Tech)nology : SATA = SATA, FC = Fibre Channel, EFD = Enterprise Flash Drive create dev count=4, size=10000,config=RAID-6, disk_group=DISK_GROUP_001, data_me mber_count=6, emulation=fba; create dev count=4, size=5000,config=2-Way-BCV-Mir, disk_group=DISK_GROUP_001, e mulation=fba; symaccess list -sid 87 -type initiator -wwn 2100001b320802a2 symaccess list -sid 87 -type initiator -wwn 2101001b322802a2 00BD Not Visible ???:? 08C:C1 RAID-6 N/Grp'd RW 10000 00BE Not Visible ???:? 08C:D2 RAID-6 N/Grp'd RW 10000 00BF Not Visible ???:? 07A:D1 RAID-6 N/Grp'd RW 10000 00C0 Not Visible ???:? 07A:C2 RAID-6 N/Grp'd RW 10000 00C1 Not Visible ???:? 08D:C0 2-Way BCV Mir N/Asst'd RW 5001 00C2 Not Visible ???:? 08C:D0 2-Way BCV Mir N/Asst'd RW 5001 00C3 Not Visible ???:? 08C:C1 2-Way BCV Mir N/Asst'd RW 5001 00C4 Not Visible ???:? 08D:D1 2-Way BCV Mir N/Asst'd RW 5001

Upload: snsenthil

Post on 29-Dec-2015

55 views

Category:

Documents


5 download

DESCRIPTION

vmax commands

TRANSCRIPT

Page 1: Vmax Commands

C:\>symcfg list -sid 87 -connection

Symmetrix ID: 000194901287

Symmetrix Host------------- -----------------------------------------------------------Director Port Node Name IP Address HW Type OS Name OS Revision-------- ---- ------------- --------------- -------- -------- -----------

UN-1A 0 HK194901287 0.0.0.1 i686 WinNT-SP 5.1.2600FA-7E 0 sbc-win1 192.168.208.10 i686 WinNT 5.2.3790FA-8E 0 sbc-win1 192.168.208.10 i686 WinNT 5.2.3790

C:\>symaccess list HBA

Identifier Physical Device Path Symmetrix ID Dir:P---------------- -------------------------------- ------------ -----2100001b320802a2 \\.\PHYSICALDRIVE1 000194901287 07E:02101001b322802a2 \\.\PHYSICALDRIVE2 000194901287 08E:0

symaccess list -sid 87 -list logins -dir 7e -p 0

C:\>symdisk list -sid 87 -dskgrp_summary

Symmetrix ID: 000194901287

Disk Group Disk Capacity---------------------- ----------------------- -------------------------------- Speed Size Total Free ActualNum Name Cnt Tech (RPM) (MB) (MB) (MB) (MB)---------------------- ----------------------- --------------------------------

1 DISK_GROUP_001 21 FC 15000 279140 5861947 5686712 5861947 2 DISK_GROUP_002 21 FC 10000 279140 5861947 5677468 5861947 4 DISK_GROUP_004 14 SATA 7200 1823565 25529904 25406484 25529904 ---------- ---------- ----------Total 37253797 36770664 37253797

Legend: (Tech)nology : SATA = SATA, FC = Fibre Channel, EFD = Enterprise Flash Drive

create dev count=4, size=10000,config=RAID-6, disk_group=DISK_GROUP_001, data_member_count=6, emulation=fba;create dev count=4, size=5000,config=2-Way-BCV-Mir, disk_group=DISK_GROUP_001, emulation=fba;

symaccess list -sid 87 -type initiator -wwn 2100001b320802a2symaccess list -sid 87 -type initiator -wwn 2101001b322802a2

00BD Not Visible ???:? 08C:C1 RAID-6 N/Grp'd RW 1000000BE Not Visible ???:? 08C:D2 RAID-6 N/Grp'd RW 1000000BF Not Visible ???:? 07A:D1 RAID-6 N/Grp'd RW 1000000C0 Not Visible ???:? 07A:C2 RAID-6 N/Grp'd RW 1000000C1 Not Visible ???:? 08D:C0 2-Way BCV Mir N/Asst'd RW 500100C2 Not Visible ???:? 08C:D0 2-Way BCV Mir N/Asst'd RW 500100C3 Not Visible ???:? 08C:C1 2-Way BCV Mir N/Asst'd RW 500100C4 Not Visible ???:? 08D:D1 2-Way BCV Mir N/Asst'd RW 5001

Page 2: Vmax Commands

symaccess -sid 87 -type initiator -name win1_intg create -wwn 2100001b320802a2

symaccess -sid 87 -type port -name win1_portg -dirport 7e:0,8e:0 create

symaccess -sid 87 -type storage -name win1_storage create devs 00bd:00c0

symaccess -sid 87 create view -name win1_view -sg win1_storage -pg win1_portg -ig win1_intg

symaccess -sid 87 -type initiator -name win1_intg add -wwn 2101001b322802a2

symaccess -sid 87 list -type initiator -wwn 2100001b320802a2

symaccess -sid 87 list -type storage -dev 00bd

symaccess -sid 87 list assignments -dirport 7e:0

symaccess list -sid 87 devinfo -ig win1_intg

create dev count=4, size=5000 MB,config=TDEV, emulation=fba;create dev count=5, size=20000 MB config=2-way-Mir, emulation=fba, disk_group=1, attribute=datadev;

create pool unisys_pool type=thin;

add dev 00c9:00d2 to pool unisys_pool type=thin, member_state=ENABLE;

C:\>symdev -sid 87 -noport list -datadev

Symmetrix ID: 000194901287

Device Name Directors Device--------------------------- ------------- ------------------------------------- CapSym Physical SA :P DA :IT Config Attribute Sts (MB)--------------------------- ------------- -------------------------------------

00B4 Not Visible ???:? 07D:D2 2-Way Mir N/A (DT) RW 180000B5 Not Visible ???:? 07C:C2 2-Way Mir N/A (DT) RW 180000B6 Not Visible ???:? 07D:C3 2-Way Mir N/A (DT) RW 180000B7 Not Visible ???:? 07C:D3 2-Way Mir N/A (DT) RW 180000B8 Not Visible ???:? 08D:C4 2-Way Mir N/A (DT) RW 180000B9 Not Visible ???:? 08C:C5 RAID-5 N/A (DT) RW 170100BA Not Visible ???:? 08D:C6 RAID-5 N/A (DT) RW 170100BB Not Visible ???:? 08B:C6 RAID-5 N/A (DT) RW 170100BC Not Visible ???:? 07A:D5 RAID-5 N/A (DT) RW 170100C9 Not Visible ???:? 08C:D2 2-Way Mir N/A (DT) RW 2000100CA Not Visible ???:? 08D:C2 2-Way Mir N/A (DT) RW 2000100CB Not Visible ???:? 07D:D0 2-Way Mir N/A (DT) RW 2000100CC Not Visible ???:? 07C:C0 2-Way Mir N/A (DT) RW 2000100CD Not Visible ???:? 07A:D1 2-Way Mir N/A (DT) RW 2000100CE Not Visible ???:? 07B:D0 2-Way Mir N/A (DT) RW 2000100CF Not Visible ???:? 07A:C0 2-Way Mir N/A (DT) RW 2000100D0 Not Visible ???:? 08C:C1 2-Way Mir N/A (DT) RW 2000100D1 Not Visible ???:? 07B:C1 2-Way Mir N/A (DT) RW 2000100D2 Not Visible ???:? 07D:C1 2-Way Mir N/A (DT) RW 20001

Page 3: Vmax Commands

bind tdev 00af:00b3 to pool unisys_pool;

C:\>symdev list -sid 87 -tdev

Symmetrix ID: 000194901287

Device Name Directors Device--------------------------- ------------- ------------------------------------- CapSym Physical SA :P DA :IT Config Attribute Sts (MB)--------------------------- ------------- -------------------------------------

00AF Not Visible ???:? NA:NA TDEV N/Grp'd NR 180000B0 Not Visible ???:? NA:NA TDEV N/Grp'd NR 180000B1 Not Visible ???:? NA:NA TDEV N/Grp'd NR 180000B2 Not Visible ???:? NA:NA TDEV N/Grp'd NR 180000B3 Not Visible ???:? NA:NA TDEV N/Grp'd NR 180000C5 Not Visible ???:? NA:NA TDEV N/Grp'd NR 500100C6 Not Visible ???:? NA:NA TDEV N/Grp'd NR 500100C7 Not Visible ???:? NA:NA TDEV N/Grp'd NR 500100C8 Not Visible ???:? NA:NA TDEV N/Grp'd NR 5001-symcfg show -pool unisys_pool -thin -detail

symaccess add devs 00af:00c8 -name win1_storage -type storage

symfast list -control_parms -sid 87

symfast list -control_parms -sid 87C:\>symfast list -control_parms -sid 87

Symmetrix ID: 000194901287

Optimizer and FAST Control Parameters:

Data Movement Mode : User_Approve Max Simultaneous Device Moves : 8 Max Device Moves Per Day : 200

Optimizer, FAST and FAST VP Control Parameters:

Min Initial Workload Period(hrs) : 8 Workload Analysis Period(hrs) : 168

FAST Control Parameters:

Swap Not Visible Devices : Disabled Allow Only Swap : Disabled

FAST VP Control Parameters:

FAST VP Data Movement Mode : NONE FAST VP Data Relocation Rate : 5 Thin Pool Reserved Capacity(%) : 10

=========================

symoptmz show -parms -sid 87

Page 4: Vmax Commands

FAST VP Data Movement Mode : NONE FAST VP Data Relocation Rate : 5 Thin Pool Reserved Capacity(%) : 10

C:\>symoptmz show -parms -sid 87

Optimizer Control Parameters

Swap Mode : UserOK Min Perf Period : 8 Workload Period : 168 Max Simult Swaps : 8 Max Swaps Per Day : 200

Advanced Parameter Settings

Max Days to keep Rollbacks : 30 Hot Spot Analysis : False

Number of Swap Time Windows : 2

Time Window ID : The Default Time Window Type : Swap Provisioning : DP Flags : Exclusive Periodicity : Once Start Date : None Stop Date : None

Time Window ID : The Default Time Window Type : Swap Provisioning : VP Flags : Exclusive Periodicity : Once Start Date : None Stop Date : None

Performance Time Windows : 1

Time Window ID : The Default Time Window Type : Performance Flags : Inclusive Periodicity : Once Start Date : None Stop Date : None

Legend: Provisioning : DP = Disk Group Provisioning, VP = Virtual Pools

symtier list -sid 87

C:\>symtier list -sid 87

Symmetrix ID : 000194901287

Page 5: Vmax Commands

No matching Symmetrix Tier found

symtier -sid 87 create -name RAID1_FC -tgt_raid1 -technology FC -inc_type static -dsk_grp 2 symtier -sid 87 create -name RAID6_SATA -tgt_raid6 -tgt_prot 6+2 -technology SATA -inc_type static -dsk_grp 4

symtier list -sid 87

symtier show -tier_name RAID1_FC -sid 87symtier show -tier_name RAID6_SATA -sid 87

symfast list -fp -sid 87

symfast -sid 87 -fp create -name 100SATA -tier_name RAID6_SATA -max_sg_percent 100

symfast show -fp_name 100SATA -sid 87

C:\>symfast -sid 87 -fp create -name 100SATA -tier_name RAID6_SATA -max_sg_percent 100

C:\>symfast show -fp_name 100SATA -sid 87

Symmetrix ID : 000194901287

Policy Name : 100SATA

Tiers(1) { ------------------------------------------------------------------ Max SG Target Tier Name Type Percent Tech Protection -------------------------------- ---- -------- ----- ------------- RAID6_SATA DP 100 SATA RAID-6(6+2) }

No Storage Groups associated with Policy 100SATA

Legend: Tier Type : DP = Disk Group Provisioning, VP = Virtual Pools

symsg create win1_FASTDPSG -sid 87symsg -sg win1_FASTDPSG addall dev -range 00d3:00d5 -sid 87

==================

create dev count=4, size=30000 MB,config=RAID-6, disk_group=1, data_member_count=6, emulation=fba;

symfast -sid 87 -fp_name associate -sg win1_FASTDPSG -prio 2

symsg show win1_FASTDPSG -sid 87

symfast show -association -sg win1_FASTDPSG -sid 87

Page 6: Vmax Commands

symcfg show -pool unisys_pool -thin -detail -all -sid 87

C:\>symcfg show -pool unisys_pool -thin -detail -all -sid 87

Symmetrix ID: 000194901287

Symmetrix ID : 000194901287Pool Name : unisys_poolPool Type : ThinTechnology : FCDev Emulation : FBADev Configuration : 2-Way MirPool State : Enabled# of Devices in Pool : 10# of Enabled Devices in Pool : 10# of Enabled Tracks in Pool : 3200040# of Allocated Tracks in Pool : 372# of Shared Tracks in Pool : 0Max. Subscription Percent : NoneRebalance Variance : 1%Max devs per rebalance scan : 256Pool Reserved Capacity : None

Enabled Devices(10): { --------------------------------------------------------- Sym Total Alloc Free Full FLG Device Dev Tracks Tracks Tracks (%) S State --------------------------------------------------------- 00C9 320004 60 319944 0 . Enabled 00CA 320004 0 320004 0 . Enabled 00CB 320004 72 319932 0 . Enabled 00CC 320004 0 320004 0 . Enabled 00CD 320004 72 319932 0 . Enabled 00CE 320004 0 320004 0 . Enabled 00CF 320004 72 319932 0 . Enabled 00D0 320004 12 319992 0 . Enabled 00D1 320004 72 319932 0 . Enabled 00D2 320004 12 319992 0 . Enabled ---------- ---------- ---------- ---- Tracks 3200040 372 3199668 0 }

Pool Bound Thin Devices(5): { ---------------------------------------------------------------------- Pool Pool Total Sym Total Subs Allocated Written Dev Tracks (%) Tracks (%) Tracks (%) Status ---------------------------------------------------------------------- 00AF 28800 1 24 0 1 0 Bound 00B0 28800 1 276 1 203 1 Bound 00B1 28800 1 24 0 1 0 Bound 00B2 28800 1 24 0 1 0 Bound 00B3 28800 1 24 0 1 0 Bound ---------- ----- ---------- ----- ---------- ----- Tracks 144000 4 372 0 207 0 }

Legend:

Page 7: Vmax Commands

FLG: (S)hared Tracks : X = Shared Tracks , . = No Shared Tracks

echo "Warning: Pool space is 30 percent full"

symcfg -action warnmsg.bat monitor -pool unisys_pool -sid 87 -i 15 -thin -percent 30

symdev not_ready -range 00af:00C8 -sid 87 -nop

unbind tdev 00af:00C8 from pool unisys_pool;

symcfg show -pool unisys_pool -thin -detail -sid 87

C:\>symcfg show -pool unisys_pool -thin -detail -sid 87

Symmetrix ID: 000194901287

Symmetrix ID : 000194901287Pool Name : unisys_poolPool Type : ThinTechnology : FCDev Emulation : FBADev Configuration : 2-Way MirPool State : Enabled# of Devices in Pool : 10# of Enabled Devices in Pool : 10# of Enabled Tracks in Pool : 3200040# of Allocated Tracks in Pool : 26904# of Shared Tracks in Pool : 0Max. Subscription Percent : NoneRebalance Variance : 1%Max devs per rebalance scan : 256Pool Reserved Capacity : None

Enabled Devices(10): { --------------------------------------------------------- Sym Total Alloc Free Full FLG Device Dev Tracks Tracks Tracks (%) S State --------------------------------------------------------- 00C9 320004 3060 316944 0 . Enabled 00CA 320004 2304 317700 0 . Enabled 00CB 320004 3072 316932 0 . Enabled 00CC 320004 2292 317712 0 . Enabled 00CD 320004 3060 316944 0 . Enabled 00CE 320004 2316 317688 0 . Enabled 00CF 320004 3072 316932 0 . Enabled 00D0 320004 2328 317676 0 . Enabled 00D1 320004 3072 316932 0 . Enabled 00D2 320004 2328 317676 0 . Enabled ---------- ---------- ---------- ---- Tracks 3200040 26904 3173136 0 }

Pool Bound Thin Devices(4): { ----------------------------------------------------------------------- Pool Pool Total Sym Total Subs Allocated Written

Page 8: Vmax Commands

Dev Tracks (%) Tracks (%) Tracks (%) Status ----------------------------------------------------------------------- 00B0 28800 1 26832 93 26793 93 Bound 00B1 28800 1 24 0 1 0 Bound 00B2 28800 1 24 0 1 0 Bound 00B3 28800 1 24 0 1 0 Bound ---------- ----- ---------- ----- ---------- ----- Tracks 115200 4 26904 23 26796 23 }

Legend: FLG: (S)hared Tracks : X = Shared Tracks , . = No Shared Tracks

disable dev 00c9 in pool unisys_pool, type=thin;enable dev 00c9 remove dev 00C9 from pool unisys_pool,type=thin;

add dev 00c9 to pool unisys_pool,type=thin;

set pool unisys_pool, type=thin, max_subs_percent=100;

symcfg -sid 87 -cmd "start balancing on pool unisys_pool;" commit

symcfg -sid 87 -cmd "start balancing on pool

disable dev 00d2 in pool unisys_pool, type=thin; symconfigure -sid 87 -cmd "remove dev 00d2 from pool unisys_pool, type=thin;" commit

C:\>symcfg list -v -sid 87

Symmetrix ID: 000194901287Time Zone : Eastern Daylight Time

Product Model : VMAX-1SE Symmetrix ID : 000194901287

Microcode Version (Number) : 5875 (16F30000) Microcode Registered Build : 1 Microcode Date : 01.20.2012

Microcode Patch Date : 01.20.2012 Microcode Patch Level : 249

Symmwin Version : 188 Enginuity Build Version : 5875.249.188 Service Processor Time Offset : - 1 days 08:58:03

Cache Size (Mirrored) : 12288 (MB) # of Available Cache Slots : 161616 Max # of System Write Pending Slots : 121212 Max # of DA Write Pending Slots : 0 Max # of Device Write Pending Slots : 6060 Replication Cache Usage (Percent) : 0

Symmetrix Total Operating Time : 25 days, 23:13:13 Symmetrix Power ON Time : Thu May 31 11:06:31 2

Page 9: Vmax Commands

Symmetrix Last IPL Time (Cold) : Fri Jun 22 11:31:12 2 Symmetrix Last Fast IPL Time (Hot) : Sun Dec 31 19:00:00 2

Host DB Sync Time : Tue Jun 26 10:19:44 2 Symmetrix CLI (SYMCLI) Version : V7.3.2.2 (Edit Level: Built with SYMAPI Version : V7.3.2.2 (Edit Level: SYMAPI Run Time Version : V7.3.2.2 (Edit Level: SYMAPI Server Version : unavailable

Number of Configured (Sym) Devices : 215 Number of Visible (Host) Devices : 2 Number of Configured Actual Disks : 56 Number of Configured Hot Spares : 8 Number of Unconfigured Disks : 0 Maximum number of hypers per disk : 1024 Front door LED status : N/A

Number of Powerpath Devices : 0 Powerpath Run Time Version : 5.5.0

SDDF Configuration State : Enabled Configuration Change State : Enabled WORM Configuration Level : N/A WORM Characteristics : N/A

Symmetrix Configuration Checksum : 6CFE17B1 Switched RDF Configuration State : Enabled Concurrent RDF Configuration State : Enabled Dynamic RDF Configuration State : Enabled Concurrent Dynamic RDF Configuration : Enabled RDF Data Mobility Configuration State: Disabled Access Control Configuration State : Enabled Device Masking (ACLX) Config State : Enabled Multi LRU Device Assignment : NONE Disk Group Assignments : In Use Hot Swap Policy for Hard Drives : Permanent Hot Swap Policy for Flash Drives : Permanent Symmetrix Disk Library : Disabled FBA Geometry Emulation : Native 3 Dynamic Mirrors : Enabled Cache Partitioning : Disabled IPSec Status : Pass Thru Allow spare in mirror 4 position : Disabled Disks Service : Deferred Symmetrix Data Encryption : Disabled Time Window Definition Format : Legacy

Parity Raid Configuration : N/A Raid-5 Configuration : RAID-5 (3+1) Raid-6 Configuration : RAID-6 (6+2) PAV Mode : DynamicStandardPAV PAV Alias Limit : 31

SRDF/A Maximum Host Throttle (Secs) : 0 SRDF/A Maximum Cache Usage (Percent) : 75

Auto Meta : Disabled Minimum Auto Meta Size : 262669 Auto Meta Member Size : 0 Auto Meta Configuration : N/A

Page 10: Vmax Commands

========================

set symmetrix auto_meta = ENABLE;min_auto_meta_size =2 GB;auto_meta_member_size 5 GB;auto_meta_config = striped;

set symmetrix [auto_meta = <ENABLE|DISABLE>][min_auto_meta_size = n [MB | GB | CYL]][auto_meta_member_size n [MB | GB | CYL]][auto_meta_config = [striped | concatenated | NONE]];

set symmetrix auto_meta = ENABLE;min_auto_meta_size =30 GB;auto_meta_member_size 5 GB;auto_meta_config = concatenated;