Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
symcfg
Before you can do anything with a VMAX, you need to install the Solution enabler software, which you can get from
powerlink.emc.com. You download the software, unzip or untar it, run the emc-install program and get the product
licensed.
Now you have your software, but you need to run an initialisation command before you can connect to your DMX.
Navigate to /usr/symcli/bin and run;
symcfg discover
symcfg list
The first command gets information from the DMX and uses it to build a configuration database on your host. The
second command lists that information out.
However symcfg is a very powerful command that can be used to display and alter the configuration of a VMAX. My
preference is to use symconfigure for most of this, but symcfg can be used to manage VMAX locks, RDF and director
ports, gatekeeper devices, hosts and host ports, mainframe connections, and more.
Display information held in the Symmetrix configuration database about all attached Symmetrix arrays
symcfg list
Display more detailed information about the attached Symmetrix arrays and their directors
symcfg list -v -dir all
Display information about all the registered hosts that are connected to the Symmetrix array 824
symcfg list -connections -sid 824
To verify whether the Symmetrix 824 configuration and the Symmetrix configuration database are in sync, enter:
symcfg verify -sid 824
Take the above port offline (necessary to change port flags - and remember this could make storage unavailable to
users so use with caution)
symcfg -sid 38 offline -sa 5A -p 0
symconfigure
The symconfigure command lets you make changes to your Symmetrix device, for example to add new volumes, add
or change port and host assignments and configure remote mirroring RDF devices. It updates the symm.bin file on
the symm. device. The command cannot be shortened, symcfg is a different command
As part of making changes, symconfigure lets you save the current configuration, reserve devices to prevent others
from using them, and gives you a number of query, list and verify options to check the current status of a symmetrix
and validate any proposed changes before applying them.
You run symconfigure from a host server that is connected to the symmetrix, If anything happens to that host or the
connection to the symm. while a change was in progress then the symm. could be left in an indeterminate state. To
cater for this scenario, symconfigure has an abort option that lets you back out uncompleted changes.
symconfigure itself has a fairly small set of parameters, it does most of its powerful processing by reading a
command file. The simplest command is symconfigure -h, the online help facility. The other symconfigue commands
require a -sid parameter which identifies the Symmetrix that you are going to change. Before you want to start to
make changes you will probably want to see your existing Symmetrix configuration.
If the query command shows that a hung session exists, then no more updates will be possible as any session puts a
lock 15 on the symm.
Display the version number of the SYMCLI, SYMAPI and the configuration server. -sid is optional, leave it off and the
versions for all attached symms are displayed.
symconfigure -sid 123 -version -v
The query command will check for any existing active configuration activity. If this command cannot get the
information, it will keep retrying. You can control this with the -i and -c options which are interval between retries and
number of retries.
Query a VMAX 8 times at 5 second intervals to see if any updates are running
symconfigure -sid 123 -i 5 -c 8 -v query
Some optional parameters are -noprompt which suppresses the 'do you really want to ...' messages and -v for
verbose which means echo results back to the terminal
Changing devices
Create 2 small Gatekeeper devices. Gatekeepers are used to communicate with the VMAX. EMC recommends 4
gatekeepers per port and they are typically created with just 6 cylinders.
create dev count=2 size=6 emulation=fba;
Note that the commands are not case sensitive, parameters can be separated by commas or spaces, can span more
than one line, can contain extra white space, but must end with a semicolon ';' .
Add 6 a new spare devices
create spare count=4, format = 520;
Older symmetrix devices has 512 bytes in a block, new devices have 520 bytes in a block.
To delete disks use
delete dev Device-name
define a striped meta and add 2 more devices to it. Striped metas are best for random data access, but they can't be
shrunk and are more difficult to grow.
Split meta 02b back into it's constituent hypers - this will destroy any data on the meta!
dissolve meta dev 02b;
To get more detailed information about a specific tier use this command - obviously with your subsystem id and tier
name.
symtier -sid 124 show -tier_name TEFD1
SYMTIER EXAMPLES
This command will create a flash disk tier in RAID1 format. -vp means this tier will be allocated using virtual
provisioning
symtier -sid 123 create -name TEFD1 -tgt_raid1 -technology EFD -vp
To add a disk group to an exisiting tier use the following command. This adds 'disk group 3' to existing Storage Tier
'TSDP1'.
symtier -sid 123 -tier_name TSDP1 add -dsk_grp 3
You can also rename a tier if you did not like the existing naming standard, so 'TSDP1' becomes 'Tier_qxy29p
1'
symtier -sid 123 rename -tier_name TSDP1 -name Tier_qxy29p1
PAV aliases are used to allow multiple concurrent access to mainframe devices. See the PAV section for details. The
following commands can be used to allocate PAV aliases. The first command will add 4 aliases to a specific symm.
device. The second command allocates a range of aliases to a sub system
add pav alias to dev 02b alias count=4
add pav alias range 127:255 to mvs ssid=B000
symapierr
Returns a string with a detailed description of any return code generated by any SYMAPI function
To return a string for error number 10, enter:
symapierr 10
syminq
This command checks which devices are mapped to a host
To work out directory and port mappings enter:
syminq -pdevfile