{"id":114,"date":"2010-10-08T06:23:09","date_gmt":"2010-10-08T10:23:09","guid":{"rendered":"http:\/\/www.interscapetech.com\/blog\/?p=114"},"modified":"2017-01-05T13:53:46","modified_gmt":"2017-01-05T17:53:46","slug":"symaccess-command","status":"publish","type":"post","link":"https:\/\/www.interscape.io\/blog\/commands\/symaccess-command.html","title":{"rendered":"Symaccess Command"},"content":{"rendered":"<h3>Symaccess Command<\/h3>\n<p>Summary of the most commonly used symaccess commands with examples.<\/p>\n<ul>\n<li>symaccess -sid 1313 list &#8211; List all Initiator, Port and Storage Groups Created for Array 1313<\/li>\n<li>symaccess -sid 1313 list -v &#8211; List all Initiator, Port and Storage Groups Created for Array 1313 along with related Masking Views<\/li>\n<li>symaccess -sid 1313 list -type storage &#8211; List all Storage Groups Created for Array 1313<\/li>\n<li>symaccess -sid 1313 list -type initiator &#8211; List all Initiator Groups Created for Array 1313<\/li>\n<li>symaccess -sid 1313 list -type port &#8211; List all Port Groups Created for Array 1313<\/li>\n<li>symaccess -sid 1313 list view &#8211; List masking views Created for Array 1313 with related groups details<\/li>\n<li>symaccess -sid 1313 list assignment -dev 9A0:9AF &#8211; Shows the masking details of devices from 9A0 to 9AF<\/li>\n<li>symaccess -sid 1313 list no_assignments -dirport 12f:1 &#8211; Shows the devices are mapped to 12f:1 but not masked<\/li>\n<li>symaccess -sid 1313 list -name MyGroup &#8211; List all groups named MyGroup<\/li>\n<li>symaccess -sid 1313 list -name MyGroup -v &#8211; List all groups named MyGroup and also shows the related Masking Views<\/li>\n<li>symaccess -sid 1313 list devinfo -ig MyInitiator &#8211; List the details of devices assigned to the initiatorgroup MyInitiator<\/li>\n<li>symaccess -sid 1313 show MyStorageGroup -type storage &#8211; Shows the contents of storage group MyStorageGroup Created on Array 1313<\/li>\n<li>symaccess -sid 1313 show MyInitiatorGroup -type initiator &#8211; Shows the contents of initiator group MyInitiatorGroup Created on Array 1313<\/li>\n<li>symaccess -sid 1313 show MyPortGroup -type port &#8211; Shows the contents of port group MyPortGroup Createdon Array 1313<\/li>\n<li>symaccess -sid 1313 show view MyView &#8211; Shows the contents of view MyView Created on Array 1313<\/li>\n<li>symaccess -sid 1313 -f MyBackup.txt backup &#8211; Creates a file MyBackup containing all the group and view information currently on the Symmetrix array 1313<\/li>\n<li>symaccess -sid 1313 -f MyBackup.txt restore &#8211; Restores all the group, view and security information from the specified backupup file<\/li>\n<li>symaccess -sid 1313 -type initiator -name Host1 create -wwn 1000000000000001 &#8211; Creates and initiator group called Host1 by adding the specified wwn<\/li>\n<li>symaccess -sid 1313 -type initiator -name Host1 add -wwn 1000000000000002 &#8211; Add the specified wwn in to the existing initiator group Host1<\/li>\n<li>symaccess -sid 1313 -type port -name 3E0_4E0_13E0_14E0 -dirport 3e:0,4e:0,13e:0,10e:0 create &#8211; Create the portgroup E0_4E0_13E0_14E0 with specified ports<\/li>\n<li>symaccess -sid 1313 -type storage -name Host1 create devs AAA:AAB &#8211; Create the storage group Host1 with specified range of devices<\/li>\n<li>symaccess -sid 1313 -type storage -name Host1 add devs AAA:AAB &#8211; Create the storage group Host1 with specified range of devices<\/li>\n<li>symaccess -sid 1313 create view -name Host1_Allocation -sg Host1 -pg 3E0_4E0_13E0_14E0 -ig Host1 &#8211; Create a masking view combined with specified groups<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Symaccess Command Summary of the most commonly used symaccess commands with examples. symaccess -sid 1313 list &#8211; List all Initiator, Port and Storage Groups Created for Array 1313 symaccess -sid 1313 list -v &#8211; List all Initiator, Port and Storage Groups Created for Array 1313 along with related Masking Views symaccess -sid 1313 list -type\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.interscape.io\/blog\/commands\/symaccess-command.html\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":36,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[42,69,93,68],"class_list":["post-114","post","type-post","status-publish","format-standard","hentry","category-commands","tag-emc","tag-symaccess","tag-symmetrix","tag-vmax"],"_links":{"self":[{"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/posts\/114","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\/36"}],"replies":[{"embeddable":true,"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/comments?post=114"}],"version-history":[{"count":9,"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions"}],"predecessor-version":[{"id":485,"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions\/485"}],"wp:attachment":[{"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/media?parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/categories?post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.interscape.io\/blog\/wp-json\/wp\/v2\/tags?post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}