Saturday, June 19, 2010

VMAX Symaccess CLI Commands

symaccess
■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 Storage Groups Created for Array 1234
■symaccess -sid 1234 list -type port - List all Storage 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 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, view and security information from the specified backupup file
■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 add -wwn 1000000000000002 - Add the specified wwn in to the existing initiator group Host1
■symaccess -sid 1234 -type port -name 3E0_4E0_13E0_14E0 -dirport 3e:0,4e:0,13e:0,10e:0 create - Create the portgroup E0_4E0_13E0_14E0 with specified ports
■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 create view -name Host1_Allocation -sg Host1 -pg 3E0_4E0_13E0_14E0 -ig Host1 - Create a masking view combined with specified groupsymaccess
■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 Storage Groups Created for Array 1234
■symaccess -sid 1234 list -type port - List all Storage 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 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, view and security information from the specified backupup file
■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 add -wwn 1000000000000002 - Add the specified wwn in to the existing initiator group Host1
■symaccess -sid 1234 -type port -name 3E0_4E0_13E0_14E0 -dirport 3e:0,4e:0,13e:0,10e:0 create - Create the portgroup E0_4E0_13E0_14E0 with specified ports
■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 create view -name Host1_Allocation -sg Host1 -pg 3E0_4E0_13E0_14E0 -ig Host1 - Create a masking view combined with specified group

No comments:

Post a Comment