SL No
|
Command
|
Usage
|
1
|
Symcli
|
To
display the solution enabler version
|
2
|
symcfg list
|
How
many symmetrix are connected to server
|
3
|
symconfigure
|
Symmetrix
configuration details
|
4
|
symcfg list -sid 412 – memory
|
display
total memory to usable of symmetrix box slot wise and total cache memory
|
5
|
symcfg list -sid 412 –cache
|
to
display the cache memory
|
6
|
symcfg list -sid 412 -dir all
|
to
display all directories to particular symmetrix box
it
displays front and back ports only
|
7
|
symcfg list -sid 412 –fa all
|
to
display front end ports only of particular symmetrix box
|
8
|
symcfg list -sid 412 –da all
|
to
display back end ports only of particular symmetrix box
|
9
|
symcfg list -sid
412 -fa 4b
|
to
display particular port processor’s ports details
|
10
|
symcfg list -sid 412 -dir 4b –p 0
|
to display the particular processor’s
particular port details
|
11
|
symcfg list
–sid 412 -dir 4b -p 0 –v
|
to
know full information about particular port of particular director
|
12
|
symcfg list -sid
412 -fa all |grep -i FA |wc –l
|
to
display no of particular ports of symmetrix
|
13
|
symcfg list
-sid 412 -dir 4b -p 0 -v |more
|
|more
means filtering
|
14
|
symcfg list -sid
412 -fa 8a
|
to
display frontend ports of 8th director a processor
|
15
|
symcfg list -sid
412 -dir 8a
|
to
know the particular director’s processor details
|
16
|
symcfg list -sid
412 -dir 8a -p 0
|
to
know the particular symmetrix particular director’s particular port status
|
17
|
symcli –h
|
Provides a brief description of all the
commands included in the Symmetrix Command Line Interface (SYMCLI) and the
environment variables.
|
18
|
symcfg discover
|
When
new host entered into fabric, to check whether it is exist or not.
|
19
|
symcfg
list -sid 412 -env _data |more
|
to
check health of symmetrix
|
20
|
symdisk
list -sid 412 |more
|
to display the all disks
information in the particular symmetrix box
|
21
|
symdisk
list -sid 412 -da 1a
|
to display the all disks
connected through particular director and particular processor
|
22
|
symdisk list -sid 412 by _disk_gropup
|
it displays particular
symmetrix details by disk group wise
|
23
|
symdisk
list -sid 412 -disk _group 0
|
it displays particular symmetrix details by
particular disk group wise
|
24
|
symdisk
list -sid 412 -dskgrp _summary
|
to display the summary of disk group
i.e. speed , size, total
size , free size, actual size
|
25
|
symcfg
list -sid 412 -env _data –service_state failed/normal/degrade
|
To display failed/degrade/normal
information like port, processor…
|
26
|
symdisk list
|
To display all disks of
all drives in a fabric
|
27
|
symcfg
list -sid 412 -env _data -service _state normal
|
|
28
|
create
dev count=2 config=raid-5 data_member_count=3 size=1100 emulation=fba
disk_group=0; symconfigure -sid 450 -f
suresh preview
or
symconfigure
-sid 412 -cmd "create dev count=2 size=1100 emulation= fba config=raid-5
data_member _count =3 disk_group=0"; preview
|
|
29
|
symconfigure
-sid 450 list -freespace
|
to know how much disk formatted space is
there in cylenders
|
30
|
symdev
list -sid 450 |more
|
to display in particular symmetrix box how
many luns are there by page wise
|
31
|
symdev list -sid 450
|
to display in particular
symmetrix box how many luns are there
|
32
|
symdev
list -sid 450 -raid5
|
it gives all luns
configured by raid-5
|
33
|
symdev
list -sid 450 -raid1 |more
|
it gives all luns
configured by raid-1
|
34
|
symdev list -sid 450 -raid5 -cap 5756
|
it gives the luns which
have capacity 5756 with raid-5
|
35
|
symdev
show 17AD -sid 450 |more
|
it display the total
information about lun 17AD
|
36
|
symdev
list -noport -sid 450 |more
|
it displays free luns
which are not mapped
|
37
|
symdev list -sid 450 -noport -raid5
|
it displays all luns
which are not mapped and have raid5 configuration
|
38
|
symdev list -noport -sid 450 |more
|
to
see free luns of particular symmetrix
|
39
|
symdev list -sid 450 -noport -raid5
|
to know free
luns belongs to raid-5 for particular symmetrix box
|
40
|
symdev list -sid 450 -
raid5 -cap 5756
|
to know particular raid
and particular capacity luns are available or not
|
41
|
symconfigure -sid 450 list
-freespace
|
to know is there free space is available or
not in the particular box related to FBA
|
42
|
symdisk list -sid 188
-dskgrp_summary
|
to
know all disk groups capacities (free space, total space, actual space and
size)
|
43
|
symconfigure -sid 188 -cmd
"cretate dev count=3 size=3000 MB emulation=fba disk _group=2;" preview
|
to
create luns to particular symmetrix box
|
44
|
symconfigure -sid 188 -cmd "
create dev count=2 config=raid-5 data_member_count=3 size=3000MB
emulation=fba disk_group=2;" commit
|
to create luns to particular symmetrix box
|
45
|
symcfg list -fa all -sid 188
|
Find
out all front end ports of particular symmetrix box
|
46
|
symmask list logins -sid 188 -wwn
10000000C94248AF (hba0 of host)
|
Find
out which hba port is connected to which storage front end port
|
47
|
symmask list logins -sid 188 -wwn
10000000C94046EC (hba1 of host)
|
Find
out which hba port is connected to which storage front end port
|
48
|
symcfg list -fa all -sid 188
|
Find
out front end ports wwpns of particular symmetrix box
|
49
|
symmask list logins -sid 188 -dir 13
-p 0 (for port A)
|
Check
on a particular port which servers are connected.
|
50
|
symmask list logins -sid 188 -dir
13b -p 0 (for port B)
|
Check
on a particular port which servers are connected.
|
51
|
symcfg list -sid 188 -dir 4b -p 0
-addr –avail
|
to
know the available addresses
|
52
|
# cat > map
map dev 2743 to dir 4b:0
target=0 lun=21;
map dev 2744 to dir 4b:0
target=0 lun=22;
^D
symconfigure -sid 188 -f
map commit
|
Map the lun with available lun address.
|
53
|
symmask -sid 188 -wwn
10000000C94046EC -dir 4b -p 0 add dev
2743:2744
|
to
mask the lun to particular director’s port
|
53
|
symmask -sid 188 delete -wwn
50060482cafe1b33
|
to delete initiator from
masking entry
|
54
|
symconfigure -sid 188 list –freespace
|
it gives formatted
and unformatted space in the particular symmetrix box
|
55
|
symcfg -sid 188 offline -SaAsa 4b -p
0 or symcfg -sid 188 offline -fa 4b -p
0
|
to offline the
particular port
|
56
|
56. symconfigure -sid 188 -cmd
"set port 4b:0 vcm_state=enable;" commit
|
to
enable the VCM state of particular port
|
57
|
symconfigure –sid 111 –cmd “set port
4b:0 vcm_state=enable;” commit.
|
To
enable the VCM state.
|
58
|
symconfigure –sid 111 –cmd “set port
4b:0 vcm_state=disable;” commit.
|
To
disable the VCM state.
|
59
|
symmaskdb
list devs –wwn xxx –sid xxx
|
It
gives how many luns are there in masking.
|
60
|
symmask list logins –wwn xxx –sid xxx
|
|
61
|
symmask list hba –sid xxx
|
It
gives how many hbas are connected to my symmetrix and what are they.
|
62
|
symcfg list –sid xxx –dir 2A –p 0 –v
|
to
know VCM state is enable or not to my particular port of particular symmetrix
box
|
63
|
symmaskdb
list assignment –dev xxx –sid xxx
|
To
know that a lun connected to how many servers.
|
64
|
symmask –sid xxx –wwn xxx –dir 7a –p 0
remove dev xxx.
|
to unmask a
device from director’s port
|
65
|
symmask
refresh –sid xxx
|
To refresh masking database.
|
66
|
66.
symdev list –sid xxx |grep
|
To know the
mapping devices.
|
67
|
symdev
–sid xxx list not_ready
|
to know unmapped devices
|
68
|
symconfigure
–sid xxx –cmd”unmap dev xxx from dir 7a:0;” commit
|
to un map the lun from particular director’s port
|
69
|
symdevlist
–sid xxx | grep
|
to check the device is un mapped or not
|
70
|
symmaskdb
list devs –wwn xxx
|
it gives the luns allocated to particular server
|
71
|
symmask
list –disk_group “disk no”.
|
To display description about disk group.
|
72
|
72.
symdisk list –hotsphere
|
To know about hotsphere disks.
|
73
|
echo|format
|
|
74
|
powerempty
display dev=emcpower 999
|
|
75
|
form
meta from dev device1 config=concatenated;
add
dev device2 to meta device1.
Ex:
form meta dev 1 config=concatenation;
add dev 2 to meta 1
|
To form meta lun using concatenation.
|
76
|
form
meta from dev device1 config=stripped stripe_size=1920;
add
dev device2 to meta device1.
Ex: form meta dev 1 config=striping strpe_size=1920;
add dev 2 to meta 1
|
To form meta lun using striping.
|
77
|
symdev
show deviceno|more
Ex: symdev show 2660|more
|
It gives detailed information about lun.
|
78
|
symmask
–sid xxx replace old_wwpn –wwn new_wwpn.
Ex:
symmask –sid xxx replace 10:00:01 –wwn 10:00:02
|
To replace the new wwpn in the place of old wwpn in
masking.
|
79
|
symaccess
list logins –wwpn 10:00:01
|
to see port login or not
|
80
|
symaccess
–sid xxx create -type init –name h1_ig –wwpn 10:00:01
|
to create initiator group
|
81
|
symaccess
–sid xxx add -type init –name h1_ig –wwpn 10:00:02
|
to add initiator member to initiator group
|
82
|
Symaccess
–sid xxx remove -type init –name h1_ig –wwpn 10:00:02
|
to remove initiator member from initiator group
|
83
|
Symaccess
–sid xxx delete -type init
–name h1_ig
|
to delete entire initiator group
|
84
|
symaccess
–sid xxx show h1_ig type init
|
to see initiator group details
|
85
|
symaccess
–sid xxx list -wwn 10:00:01 –type init
|
to know the port belongs to which initiator group
|
86
|
symaccess
–sid xxx create -type port –name h1_pg –dirport 7E:0;8E:0
|
– for non sequential
ports
|
87
|
symaccess
–sid xxx create -type port –name h1_pg –dirport 7E:0:8E:0
|
– for sequential ports
|
88
|
symaccess
–sid xxx create -type port –name h1_pg –dirport 7E:0
|
– for single port
Use:
to create port group
|
89
|
symaccess
–sid xxx add -type port –name h1_pg –dirport
8E:0
|
to add port member to port group
|
90
|
symaccess
–sid xxx remove -type port –name h1_pg –dirport
8E:0
|
to remove port member from port group
|
91
|
symaccess
–sid xxx delete -type port –name h1_pg
|
to delete entire port group
|
92
|
symaccess
–sid xxx show -type port –name h1_pg
|
to see port group details
Use: To know
port belongs to which port group:
|
93
|
symaccess
–sid xxx list –dirport 7E:0 –type port
|
to know the port belongs to which port group
|
94
|
symaccess
–sid xxx create -type storage –name h1_sg
–dev 1AC;1AD
|
– for non sequential
luns
|
95
|
symaccess
–sid xxx create -type storage –name h1_sg –dev 1AC:1AD
|
– for sequential luns
|
96
|
symaccess
–sid xxx create -type storage –name h1_sg
–dev 1AC
|
– for single luns
Use:
to create storage group
|
97
|
symaccess
–sid xxx add -type storage –name h1_sg
–dev 1AC
|
to add lun to storage group
|
98
|
symaccess
–sid xxx remove -type storage –name h1_sg
–dev 1AC
|
to remove lun from storage group
|
99
|
symaccess
–sid xxx delete -type storage –name h1_sg
|
to delete entire storage group
|
100
|
symaccess
–sid xxx show -type port –name h1_pg
|
to see storage group details
|
101
|
symaccess
–sid xxx list –dev 1AC –type storage
|
to know the lun belongs to which storage group
|
102
|
symaccess
–sid xxx create view –name h1_view –ig h1_ig –pg h1_pg –sg h1_sg
|
To create view
|
103
|
symcfg list –sid xxx –pool –thin
|
To check is there any existed pools available.
|
104
|
symconfigure
–sid xxx –cmd”create pool pool_name type=thin;” commit.
Ex: symconfigure –sid 234 –cmd”create pool Sridhar
type=thin;” commit.
|
creating thin pool
|
105
|
symcfg
list –sid xxx –pool –thin
|
to check pool is created or not
|
106
|
symconfigure
–sid xxx list –freespace
|
to check available free space in a symmetrix box
|
107
|
symdisk
list –sid xxx –dskgrp_summary
|
To check how much free space is available on each
disk group.
|
108
|
cat
is command to create a file.
#cat>
#cat>
create_dev -- it creates a file named as create_dev.
#cat>
create_dev create dev count=2 config=raid-5 data_member_count=3 size=5000
emulation=fba disk_group=1 attribute=datadev;
|
to create data dev.
|
109
|
create
dev count=4 config=tdev size=10000 emulation=fba;
|
To create thin devices.
|
110
|
symdev
list –datadev –sid xxx –nonpooled.
|
To check free devices or to check is data devices are
member of any pool.
|
111
|
symconfigure
–sid xxx –cmd”add data_dev1;data_dev2 to pool sridhar type=thin
member_state=enable;
Ex: symconfigure –sid xxx –cmd”add 6d1;6d2 to pool
sridhar type=thin member_state=enable;
|
to add data devices to lun pool
|
112
|
symcfg
show –pool sridhar –thin –detail –mb
|
to check whether luns added to lun pool or not
|
113
|
symconfigure
–sid xxx –cmd”bind tdev tdev1;tdev2 to pool sridhar type=thin;”commit
ex: symconfigure –sid xxx –cmd”bind tdev 6d7;6da to
pool sridhar type=thin;”commit
|
to bind the thin devices to lun pool
|
114
|
symdev
list –sid xxx –noport –tdev
|
It displays all the thin devices.
|
115
|
symdev
list –sid xxx –tdev unbound –noport
|
To check unbound devices.
|
116
|
symdev
list –sid xxx –range 6d7:6da
|
to check device status whether it is bounded or not
|
117
|
symbcv
list –sid xxx dev
|
to display all BCV devices in the attached array
|
118
|
create
dev count=1 size=10 GB emulation=fba config=bcv+2_way_mirror diskgroup=2.
|
to create bcv luns
|
119
|
symmirror
–sid xxx –f file1 establish –full
|
to establish the connection between source and target
|
120
|
symmir
–sid xxx –f file1 split –bg
|
to split connection between source and target
|
121
|
symmir
–sid xxx –f file1 establish
|
to establish connection between source and target
after first establish
|
122
|
symmirror
-sid xxx –f file –restore
|
To store data from target to source.
|
123
|
symmir
–f file query
|
to check whether the data is copied or not
|
124
|
symclone
–f file create –diff –Ccopy
|
to create link between source and target for full
copy using clone
|
125
|
symclone
–f file activate
|
to transfer data between source and target in clone
copy method
|
126
|
symclone
–f file split
|
To split clone copy connection.
|
127
|
symclone
–f file recreate
|
To recreate the link between the source and target.
|
128
|
symclone
–f file restore
|
To restore the clone copy link between target to
source.
|
129
|
symclone –f file query
|
to query that the data is copied or not
|
130
|
symclone
–f file create –diff –precopy
|
to create link between source and target
|
131
|
symclone
–f file activate
|
to activate the link for start the data copying
|
132
|
symclone
–f file split
|
to split the link of precopy
|
133
|
symclone
–f file recreate
|
to recreate the link between source and target
|
134
|
symclone
–f file restore
|
to restore the data from target to source
|
135
|
symconfigure
-sid 188 -cmd " create dev count=2 config=vdev data_member_count=3
size=3000MB emulation=fba disk_group=2;" commit
|
to create virtual device
|
136
|
symconfigure
-sid 188 -cmd " create dev count=20 config=2-way_mirr
data_member_count=3 size=3000MB emulation=fba disk_group=2 attribute=savedev;" commit
|
to create save devices
|
137
|
create
pool save1 type=save;
|
to create pool
|
138
|
add
dev 111:112 to pool pool_name type=save member_state=enable;
|
To add save devices to save pool.
|
139
|
symsnap
–f file create –svp pool_name
|
to create relationship between source and target
|
140
|
symsnap
–f file activate
|
to start data transfer between source and target
|
141
|
symsnap
–f file query
|
to query that data is transferred or not
|
142
|
symsnap
–f file terminate
|
to terminate the link
|
143
|
symsnap
–f file recreate
|
to recreate link between source and target
|
144
|
symsnap
–f file restore
|
to restore data from target to source
|
145
|
symsnap
–f file terminate –restore
|
to terminate
restore
|
146
|
symdev
list –sid xxx –range 228a:228b
|
to check device status
|
147
|
symdev
show 228a –sid xxx |more
|
to check whether the device cloned or not
|
Tuesday, September 23, 2014
EMC Symmetrix Commands
Subscribe to:
Posts (Atom)