symm cmds
TRANSCRIPT
-
8/6/2019 symm cmds
1/2
symcfg list -fa all-da all
list -memory
symdisk listsymdisk list -hotsparesymdev list
list -noports
symmask list capacity -host xxxxx
symcfg list -available -address -fa 7c -p 0
In text file: firstlun.txtmap dev 04f8 to dir 7c:0 lun=0e5map dev 04f8 to dir 10c:0 lun=0e5
symconfigure -f mapdev firstlun.txt previewsymconfigure -f mapdev firstlun.txt preparesymconfigure -f mapdev firstlun.txt commit
symmaskdb -sid list capacity -host *hostname*
symmask -sid -wwn *wwpn0 of host* -dir 7c -p 0 add devs 04f8 -lun 0e5symmask -sid -wwn *wwpn1 of host* -dir 7c -p 0 add devs 04f8 -lun 0e5
symmask -sid refreshsymmaskdb list assignments -devs 016b
symmask -sid -wwn *host wwpn* -dir 7c -p 0 remove devs 04f8
in unmap.txtunmap dev 04f8 from dir 7c:0;unmap dev 04f8 from dir 10c:0;
symconfigure -sid -f unmap.txt previewsymconfigure -sid -f unmap.txt commit
from meta dev 04df, config=striped, stripe_size=1920;add devs 04e7 to meta 04df;
add devs 04ea to meta 04df;add devs 04F8 to meta 04df;
meta.txtform meta from dev 04df, config=striped, stripe_size=1920;add dev 04EA to meta 04df;add dev 04ex to meta 04df;
===========================================================
commands
symconfigure -sid 1135 list -v -> For detailed information about a Symmetrix co
nfigurationsymdisk -sid 1135 list less -> Displays the capacity of the disksymconfigure -sid 397 -cmd "create dev count=1, size=220, config=2-Way-Mir, emul
-
8/6/2019 symm cmds
2/2
ation=FBA, disk_group=3;" commit-> creates one 2-Way-Mir FBA device in disk group 3
symconfigure query -> TO monitor configuration change session
symcfg list -connections -> allows you to see the host connections to a Symmetrix array
symdev list -sid 120 -noport -> displays devices that are not yet mapped to anyfront-end port.
====> Maping lunvi map_dev.cmdmap dev 09B to dir 04B:0, lun=00B;map dev 09C to dir 04B:0, lun=00C;map dev 09D to dir 04B:0, lun=00D;map dev 09E to dir 04B:0, lun=00E;
symconfigure -sid 120 -file map_dev.cmd -v -noprompt commit=================================================================
P) Automatic update of the local SYMAPI database occurs for all configuration changes except mapping changes
P) EMC 50:xx:xx:......Emulex 10:xx:xx:......Qlogic 21:xx:xx:......
========================================
Symmetrix Configuration :
1. Verify that the current Symmetrix configuration is a viable configuration for
host-initiated configuration changes. The command below will return successfully if the Symmetrix is ready for configuration changes.
# symconfigure verify -sid SymmID
2. Free physical disk space can be checked using the command:
# symconfigure list -freespace [-units CYLINDERSMB] -sid SymmID
3. Querying Configuration Change Sessions
# symconfigure -sid 207 query
4. Termination of Configuration Change Commands
# symconfigure sid abort session_id