Storage Area Network

Quick reference to symcli commands and few utils to create EMC symconfiguration scripts.
VMax Commands

Following commands are specifically using for VMax Operations.Please refer Searchable 'symcli commands' for full set of Solution Enabler commands.

+
symaccess 59 Commands
Specifically using for Vmax Allocation to do various operations on Masking view and related Groups.

  • symaccess -sid 1234 list
     
    List all Initiator, Port and Storage Groups Created for Array 1234
  • symaccess -sid 1234 list -v
     
    List all Initiator,Port and Storage Groups Created for Array 1234 along with related Masking Views
  • symaccess -sid 1234 list -type storage
     
    List all Storage Groups Created for Array 1234
  • symaccess -sid 1234 list -type initiator
     
    List all Initiator Groups Created for Array 1234
  • symaccess -sid 1234 list -type port
     
    List all Port Groups Created for Array 1234
  • symaccess -sid 1234 list view
     
    List masking views Created for Array 1234 with related groups details
  • symaccess -sid 1234 list assignment -dev 9A0:9AF
     
    Shows the masking details of devices from 9A0 to 9AF
  • symaccess -sid 1234 -wwn xxxx replace -new_wwn yyyy
     
    Replace all occurance of wwn xxxx with yyyy in array 1234
  • symaccess -sid 1234 list logins -wwn xxxx
     
    Check whether wwn xxx logged in to any of the FAs on array 1234.
  • symaccess -sid 1234 list -type initiator -wwn xxxx
     
    Check whether the HBA WWN xxxx is a member of any Initiator Group.
  • symaccess -sid 1234 list -type storage -dev AAA
     
    Check whether the device AAA is part of of any Storage Groups.
  • symaccess -sid 1234 list no_assignments -dirport 12f:1
     
    Shows the devices are mapped to 12f:1 but not masked.
  • symaccess -sid 1234 list -name MyGroup
     
    List all groups named MyGroup
  • symaccess -sid 1234 list -name MyGroup -v
     
    List all groups named MyGroup and also shows the related Masking Views
  • symaccess -sid 1234 list devinfo -ig MyInitiator
     
    List the details of devices assigned to the initiatorgroup MyInitiator
  • symaccess -sid 1234 show MyStorageGroup -type storage
     
    Shows the contents of storage group MyStorageGroup Created on Array 1234
  • symaccess -sid 1234 show MyInitiatorGroup -type initiator
     
    Shows the contents of initiator group MyInitiatorGroup Created on Array 1234
  • symaccess -sid 1234 show MyPortGroup -type port
     
    Shows the contents of port group MyPortGroup Createdon Array 1234
  • symaccess -sid 1234 show view MyView
     
    Shows the contents of view MyView Created on Array 1234
  • symaccess -sid 1234 -f MyBackup.txt backup
     
    Creates a file MyBackup containing all the group and view information currently on the Symmetrix array 1234
  • symaccess -sid 1234 -f MyBackup.txt restore
     
    Restores all the group
  • symaccess -sid 1234 -type initiator -name Host1 create -wwn 1000000000000001
     
    Creates and initiator group called Host1 by adding the specified wwn
  • symaccess -sid 1234 -type initiator -name Host1 rename -new_name Host2
     
    Rename the Initiator Gorup Host1 as Host2
  • symaccess -sid 1234 -type port -name 3E0_4E0_13E0_14E0 -dirport 3e:0,4e:0,13e:0,14e:0 create
     
    Create the portgroup E0_4E0_13E0_14E0 with specified ports
  • symaccess -sid 1234 -type port -name 3E0_4E0_13E0_14E0 rename -new_name 3E1_4E1_13E1_14E1
     
    Rename the Port Gorup 3E0_4E0_13E0_14E0 as 3E1_4E1_13E1_14E1
  • symaccess -sid 1234 -type storage -name Host1 create devs AAA:AAB
     
    Create the storage group Host1 with specified range of devices
  • symaccess -sid 1234 -type storage -name Host1 add devs AAA:AAB
     
    Create the storage group Host1 with specified range of devices
  • symaccess -sid 1234 -type storage -name Host1 remove devs AAA:AAB
     
    Remove the device AAA to AAB from storage group Host1
  • symaccess -sid 1234 -type storage -name Host1 remove devs AAA:AAB -unmap
     
    Remove the device AAA to AAB from storage group Host1 and also unmap from the FAs
  • symaccess -sid 1234 -type storage -name Host1 rename -new_name Host2
     
    Rename the Storage Gorup Host1 as Host2
  • symaccess -sid 1234 create view -name Host1_Allocation -sg Host1 -pg 3E0_4E0_13E0_14E0 -ig Host1
     
    Create a masking view combined with specified groups
  • symaccess -sid 1234 view -name Host1_Allocation rename -new_name Host2_Allocation
     
    Rename name of view Host1_Allocation as Host2_Allocation
  • symaccess -sid 1234 delete view -name Host1_Allocation
     
    Delete view Host1_Allocation.
  • symaccess -sid 1234 delete view -name Host1_Allocation -unmap
     
    Delete view Host1_Allocation and also unmap all the device in associated storage group.
  • symconfigure -sid 1234 list -freespace -units mb
     
    Shows the Formatted and Unformatted freespace in MegaBytes on array 1234
  • symconfigure -sid 1234 -f command_file.txt preview
     
    Validates the syntax of the commands in 'command_file.txt' and also verify the configuration changes.
  • symaccess -sid 1234 -name PG_1_2_15_16_E0_Group -type port -dirport 1e:0,16e:0 remove
     
    Remove ports 1e:0 and 16e:0 from port group 'PG_1_2_15_16_E0_Group'.
  • symaccess -sid 1234 -name PG_1_2_15_16_E0_Group -type port -dirport 1e:0,16e:0 remove
     
    Remove ports 1e:0 and 16e:0 from port group 'PG_1_2_15_16_E0_Group'.
  • symaccess -sid 1234 -name IG_Server_A -type initiator -wwn xxxx remove
     
    Remove HBA WWN 'xxxx' from Initiator Group 'IG_Server_A'
  • symaccess -sid 1234 -name IG_Servers -type initiator -ig IG_Server_A remove
     
    Remove Initiator Group 'IG_Server_A' from parent Initiator Group 'IG_Servers'
  • symaccess list hba
     
    Shows the wwn of the local HBA and the devices assigned to those.
  • symaccess -sid 1234 view -name Host1_Allocation rename -new_name Host2_Allocation
     
    Rename name of view Host1_Allocation as Host2_Allocation
  • symaccess -sid 1234 -f Total_views backup
     
    This command will backup all the Maksing Views information for array 1234 to file Total_views.
  • symaccess -sid 1234 -f Total_views restore
     
    This command will restore all Masking view information for Vmax Array 1234 from file Total_views , which is earlier created by "backup" option.
  • symaccess -sid 1234 -type initiator -name Host1 add -wwn 1000000000000002
     
    Add another HBA WWN to the existing Initiator group(IG) "Host1".
  • symaccess -sid 1234 -type port -name MyPorts add -dirport 6e:0
     
    Add an aditional port 6e:0 to the existing port group(PG) "MyPorts".
  • symaccess -sid 1234 -type initiator -name Host1_Host2_IG add -ig Host2_IG
     
    Add a child Initiator Group(Host2_IG) to the parent Initiator Group(Host1_Host2_IG).
  • symaccess -sid 1234 show MyInitiatorGroup -type initiator -detail
     
    By including '-detail' option will shows the Flag settings like 'FCID Lockdown' ,'Consistent Lun'.. for each WWN number in the initiator group.
  • symaccess -sid 1234 show view MyView -detail
     
    This command is the best option to see both parent and child initiator groups( cascaded initiator group) and associated devices for a masking view.
  • symaccess -sid 1234 show view Server_A_B_View -ig Server_B_IG
     
    Displays the content of view 'Server_A_B_View' with the WWN details of child-Initiator group 'Server_B_IG'.
  • symaccess -sid 1234 remove -login -wwn 1000000000000001 -dirport 12g:1
     
    Delete the wwn 1000000000000001 on port 6g:1 from the login history table of vmax 1234
  • symcfg -sid 1234 list -tdev -unbound -GB
     
    Lists all the thin devices in array 1234 which are not bounded to any thin pools.
  • symaccess -sid 1234 delete -name MyStorageGroup -type storage
     
    Delete/Remove an empty storage group.The "-force" must be used if the storage group(SG) is not empty.We can't delete SG if it is part of a Masking View.
  • symaccess -sid 1234 delete -name MyPortGroup -type port
     
    Delete/Remove an empty port group.The "-force" must be used if the port group(PG) is not empty.We can't delete PG if it is part of any Masking View.
  • symaccess -sid 1234 delete -name MyInitiator -type init
     
    Delete/Remove an empty initiator group.The "-force" must be used if the initiator group(IG) is not empty.We can't delete IG if it is part of a Masking View.
  • symaccess -sid 1234 -file Views_Groups_1234.txt backup
     
    Backup all the view and group information currently on VMAX 1234 to the file Views_Groups_1234.txt.
  • symaccess -sid 1234 -file Views_Groups_1234.txt restore
     
    Restores all the groups, views, and security informations from the previously(created using backup option) file.
  • symaccess -sid 1234 -file Views_Groups_1234.txt list
     
    Lists all the Group(storage,port,initiator) information from the backup file "Views_Groups_1234.txt".
  • symaccess -sid 1234 -file Views_Groups_1234.txt list view
     
    Lists all the views from the backup file "Views_Groups_1234.txt".

+
symsg 15 Commands
Performs variuos operations like create,list,show,export,copy on Storage Groups(SG) in a Vmax array.

  • symsg -sid 1234 list
     
    Lists all the storage groups in Vmax array 1234 along with informations like whether the SG a member of Masking View and is a part of FAST Policy.
  • symsg -sid 1234 list -v
     
    the -v options displays the member devices of Storage Groups along with other details given by list.
  • symsg -sid 1234 create MyStorageGroup
     
    Create a new SG,'MySrorageGroup' in Vmax Array 1234
  • symsg -sid 1234 delete MyStorageGroup
     
    Deletes the empty SG 'MySrorageGroup' from 1234.The SG should not be associated with any Masking View.
  • symsg -sid 1234 delete MySrorageGroup -force
     
    Deletes the SG 'MySrorageGroup' which contains devices but not associated with any Masking View.
  • symsg -sid 1234 show MyStorageGroup
     
    Shows the devices in MyStorageGroup along with its Masking View and FAST Policy association status.
  • symsg -sid 1234 export MyStorageGroup -file mystoragegroup.txt
     
    export the device information from SG to the text file.
  • symsg -sid 1234 exportall -storagegroups.txt
     
    exports the device information from all the SGs from 1234 array to the text file storagegroups.txt
  • symsg -sid 1234 import MyStorageGroup -file MystorageGroup.txt
     
    Create SG 'MyStorageGroup' from the earlier exported file MystorageGroup.txt.
  • symsg -sid 1234 importall -file MystorageGroups.txt
     
    Create storage groups from the earlier exported file MystorageGroup.txt.Storage Group names will be created according to the names in text file.
  • symsg -sid 1234 rename MyStorageGroup MyNewStorageGroup
     
    Rename SG MyStorageGroup to MyNewStorageGroup
  • symsg -sid 1234 -sg MyStorageGroup ready
     
    Set the status of all devices in SG 'MyStorageGroup' to READY.
  • symsg -sid 1234 -sg MyStorageGroup not_ready
     
    Change the status of all the devices in SG 'MyStorageGroup' from READY to NOT READY.
  • symsg -sid 1234 -sg MyStorageGroup rw_enable
     
    Write enable all the devices in SG 'MyStorageGroup'
  • symsg -sid 1234 -sg MyStorageGroup write_disable
     
    Write Disable all the devices in SG 'MyStorageGroup'