{"id":129,"date":"2011-09-30T06:43:24","date_gmt":"2011-09-30T10:43:24","guid":{"rendered":"http:\/\/www.interscapetech.com\/blog\/?p=129"},"modified":"2017-01-05T13:51:43","modified_gmt":"2017-01-05T17:51:43","slug":"vmax-commands","status":"publish","type":"post","link":"https:\/\/www.interscape.io\/blog\/symmetrix\/vmax-commands.html","title":{"rendered":"Vmax Commands"},"content":{"rendered":"<h3>Vmax Commands<\/h3>\n<p>The following are the Vmax commands that are specifically using for Vmax Operations. Please refer Searchable &#8216;symcli commands&#8217; for full set of Solution Enabler commands.<\/p>\n<h3>symaccess<\/h3>\n<div>Specifically using for Vmax Allocation to do various operations on Masking view and related Groups under Vmax Commands.<\/div>\n<div>\n<ul>\n<li>\n<div>symaccess -sid 1234 list<\/div>\n<div>List all Initiator, Port and Storage Groups Created for Array 1234<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 list -v<\/div>\n<div>List all Initiator,Port and Storage Groups Created for Array 1234 along with related Masking Views<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 list -type storage<\/div>\n<div>List all Storage Groups Created for Array 1234<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 list -type initiator<\/div>\n<div>List all Initiator Groups Created for Array 1234<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 list -type port<\/div>\n<div>List all Port Groups Created for Array 1234<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 list view<\/div>\n<div>List masking views Created for Array 1234 with related groups details<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 list assignment -dev 9A0:9AF<\/div>\n<div>Shows the masking details of devices from 9A0 to 9AF<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -wwn xxxx replace -new_wwn yyyy<\/div>\n<div>Replace all occurance of wwn xxxx with yyyy in array 1234<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 list logins -wwn xxxx<\/div>\n<div>Check whether wwn xxx logged in to any of the FAs on array 1234<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 list -type initiator -wwn xxxx<\/div>\n<div>Check whether the HBA WWN xxxx is a member of any Initiator Group<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 list -type storage -dev AAA<\/div>\n<div>Check whether the HBA WWN xxxx is a member of any Initiator Group<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 list no_assignments -dirport 12f:1<\/div>\n<div>Shows the devices are mapped to 12f:1 but not masked<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 list -name MyGroup<\/div>\n<div>List all groups named MyGroup<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 list -name MyGroup -v<\/div>\n<div>List all groups named MyGroup and also shows the related Masking Views<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 list devinfo -ig MyInitiator<\/div>\n<div>List the details of devices assigned to the initiatorgroup MyInitiator<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 show MyStorageGroup -type storage<\/div>\n<div>Shows the contents of storage group MyStorageGroup Created on Array 1234<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 show MyInitiatorGroup -type initiator<\/div>\n<div>Shows the contents of initiator group MyInitiatorGroup Created on Array 1234<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 show MyPortGroup -type port<\/div>\n<div>Shows the contents of port group MyPortGroup Createdon Array 1234<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 show view MyView<\/div>\n<div>Shows the contents of view MyView Created on Array 1234<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -f MyBackup.txt backup<\/div>\n<div>Creates a file MyBackup containing all the group and view information currently on the Symmetrix array 1234<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -f MyBackup.txt restore<\/div>\n<div>Restores all the group<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -type initiator -name Host1 create -wwn 1000000000000001<\/div>\n<div>Creates and initiator group called Host1 by adding the specified wwn<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -type initiator -name Host1 rename -new_name Host2<\/div>\n<div>Rename the Initiator Group Host1 as Host2<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -type port -name 3E0_4E0_13E0_14E0 -dirport 3e:0,4e:0,13e:0,14e:0 create<\/div>\n<div>Create the portgroup E0_4E0_13E0_14E0 with specified ports<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -type port -name 3E0_4E0_13E0_14E0 rename -new_name 3E1_4E1_13E1_14E1<\/div>\n<div>Rename the Port Gorup 3E0_4E0_13E0_14E0 as 3E1_4E1_13E1_14E1<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -type storage -name Host1 create devs AAA:AAB<\/div>\n<div>Create the storage group Host1 with specified range of devices<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -type storage -name Host1 add devs AAA:AAB<\/div>\n<div>Create the storage group Host1 with specified range of devices<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -type storage -name Host1 remove devs AAA:AAB<\/div>\n<div>Remove the device AAA to AAB from storage group Host1<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -type storage -name Host1 remove devs AAA:AAB -unmap<\/div>\n<div>Remove the device AAA to AAB from storage group Host1 and also unmap from the FAs<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -type storage -name Host1 rename -new_name Host2<\/div>\n<div>Rename the Storage Gorup Host1 as Host2<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 create view -name Host1_Allocation -sg Host1 -pg 3E0_4E0_13E0_14E0 -ig Host1<\/div>\n<div>Create a masking view combined with specified groups<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 view -name Host1_Allocation rename -new_name Host2_Allocation<\/div>\n<div>Rename name of view Host1_Allocation as Host2_Allocation<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 delete view -name Host1_Allocation<\/div>\n<div>Delete view Host1_Allocation<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 delete view -name Host1_Allocation -unmap<\/div>\n<div>Delete view Host1_Allocation and also unmap all the device in associated storage group<\/div>\n<\/li>\n<li>\n<div>symconfigure -sid 1234 list -freespace -units mb<\/div>\n<div>Shows the Formatted and Unformatted freespace in MegaBytes on array 1234<\/div>\n<\/li>\n<li>\n<div>symconfigure -sid 1234 -f command_file.txt preview<\/div>\n<div>Validates the syntax of the commands in &#8216;command_file.txt&#8217; and also verify the configuration changes<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -name PG_1_2_15_16_E0_Group -type port -dirport 1e:0,16e:0 remove<\/div>\n<div>Remove ports 1e:0 and 16e:0 from port group &#8216;PG_1_2_15_16_E0_Group&#8217;<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -name PG_1_2_15_16_E0_Group -type port -dirport 1e:0,16e:0 remove<\/div>\n<div>Remove ports 1e:0 and 16e:0 from port group &#8216;PG_1_2_15_16_E0_Group&#8217;<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -name IG_Server_A -type initiator -wwn xxxx remove<\/div>\n<div>Remove HBA WWN &#8216;xxxx&#8217; from Initiator Group &#8216;IG_Server_A&#8217;<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -name IG_Servers -type initiator -ig IG_Server_A remove<\/div>\n<div>Remove Initiator Group &#8216;IG_Server_A&#8217; from parent Initiator Group &#8216;IG_Servers&#8217;<\/div>\n<\/li>\n<li>\n<div>symaccess list hba<\/div>\n<div>Shows the wwn of the local HBA and the devices assigned to those.<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 view -name Host1_Allocation rename -new_name Host2_Allocation<\/div>\n<div>Rename name of view Host1_Allocation as Host2_Allocation<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -f Total_views backup<\/div>\n<div>This command will backup all the Masking Views information for array 1234 to file Total_views<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -f Total_views restore<\/div>\n<div>This command will restore all Masking view information for Vmax Array 1234 from file Total_views, which is earlier created by &#8220;backup&#8221; option<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -type initiator -name Host1 add -wwn 1000000000000002<\/div>\n<div>Add another HBA WWN to the existing Initiator group(IG) &#8220;Host1&#8221;<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -type port -name MyPorts add -dirport 6e:0<\/div>\n<div>Add an aditional port 6e:0 to the existing port group(PG) &#8220;MyPorts&#8221;<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 -type initiator -name Host1_Host2_IG add -ig Host2_IG<\/div>\n<div>Add a child Initiator Group(Host2_IG) to the parent Initiator Group(Host1_Host2_IG)<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 show MyInitiatorGroup -type initiator -detail<\/div>\n<div>By including &#8216;-detail&#8217; option will shows the Flag settings like &#8216;FCID Lockdown&#8217;, &#8216;Consistent Lun&#8217;.. for each WWN number in the initiator group<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 show view MyView -detail<\/div>\n<div>This command is the best option to see both parent and child initiator groups (cascaded initiator group) and associated devices for a masking view<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 show view Server_A_B_View -ig Server_B_IG<\/div>\n<div>Displays the content of view &#8216;Server_A_B_View&#8217; with the WWN details of child-Initiator group &#8216;Server_B_IG&#8217;<\/div>\n<\/li>\n<li>\n<div>symaccess -sid 1234 remove -login -wwn 1000000000000001 -dirport 12g:1<\/div>\n<div>Delete the wwn 1000000000000001 on port 6g:1 from the login history table of vmax 1234<\/div>\n<\/li>\n<\/ul>\n<\/div>\n<div>\n<h3>symsg<\/h3>\n<div>Performs various operations like create,list,show,export,copy on Storage Groups (SG) in a Vmax\u00a0Commands<\/div>\n<ul>\n<li>\n<div>symsg -sid 1234 list<\/div>\n<div>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<\/div>\n<\/li>\n<li>\n<div>symsg -sid 1234 list -v<\/div>\n<div>The -v options displays the member devices of Storage Groups along with other details given by list<\/div>\n<\/li>\n<li>\n<div>symsg -sid 1234 create MyStorageGroup<\/div>\n<div>Create a new SG, &#8216;MyStorageGroup&#8217; in Vmax Array 1234<\/div>\n<\/li>\n<li>\n<div>symsg -sid 1234 delete MyStorageGroup<\/div>\n<div>Deletes the empty SG &#8216;MyStorageGroup&#8217; from 1234, the SG should not be associated with any Masking View<\/div>\n<\/li>\n<li>\n<div>symsg -sid 1234 delete MyStorageGroup -force<\/div>\n<div>Deletes the SG &#8216;MyStorageGroup&#8217; which contains devices but not associated with any Masking View<\/div>\n<\/li>\n<li>\n<div>symsg -sid 1234 show MyStorageGroup<\/div>\n<div>Shows the devices in MyStorageGroup along with its Masking View and FAST Policy association status<\/div>\n<\/li>\n<li>\n<div>symsg -sid 1234 export MyStorageGroup -file mystoragegroup.txt<\/div>\n<div>Export the device information from SG to the text file<\/div>\n<\/li>\n<li>\n<div>symsg -sid 1234 exportall -storagegroups.txt<\/div>\n<div>exports the device information from all the SGs from 1234 array to the text file storagegroups.txt<\/div>\n<\/li>\n<li>\n<div>symsg -sid 1234 import MyStorageGroup -file mystoragegroup.txt<\/div>\n<div>Create SG &#8216;MyStorageGroup&#8217; from the earlier exported file mystoragegroup.txt<\/div>\n<\/li>\n<li>\n<div>symsg -sid 1234 importall -file mystoragegroup.txt<\/div>\n<div>Create storage groups from the earlier exported file mystoragegroup.txt, Storage Group names will be created according to the names in text file<\/div>\n<\/li>\n<li>\n<div>symsg -sid 1234 rename MyStorageGroup MyNewStorageGroup<\/div>\n<div>Rename SG MyStorageGroup to MyNewStorageGroup<\/div>\n<\/li>\n<li>\n<div>symsg -sid 1234 -sg MyStorageGroup ready<\/div>\n<div>Set the status of all devices in SG &#8216;MyStorageGroup&#8217; to READY<\/div>\n<\/li>\n<li>\n<div>symsg -sid 1234 -sg MyStorageGroup not_ready<\/div>\n<div>Change the status of all the devices in SG &#8216;MyStorageGroup&#8217; from READY to NOT READY<\/div>\n<\/li>\n<li>\n<div>symsg -sid 1234 -sg MyStorageGroup rw_enable<\/div>\n<div>Write enable all the devices in SG &#8216;MyStorageGroup&#8217;<\/div>\n<\/li>\n<li>\n<div>symsg -sid 1234 -sg MyStorageGroup write_disable<\/div>\n<div>Write Disable all the devices in SG &#8216;MyStorageGroup&#8217;<\/div>\n<\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Vmax Commands The following are the Vmax commands that are specifically using for Vmax Operations. Please refer Searchable &#8216;symcli commands&#8217; for full set of Solution Enabler commands. symaccess Specifically using for Vmax Allocation to do various operations on Masking view and related Groups under Vmax Commands. symaccess -sid 1234 list List all Initiator, Port and\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.interscape.io\/blog\/symmetrix\/vmax-commands.html\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[68,83],"class_list":["post-129","post","type-post","status-publish","format-standard","hentry","category-symmetrix","tag-vmax","tag-vmax-commands"],"_links":{"self":[{"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/posts\/129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/comments?post=129"}],"version-history":[{"count":16,"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/posts\/129\/revisions"}],"predecessor-version":[{"id":482,"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/posts\/129\/revisions\/482"}],"wp:attachment":[{"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/media?parent=129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/categories?post=129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/tags?post=129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}