below command to check failed disk in RG
942 symdev -sid 599 list -datadev -v |grep Degraded
943 symdev -sid 599 list -datadev -v |grep -i failed
943 symdev -sid 599 list -datadev -v |grep -i failed
symcli command for VMAX operations.
VMAX3 lun decom, we need to free all devs to delete
VMAX3 lun decom, we need to free all devs to delete
symdev -sid 123-devs 028F free -all
******************************************
symaccess show IG_SERVER01 -type init -sid 1234 -detail
symcfg -sid 740 list -tdev -bound -gb -detail |more
*************************************
symcfg -sid 740 list -tdev -bound -gb -detail |more
*************************************
lun id reset command
If we wish to remove this identity, this is a disruptive process. You can do
the following to reset the identity:
- Take devices offline to the host and then remove them
from their current storage group
- Issue the command: ‘symdev set -no_identity
<dev>’ against each device
- Add the devices back to the storage group and rescan on
the host
- Confirm that the correct identity is now seen in syminq
*********************************************
Decomission Process
Start
symaccess -sid 589 list devs 0B81 -type storage
symdev -sid 589 not_ready -dev 0B81
symconfigure -sid 589 -cmd "unbind tdev 0B81 from pool F15_R5_02_1B;" prepare
symconfigure -sid 589 -cmd "unmap dev 0B81 from dir all:all;" prepare
symcfg -sid 589 list -tdev -gb |grep -i u
symdev -sid 589 list -tdev -unbound to check the status
symconfigure -sid 589 -cmd "dissolve meta dev 0B81 ;" prepare
symconfigure -sid 589 -cmd "delete dev 0B81:0B84;" prepare
symdev -sid 1234 -dev AAA:AAC,DDD unbind (to unbind multiple devs)
Done
***********************************************
to check tdev lun utilization
symcfg -sid 1234 list -tdev -gb -sg SG_ABCD -detail
**********************************************
symcfg -sid 123 show -pool F15_R5_02_1B -thin -detail
symconfigure -sid 123 -cmd "set pool F15_R5_02_1B, type=thin, max_subs_percent=400;" prepare
symconfigure -sid 123 -cmd "set pool F15_R5_02_1B, type=thin, max_subs_percent=400;" commit
**********************************************
Steps to dissolve tdev:
symconfigure -sid 1234 -cmd "unbind tdev 4444 from pool abcd_abcd_pool; " prepare
symconfigure -sid 1234 -cmd "unmap dev 4444 from dir all:all;" commit
symcfg -sid 1234 list -tdev -gb |grep -i u
symconfigure -sid 1234 -cmd "dissolve meta dev 4444 ;" commit
symconfigure -sid 1234 -cmd "delete dev 4444 ;4449;" prepare
***************************************************
symdisk -sid 124 list -failed
symconfigure -sid 1234 -cmd "unbind tdev 165 from pool F10_R6_05_2B; " commit
symdev -sid 1234 not_ready -dev 165
symdev -sid 1234 write_disable -dev 165
symdev -sid 1234 rw_enable -dev 165
symaccess -sid 123 list -type init -wwn 00000000000000000
symdev -sid 589 list -unbound -tdev -nomember (to check unbound luns)
symcfg list (check storage device)
symmaskdb -sid 123 list assignment -dev 00C3F
symmaskdb -sid 123 list devs -wwn 000000000000000
symmask -sid 123 list logins -wwn 000000000000000 -v
symcfg -sid 123 list -dir 3d -p 0 -v
symmask -sid 123 -wwn 000000000000000 -dir 3d -p 0 set hba_flag on SPC2 -enable
symmask -sid 123 -wwn 000000000000000 -dir 14d -p 0 set hba_flag on SPC2 -enable
symmask -sid 123 refresh
symdev -sid 3197 list -diskgroup 10
symcfg -sid 3197 list -pool -thin -GB (check thin pools)
vi create_tdev
cat create_tdev
symconfigure -sid 3197 -f create_tdev commit
symconfigure -sid 123 -cmd "delete dev lunids" -commit
symaccess -sid id list logins -wwn wwpn
symaccess -sid id rename -wwn -alias gtams/fiki(name)
symaccess -sid 123 -wwn 0000000000000000 -dir
symaccess -sid 123 -ig dfdgdg
symconfigure -sid 3197 -f create_tdev prepare
symconfigure -sid 3197 -f disolve_meta prepare
symdev -sid 123 show lunid |grep
symaccess -sid 123 create -name abc -type storage
symaccess -sid 123 add -name abc -type storage devs 1004,
symaccess -sid 123 create view -name -def -ig abc -pg portgroupname
symaccess -sid 123 list view -v |grep -i gtams
symaccess -sid 123 delete view -name def
symaccess -sid
symsg show -sid 123 abc
symdisk -sid 123 list -failed (check failed disk)
symdisk -sid 123 list -isspare
symcfg -sid 124 list -env_data -v (check environment status)
symaccess -sid 123 - name IG_gtams -type init ass -wwn wwpns
symsg -sid 123 -sg abc removeall -dev 1078,107C
symsg -sid 123 show abc
naviseccli
symcfg -sid 124 list -sa all
symaccess -sid 123 show view MV_ESX123 (to see host lun id)
symaccess -sid 123 show IG_esx123 -type init (to see wwn on IG)
symaccess -sid 123 list -dev 0818 -type storage (to see lun is mapped to which SG group)
Steps to dissolve tdev:
symconfigure -sid 1234 -cmd "unbind tdev 4444 from pool abcd_abcd_pool; " prepare
symconfigure -sid 1234 -cmd "unmap dev 4444 from dir all:all;" commit
symcfg -sid 1234 list -tdev -gb |grep -i u
symconfigure -sid 1234 -cmd "dissolve meta dev 4444 ;" commit
symconfigure -sid 1234 -cmd "delete dev 4444 ;4449;" prepare
***************************************************
symdisk -sid 124 list -failed
symconfigure -sid 1234 -cmd "unbind tdev 165 from pool F10_R6_05_2B; " commit
symdev -sid 1234 not_ready -dev 165
symdev -sid 1234 write_disable -dev 165
symdev -sid 1234 rw_enable -dev 165
symaccess -sid 123 list -type init -wwn 00000000000000000
symdev -sid 589 list -unbound -tdev -nomember (to check unbound luns)
symcfg list (check storage device)
symmaskdb -sid 123 list assignment -dev 00C3F
symmaskdb -sid 123 list devs -wwn 000000000000000
symmask -sid 123 list logins -wwn 000000000000000 -v
symcfg -sid 123 list -dir 3d -p 0 -v
symmask -sid 123 -wwn 000000000000000 -dir 3d -p 0 set hba_flag on SPC2 -enable
symmask -sid 123 -wwn 000000000000000 -dir 14d -p 0 set hba_flag on SPC2 -enable
symmask -sid 123 refresh
symdev -sid 3197 list -diskgroup 10
symcfg -sid 3197 list -pool -thin -GB (check thin pools)
vi create_tdev
cat create_tdev
symconfigure -sid 3197 -f create_tdev commit
symconfigure -sid 123 -cmd "delete dev lunids" -commit
symaccess -sid id list logins -wwn wwpn
symaccess -sid id rename -wwn -alias gtams/fiki(name)
symaccess -sid 123 -wwn 0000000000000000 -dir
symaccess -sid 123 -ig dfdgdg
symconfigure -sid 3197 -f create_tdev prepare
symconfigure -sid 3197 -f disolve_meta prepare
symdev -sid 123 show lunid |grep
symaccess -sid 123 create -name abc -type storage
symaccess -sid 123 add -name abc -type storage devs 1004,
symaccess -sid 123 create view -name -def -ig abc -pg portgroupname
symaccess -sid 123 list view -v |grep -i gtams
symaccess -sid 123 delete view -name def
symaccess -sid
symsg show -sid 123 abc
symdisk -sid 123 list -failed (check failed disk)
symdisk -sid 123 list -isspare
symcfg -sid 124 list -env_data -v (check environment status)
symaccess -sid 123 - name IG_gtams -type init ass -wwn wwpns
symsg -sid 123 -sg abc removeall -dev 1078,107C
symsg -sid 123 show abc
naviseccli
symcfg -sid 124 list -sa all
symaccess -sid 123 show view MV_ESX123 (to see host lun id)
symaccess -sid 123 show IG_esx123 -type init (to see wwn on IG)
symaccess -sid 123 list -dev 0818 -type storage (to see lun is mapped to which SG group)
symaccess
Specifically using for Vmax Allocation to do various operations on Masking view and related Groups under Vmax commands.
- symaccess -sid 1234 listList all Initiator, Port and Storage Groups Created for Array 1234
- symaccess -sid 1234 list -vList all Initiator,Port and Storage Groups Created for Array 1234 along with related Masking Views
- symaccess -sid 1234 list -type storageList all Storage Groups Created for Array 1234
- symaccess -sid 1234 list -type initiatorList all Initiator Groups Created for Array 1234
- symaccess -sid 1234 list -type portList all Port Groups Created for Array 1234
- symaccess -sid 1234 list viewList masking views Created for Array 1234 with related groups details
- symaccess -sid 1234 list assignment -dev 9A0:9AFShows the masking details of devices from 9A0 to 9AF
- symaccess -sid 1234 -wwn xxxx replace -new_wwn yyyyReplace all occurance of wwn xxxx with yyyy in array 1234
- symaccess -sid 1234 list logins -wwn xxxxCheck whether wwn xxx logged in to any of the FAs on array 1234.
- symaccess -sid 1234 list -type initiator -wwn xxxxCheck whether the HBA WWN xxxx is a member of any Initiator Group.
- symaccess -sid 1234 list -type storage -dev AAACheck whether the HBA WWN xxxx is a member of any Initiator Group.
- symaccess -sid 1234 list no_assignments -dirport 12f:1Shows the devices are mapped to 12f:1 but not masked.
- symaccess -sid 1234 list -name MyGroupList all groups named MyGroup
- symaccess -sid 1234 list -name MyGroup -vList all groups named MyGroup and also shows the related Masking Views
- symaccess -sid 1234 list devinfo -ig MyInitiatorList the details of devices assigned to the initiatorgroup MyInitiator
- symaccess -sid 1234 show MyStorageGroup -type storageShows the contents of storage group MyStorageGroup Created on Array 1234
- symaccess -sid 1234 show MyInitiatorGroup -type initiatorShows the contents of initiator group MyInitiatorGroup Created on Array 1234
- symaccess -sid 1234 show MyPortGroup -type portShows the contents of port group MyPortGroup Createdon Array 1234
- symaccess -sid 1234 show view MyViewShows the contents of view MyView Created on Array 1234
- symaccess -sid 1234 -f MyBackup.txt backupCreates a file MyBackup containing all the group and view information currently on the Symmetrix array 1234
- symaccess -sid 1234 -f MyBackup.txt restoreRestores all the group
- symaccess -sid 1234 -type initiator -name Host1 create -wwn 1000000000000001Creates and initiator group called Host1 by adding the specified wwn
- symaccess -sid 1234 -type initiator -name Host1 rename -new_name Host2Rename 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 createCreate 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_14E1Rename the Port Gorup 3E0_4E0_13E0_14E0 as 3E1_4E1_13E1_14E1
- symaccess -sid 1234 -type storage -name Host1 create devs AAA:AABCreate the storage group Host1 with specified range of devices
- symaccess -sid 1234 -type storage -name Host1 add devs AAA:AABCreate the storage group Host1 with specified range of devices
- symaccess -sid 1234 -type storage -name Host1 remove devs AAA:AABRemove the device AAA to AAB from storage group Host1
- symaccess -sid 1234 -type storage -name Host1 remove devs AAA:AAB -unmapRemove 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 Host2Rename the Storage Gorup Host1 as Host2
- symaccess -sid 1234 create view -name Host1_Allocation -sg Host1 -pg 3E0_4E0_13E0_14E0 -ig Host1Create a masking view combined with specified groups
- symaccess -sid 1234 view -name Host1_Allocation rename -new_name Host2_AllocationRename name of view Host1_Allocation as Host2_Allocation
- symaccess -sid 1234 delete view -name Host1_AllocationDelete view Host1_Allocation.
- symaccess -sid 1234 delete view -name Host1_Allocation -unmapDelete view Host1_Allocation and also unmap all the device in associated storage group.
- symconfigure -sid 1234 list -freespace -units mbShows the Formatted and Unformatted freespace in MegaBytes on array 1234
- symconfigure -sid 1234 -f command_file.txt previewValidates 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 removeRemove 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 removeRemove 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 removeRemove HBA WWN ‘xxxx’ from Initiator Group ‘IG_Server_A’
- symaccess -sid 1234 -name IG_Servers -type initiator -ig IG_Server_A removeRemove Initiator Group ‘IG_Server_A’ from parent Initiator Group ‘IG_Servers’
- symaccess list hbaShows the wwn of the local HBA and the devices assigned to those.
- symaccess -sid 1234 view -name Host1_Allocation rename -new_name Host2_AllocationRename name of view Host1_Allocation as Host2_Allocation
- symaccess -sid 1234 -f Total_views backupThis command will backup all the Maksing Views information for array 1234 to file Total_views.
- symaccess -sid 1234 -f Total_views restoreThis 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 1000000000000002Add another HBA WWN to the existing Initiator group(IG) “Host1″.
- symaccess -sid 1234 -type port -name MyPorts add -dirport 6e:0Add an aditional port 6e:0 to the existing port group(PG) “MyPorts”.
- symaccess -sid 1234 -type initiator -name Host1_Host2_IG add -ig Host2_IGAdd a child Initiator Group(Host2_IG) to the parent Initiator Group(Host1_Host2_IG).
- symaccess -sid 1234 show MyInitiatorGroup -type initiator -detailBy 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 -detailThis 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_IGDisplays 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:1Delete the wwn 1000000000000001 on port 6g:1 from the login history table of vmax 1234
symsg
Performs variuos operations like create,list,show,export,copy on Storage Groups(SG) in a Vmax Commands
- symsg -sid 1234 listLists 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 -vthe -v options displays the member devices of Storage Groups along with other details given by list.
- symsg -sid 1234 create MyStorageGroupCreate a new SG,’MySrorageGroup’ in Vmax Array 1234
- symsg -sid 1234 delete MyStorageGroupDeletes the empty SG ‘MySrorageGroup’ from 1234.The SG should not be associated with any Masking View.
- symsg -sid 1234 delete MySrorageGroup -forceDeletes the SG ‘MySrorageGroup’ which contains devices but not associated with any Masking View.
- symsg -sid 1234 show MyStorageGroupShows the devices in MyStorageGroup along with its Masking View and FAST Policy association status.
- symsg -sid 1234 export MyStorageGroup -file mystoragegroup.txtexport the device information from SG to the text file.
- symsg -sid 1234 exportall -storagegroups.txtexports the device information from all the SGs from 1234 array to the text file storagegroups.txt
- symsg -sid 1234 import MyStorageGroup -file MystorageGroup.txtCreate SG ‘MyStorageGroup’ from the earlier exported file MystorageGroup.txt.
- symsg -sid 1234 importall -file MystorageGroups.txtCreate 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 MyNewStorageGroupRename SG MyStorageGroup to MyNewStorageGroup
- symsg -sid 1234 -sg MyStorageGroup readySet the status of all devices in SG ‘MyStorageGroup’ to READY.
- symsg -sid 1234 -sg MyStorageGroup not_readyChange the status of all the devices in SG ‘MyStorageGroup’ from READY to NOT READY.
- symsg -sid 1234 -sg MyStorageGroup rw_enableWrite enable all the devices in SG ‘MyStorageGroup’
- symsg -sid 1234 -sg MyStorageGroup write_disableWrite Disable all the devices in SG ‘MyStorageGroup’
5 comments:
301 Moved Permanently
[url=https://www.viagrapascherfr.com/]Show more...[/url]
[url=http://roni.samsbuzz.com/roni/member.php?action=profile&uid=4225]buy online ABBYY FineReader 9.0 Professional[/url]
[url=http://s13.zifboards.com/RSM_CUSTOMER_SERVICE/index.php?showuser=396697]buy MacItBetter BetterZip 2[/url]
[url=http://p2pcloudmining.com/community/member.php?action=profile&uid=8930]buy online Autodesk AutoCAD 2014[/url]
[url=http://obuv-rostov.ru/forum/user/67302/]buy online Avanquest PowerDesk Pro 7[/url]
[url=http://misericordiaaguiardabeira.pt/index.php/component/users/?option=com_k2&view=itemlist&task=user&id=34125]cheap Autodesk AutoCAD Civil 3D 2015[/url]
[url=http://www.marocconseil.ma/forum/member.php?action=profile&uid=16334]where to buy Microsoft Streets & Trips 2009[/url]
[url=http://www.802poker.com/member.php?action=profile&uid=2175]buy Adobe Photoshop CS6 Extended Student And Teacher Edition[/url]
[url=http://forum.kacikhani.net/memberlist.php?mode=viewprofile&u=20285]discount Adobe Photoshop CS6 Top 100 Simplified Tips and Tricks[/url]
[url=http://chameleon.org.il/phpBB2/profile.php?mode=viewprofile&u=28965]with discount EndNote X7[/url]
[url=http://www.oimaa.club/user-2898.html]purchase online Perfect Photo Suite 9[/url]
[url=http://teamfastlane.com/Forum/index.php?action=profile;u=171898]with cheap price Intuit TurboTax 2009 Deluxe[/url]
[url=http://rdlforum.just2guys.net/profile.php?id=90118]purchase Blackmagicdesign DaVinci Resolve 7[/url]
[url=http://classicerotic.ml/member.php?action=profile&uid=4807]buy ACDSee Video Studio 1.0[/url]
[url=http://www.zonagol.com.mx/foros/profile.php?mode=viewprofile&u=443927]buy Adobe Captivate 9[/url]
[url=http://underholdningskontoret.no/forum/member.php?action=profile&uid=3091]buy Nik Software Dfine 2.0[/url]
[url=http://chameleon.org.il/phpBB2/profile.php?mode=viewprofile&u=28965]purchase on line Autodesk AutoCAD 2008[/url]
[url=http://vntong.ru/index.php?option=com_k2&view=itemlist&task=user&id=44614]buy Stellar Phoenix Data Recovery v4[/url]
[url=http://www.zonagol.com.mx/foros/profile.php?mode=viewprofile&u=443927]cheap price Adobe Photoshop Lightroom 6[/url]
how do payday loans work payday loans near me <a href="http://cashadvances2017.com"> payday loans near me</a> [url=http://cashadvances2017.com]payday loans online[/url] payday loans bad credit
Excellent weblog here! Additionally your website so much up fast!
What host are you the use of? Can I am getting your associate hyperlink
on your host? I want my web site loaded up as fast as yours lol
Hi, I do think this is an excellent site. I stumbledupon it ;) I
will come back once again since i have book marked it.
Money and freedom is the best way to change,
may you be rich and continue to help others.
Post a Comment