Professional Documents
Culture Documents
This user customizable document was created and tailored to your site configuration
input, using the Symmetrix Procedure Generator on June 16, 2011.
Report Problems: If you find any errors in this procedure or have comments regarding the
generator, please send email to SymmetrixprocedureGeneratorComments@emc.com. Be
sure to reference any modules by the correct filename (located to the right-top of the
module title).
EMC Corporation
Corporate Headquarters:
Hopkinton, MA 01748-9103
1-508-435-1000
www.EMC.com
As part of the effort to continuously improve and enhance the performance and capabilities of the
Symmetrix product line, EMC periodically releases new versions of its hardware and software, or
qualifies various operating systems interoperability with Symmetrix functionality. Therefore, some
functions described in this procedure may not be supported by all revisions of the software or
hardware you have currently in use, including your host operating system. For the most up-to-
date information on specific requirements, concerning your host environment status and storage
system, refer to the E-Lab Interoperability Navigator on Powerlink.
EMC believes the information in this publication is accurate as of its publication date. The
information is subject to change without notice.
Use, copying, and distribution of any EMC software described in this publication requires an
applicable software license.
For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks on
EMC.com.
All other trademarks used herein are the property of their respective owners.
VCMDB_Initialize_sym00 2
• Initialize the VCMDB
Overview P Done
This procedure is usually performed during the initial Device Masking setup. A Symmetrix
device is reserved as “VCM state enabled” in the Symmetrix array and is initialized and
formatted as the Device Masking VCMDB. The initialization clears the disk device of any
current data in the process of formatting the database. Use caution before proceeding.
This document can be obtained from the EMC Powerlink website at:
http://Powerlink.EMC.com
where:
For example, to determine whether a Device Masking VCMDB exists for a Symmetrix with an
ID of 000000012345, execute the following command:
symmaskdb –sid 12345 list database
If this command is executed and a Device Masking VCMDB does not exist, you should see a
message that looks like this:
The Symmetrix device masking database has not been initialized
If the Device Masking VCMDB was initialized earlier, you might see a message that looks like
this instead:
The symmaskdb init command is used to clear and initialize the Device Masking VCMDB.
The syntax for this command is:
symmaskdb -sid SymmID init –file BkupFileName [-vcmdb_type <3 | 4| 5 | 6>]
where:
BkupFileName = The name of the file to be used to store a backup copy of the Device
Masking VCMDB. (You must specify a backup file name. As a safeguard, this command
will attempt to write the data in an existing Device Masking VCMDB to a backup file on the
host before it erases its contents.) If a Device Masking VCMDB does not yet exist, no
backup copy will be made. If a Device Masking VCMDB does exist, the backup copy will be
stored in the file specified and that file will be written to the current directory (i.e., the
directory that this command is executed from).
If you do not include the –vcmdb_type option, the default database type used is dependant
upon the size of the VCMDB device. For instance:
• If the VCMDB device is equal to or greater than 24 cylinders, but less than 48
cylinders, type 3 (available beginning with Enginuity 5670) is used.
• If the VCMDB device is equal to or greater than 48 cylinders, but less than 96
cylinders, type 4 (available beginning with Enginuity 5670) is used.
• If the VCMDB device is equal to or greater than 96 cylinders, type 5 (beginning with
Enginuity Version 5671) is used.
• If the Symmetrix array is running an Enginuity level greater than version 5770, type 6
is used by default.
For example, to initialize an existing Device Masking VCMDB for a Symmetrix with an ID of
000000012345 (and store a backup copy in a file named BackupDevMaskDB), execute the
following command:
symmaskdb –sid 12345 init –file BackupDevMaskDB
When this command is executed, you should see a message that looks something like this
(when prompted, you will have to confirm that you want to perform the initialization process):
The Symmetrix device masking database has not been initialized
The attempt to backup the database on Symmetrix 000000012345 failed beca use
the database has not been initialized.
Note: If the file name specified (in this case BackupDevMaskDB) corresponds to a file that
already exists in the current directory, you will see a message that looks like this instead:
Unable to create backup file, file with name already exists
If this is the case, either delete the existing file or specify a different file name and execute the
command again.
VCMDBBackup_sym002
• Backup the VCMDB
Overview P Done
You can create a backup file containing the current contents of the device masking
VCMDB. Often, just backing up the database on a regular basis ensures that you can
recover your established masked environment in the event of improper changes or
failure.
This document can be obtained from the EMC Powerlink website at:
http://Powerlink.EMC.com
3. Back up an existing VCMDB
The symmaskdb backup command is used to create a backup copy of the Device £ Formatted: Bullets and Numbering
where:
BkupFileName = The name of the file to be used to store the backup copy of the
Device Masking VCMDB created. (You cannot reuse backup file names; a new file
name must be provided each time this command is executed.) The backup copy will
be stored in the file specified and that file will be written to the current directory (i.e.,
the directory that this command is executed from).
When this command is executed, you should see a message that looks something like
this:
Symmetrix SymMask database backed up to file BackupDevMaskDB_1
from Symmetrix 000000012345
Backup copies of the Device Masking VCMDB should be created periodically to ensure
that a current copy is available should recovery be required. VCMDB backup files can
vary in length, depending on how much information is in the VCMDB at the time the
backup is made.
Device Masking VCMDB backup file. The syntax for this command is:
where:
BkupFileName = The name of a file that contains a backup copy of the Device
Masking VCMDB.
For example, to examine the contents of a Device Masking VCMDB backup file named
BackupDevMaskDB_1, execute the following command:
When this command is executed, you should see output that looks something like this:
File Name : BackupDevMaskDB_1
Backup from Symmetrix ID: 000000012345
User -generated
Identifier Type Node Name Port Name Devices
---------------- ----- --------------------------------- ---------
10000000c9 6cc812 Fibre 10000000c9 6cc812 10000000c9 6cc812 000C:000D
RefreshDirfromVCMDB_sym00 2
This document can be obtained from the EMC Powerlink website at:
http://Powerlink.EMC.com
where:
BkupFileName = The name of the file to be used to store the backup copy of the Device
Masking VCMDB created. (You cannot reuse backup file names; a new file name must be
provided each time this command is executed.) The backup copy will be stored in the file
specified and that file will be written to the current directory (i.e., the directory that this
command is executed from).
For example, to store a backup copy of an existing Device Masking VCMDB for a Symmetrix
with an ID of 000000012345 in a file named BackupDevMaskDB_1, execute the following
command:
symmaskdb –sid 12345 backup –file BackupDevMaskDB_1 –noprompt
When this command is executed, you should see a message that looks something like this:
Symmetrix SymMask database backed up to file BackupDevMaskDB_1
from Symmetrix 000000012345
operation. This causes the Symmetrix director to refresh its WWN/iSCSI-related profile tables
in cache with the content data from the device masking VCMDB.
The symmaskdb refresh command is used to force a Symmetrix director to refresh its profile
tables with the contents of the Device Masking VCMDB. The syntax for this command is:
symmask -sid SymmID refresh -noprompt
where:
When this command is executed, you should see a message that looks something like this:
Symmetrix FA directors updated with contents of SymMask Database
000000012345
! Caution: Before executing this command, make sure no HBAs are accessing devices
in the masked channel (in other words, make sure that no application or user activity is
taking place on the HBAs that are about to be refreshed) !
7. Run the appropriate configuration method on all affected hosts or reboot all affected hosts
Many host operating systems provide a utility that can be used to automatically configure £
Formatted: Bullets and Numbering
devices that have been made available to a system. For example, in Windows you can use
the Device Manager to scan for hardware changes; with AIX you can execute the cfgmgr
command. Before masked devices will be made visible to a host, this utility must be run on all
hosts that have had devices added or removed (via masking changes). If no such utility exists,
the affected hosts should be rebooted.
Refer to the online help available with each host operating system for information on how to
perform online configuration changes or a reboot operation.
When executed, this command interrogates all SCSI devices available; therefore, it can take a
significant amount of time to complete.
9. Verify that the expected Symmetrix devices can be seen by the host
When all director refreshes have been performed and the SYMAPI database configuration £
Formatted: Bullets and Numbering
update is complete, verify that all appropriately masked Symmetrix devices can be seen by
the host by executing the sympd command. The syntax for this command is:
sympd -sid SymmID list
where:
Cap
Physical Sym SA :P DA :IT Config Attribute Sts
(MB)
-------------------------- ------------- -----------------------------------
--
As you can see, the output produced by the sympd command shows physical device names,
corresponding Symmetrix device names, director information, and device-specific information
for all devices that are visible to the host.
VCMDBRestore_sym00 2
• Restore the VCMDB
Overview P Done
This procedure explains how to restore a VCMDB from a backup file.
This procedure is based on contents from the following EMC manual:
• EMC Solutions Enabler Symmetrix Array Controls Product Guide
This document can be obtained from the EMC Powerlink website at:
http://Powerlink.EMC.com
Device Masking VCMDB backup file. The syntax for this command is:
where:
BkupFileName = The name of a file that contains a backup copy of the Device
Masking VCMDB.
For example, to examine the contents of a Device Masking VCMDB backup file named
BackupDevMaskDB_1, execute the following command:
When this command is executed, you should see output that looks something like this:
File Name : BackupDevMaskDB_1
Backup from Symmetrix ID: 000000012345
User -generated
Identifier Type Node Name Port Name Devices
---------------- ----- --------------------------------- ---------
10000000c940a8a3 Fibre 10000000c940a8a3 10000000c940a8a3 000C:000D
! Warning: Restoring the Device Masking VCMDB from a backup file that is not up-
to-date can result in the loss of device masking information. If device masking
information is lost, devices will no longer be available to a host. !
The symmaskdb restore command is used to restore the Device Masking VCMDB from
a backup file stored on a host. The syntax for this command is:
where:
BkupFileName = The name of a file that contains a backup copy of the Device
Masking VCMDB.
Note: This command must be executed from the directory where the file containing a
backup copy of the Device Masking VCMDB resides.
For example, to restore the Device Masking VCMDB for a Symmetrix with an ID of
000000012345 from a backup file named BackupDevMaskDB_1, execute the following
command:
12. Examine the Device Masking VCMDB after the restore operation Formatted: Bullets and Numbering
To examine the Device Masking VCMDB after a restore operation, execute the following
command:
where:
When this command is executed, you should see output that looks something like this:
Symmetrix ID : 000000012345
User -generated
Identifier Type Node Name Port Name Devices
---------------- ----- --------------------------------- ---------
10000000c940a8a3 Fibre 10000000c940a8a3 10000000c940a8a3 00 0C:000D
MaskingDevices_sym00 2
To perform masking, you will need access to a host that has the Solutions Enabler base
installed along with the device masking portion licensed. This host will need to have a fiber
path to the Symmetrix and be able to see the VCM device and a gatekeeper.
This document can be obtained from the EMC Powerlink website at:
http://Powerlink.EMC.com
13. Verify that the device(s) to be masked have been mapped
To verify that the device(s) to be masked have been mapped to a front-end director, port, and £ Formatted: Bullets and Numbering
where:
For example, to display detailed information about Symmetrix device 000C on a Symmetrix
with an ID of 000000012345, execute the following command:
Scan the output produced and examine the section titled “Front Director Paths”. If the
Symmetrix device has been mapped, you should see something that looks like this:
Repeat this step for every device to be masked. If a device to be masked has not been
mapped, you must map it to a front-end director, port, and LUN before continuing with this
procedure.
14. Get the World Wide Name (WWN) for the Host Bus Adapter (HBA) the device(s) are to be masked to
There are several tools that can be used to obtain the WWN of installed HBAs. For example, £ Formatted: Bullets and Numbering
Emulex provides a utility called HBAnywhere that can be used to obtain this information. If
Solutions Enabler has been installed on a host, the syminq hba command can be used as
well.
where:
Note: When masking metadevices, only the Symmetrix device name that is designated as the
metadevice head should be specified (via the SymDevName parameter).
For example, to mask Symmetrix devices 000C and 000D, (which have already been mapped
to port 0 of front-end adapter 16C on a Symmetrix with an ID of 000000012345), so that they
can only be accessed by an HBA that has the World Wide Name 10:00:00:00:c9:6c:c8:12,
execute the following command:
symmask –sid 12345 –wwn 10000000c9 6cc812 add devs 00 0C:000D -dir 16C -p 0
If Symmetrix devices 000C and 000D were masked to a different HBA earlier, the following
message will be displayed when this command is executed:
000C 000D
If you indicate that the mask operation is to continue, the devices will be masked for multiple
command:
symmaskdb –sid SymmID list database –dir DirNumber –p PortNumber
where:
DirNumber = The specific director number the Symmetrix device was masked for.
PortNumber = The specific port number the Symmetrix device was masked for.
For example, to display a list of devices that have been masked for port 0 of front-end adapter
16C on a Symmetrix with an ID of 000000012345, execute the following command:
symmaskdb -sid 12345 list database –dir 16C –p 0
When this command is executed, you should see output that looks something like this:
Symmetrix ID : 000000012345
User -generated
Identifier Type Node Name Port Name Devices
---------------- ----- --------------------------------- ---------
10000000c96cc812 Fibre 10000000c96cc812 10000000c96cc812 000C:000D
where:
BkupFileName = The name of the file to be used to store the backup copy of the Device
Masking VCMDB created. (You cannot reuse backup file names; a new file name must be
provided each time this command is executed.) The backup copy will be stored in the file
specified and that file will be written to the current directory (i.e., the directory that this
command is executed from).
For example, to store a backup copy of an existing Device Masking VCMDB for a Symmetrix
with an ID of 000000012345 in a file named BackupDevMaskDB_1, execute the following
When this command is executed, you should see a message that looks something like this:
operation. This causes the Symmetrix director to refresh its WWN/iSCSI-related profile tables
in cache with the content data from the device masking VCMDB.
The symmaskdb refresh command is used to force a Symmetrix director to refresh its profile
tables with the contents of the Device Masking VCMDB. The syntax for this command is:
where:
For example, to force a Symmetrix director to refresh its profile tables with the contents of the
Device Masking VCMDB for a Symmetrix with an ID of 000000012345, execute the following
command:
symmask –sid 12345 refresh –noprompt
When this command is executed, you should see a message that looks something like this:
! Caution: Before executing this command, make sure no HBAs are accessing devices
in the masked channel (in other words, make sure that no application or user activity is
taking place on the HBAs that are about to be refreshed). !
19. Run the appropriate configuration method on all affected hosts or reboot all affected hosts
Many host operating systems provide a utility that can be used to automatically configure £
Formatted: Bullets and Numbering
devices that have been made available to a system. For example, in Windows you can use
the Device Manager to scan for hardware changes; with AIX you can execute the cfgmgr
command. Before masked devices will be made visible to a host, this utility must be run on all
hosts that have had devices added or removed (via masking changes). If no such utility exists,
the affected hosts should be rebooted.
Refer to the online help available with each host operating system for information on how to
perform online configuration changes or a reboot operation.
20. Rebuild the Symmetrix configuration database on all appropriate hosts/management servers
Any time you reconfigure a Symmetrix array by adding or removing device masking £
Formatted: Bullets and Numbering
UnmaskDevices_sym00 2
• Unmasking Devices
Overview P Done
This procedure provides the syntax and examples for unmasking devices.
This procedure is based on contents from the following EMC manual:
• EMC Solutions Enabler Symmetrix Array Controls Product Guide
This document can be obtained from the EMC Powerlink website at:
http://Powerlink.EMC.com
21. Get the World Wide Name (WWN) for the Host Bus Adapter (HBA) the device(s) are to be unmasked
from £ Formatted: Bullets and Numbering
There are several tools that can be used to obtain the WWN of installed HBAs. For
example, Emulex provides a utility called HBAnywhere that can be used to obtain this
information. If Solutions Enabler has been installed on a host, the syminq hba
command can be used as well.
Using either the appropriate tools on the host or the configuration documentation where
this information was recorded earlier, obtain the WWN for the HBA that one or more
devices are to be unmasked from.
or
symmask -sid SymmID -wwn wwn|-awwn awwn|-iscsi iscsi |-aiscsi aiscsi
delete -dir DirNumber -p PortNumber | -dir all –p all [-login]
where:
You can remove some devices associated with an HBA entry, or you can remove the
entire set of devices associated with an HBA entry. The force (-force ) option can be
useful when you want to quickly remove a range of specified device names that might not
be contiguously masked to a HBA/director-port channel. This option may also be needed
when unmasking metadevices.
Note: When unmasking metadevices, only the Symmetrix device name that is designated
as the metadevice head should be specified (via the SymDevName parameter).
The following examples show four different approaches that can be used to unmask
devices:
Example 1: To unmask Symmetrix devices 000C and 000D, which are mapped to port 0
of front-end adapter 16C on a Symmetrix with an ID of 000000012345, and are masked to
an HBA that has the World Wide Name 10:00:00:00:c9:6c:c8:12, execute the following
command:
symmask –sid 12345 –wwn 10000000c9 6cc812 remove devs 00 0C:000D –dir
16C
–p 0
Example 2: To unmask just Symmetrix devices 000C and 000E from the 000C-to-000E
masked device range, execute the following command:
symmask –sid 12345 –wwn 10000000c9 6cc812 remove devs 00 0C,000E –dir
16C
–p 0
To remove the remaining device in the 000C-to-000E device range, you can either specify
the one remaining individual device, or you can specify the whole range, using the -force
option. In this case, either of the following commands are valid:
symmask –sid 12345 –wwn 10000000c9 6cc812 remove devs 000 D –dir 16C –p
0
or
symmask –sid 12345 –wwn 10000000c9 6cc812 remove devs 000 C:000E –dir
16C –p 0 -force
Example 3: To unmask the entire set of devices that a particular HBA has been given
access to, execute the following command:
The delete action removes the HBA entry completely, including any attributes that were
previously set.
Example 4: To remove a particular HBA from the login history table, execute the following
command:
! CAUTION: This command should only be used if the HBA specified is no longer
being used. !
For example, to unmask Symmetrix devices 000C and 000D, which are mapped to port 0
of front-end adapter 16C on a Symmetrix with an ID of 000000012345, and are masked to
an HBA that has the World Wide Name 10:00:00:00:c9:6c:c8:12, execute the following
command:
symmask –sid 12345 –wwn 1000000 0c96cc812 remove devs 00 0C:000D –dir 16C
–p 0
refresh operation. This causes the Symmetrix director to refresh its WWN/iSCSI-related
profile tables in cache with the content data from the device masking VCMDB.
The symmaskdb refresh command is used to force a Symmetrix director to refresh its
profile tables with the contents of the Device Masking VCMDB. The syntax for this
command is:
symmask -sid SymmID refresh -noprompt
where:
For example, to force a Symmetrix director to refresh its profile tables with the contents of
the Device Masking VCMDB for a Symmetrix with an ID of 000000012345, execute the
following command:
When this command is executed, you should see a message that looks something like
this:
Symmetrix FA directors updated with cont ents of SymMask Database
000000012345
! Caution: Before executing this command, make sure no HBAs are accessing
devices in the masked channel (in other words, make sure that no application or
user activity is taking place on the HBAs that are about to be refreshed). !
where:
BkupFileName = The name of the file to be used to store the backup copy of the
Device Masking VCMDB created. (You cannot reuse backup file names; a new file
name must be provided each time this command is executed.) The backup copy will be
stored in the file specified and that file will be written to the current directory (i.e., the
directory that this command is executed from).
For example, to store a backup copy of an existing Device Masking VCMDB for a
Symmetrix with an ID of 000000012345 in a file named BackupDevMaskDB_1, execute
the following command:
symmaskdb –sid 12345 backup –file BackupDevMaskDB_1 –noprompt
When this command is executed, you should see a message that looks something like
this:
Symmetrix SymMask database backed up to file BackupDevMaskDB_1
from Symmetrix 000000012345
25. Run the appropriate configuration method on all affected hosts or reboot all affected hosts
Many host operating systems provide a utility that can be used to automatically configure £
Formatted: Bullets and Numbering
devices that have been made available to a system. For example, in Windows you can
use the Device Manager to scan for hardware changes; with AIX you can execute the
cfgmgr command. Before masked devices will be made visible to a host, this utility must
be run on all hosts that have had devices added or removed (via masking changes). If no
such utility exists, the affected hosts should be rebooted.
Refer to the online help available with each host operating system for information on how
to perform online configuration changes or a reboot operation.
26. Rebuild the Symmetrix configuration database on all appropriate hosts/management servers
Any time you reconfigure a Symmetrix array by adding or removing device masking £
Formatted: Bullets and Numbering
When executed, this command interrogates all SCSI devices available; therefore, it can
take a significant amount of time to complete.
command:
symmaskdb –sid SymmID list data base –dir DirNumber –p PortNumber
where:
DirNumber = The specific director number the Symmetrix device was unmasked from.
PortNumber = The specific port number the Symmetrix device was unmasked from.
For example, to verify that one or more devices that have been unmasked from port 0 of
front-end adapter 16C on a Symmetrix with an ID of 000000012345, execute the following
command:
If a symmask remove devs command was used to unmask the devices, when this
command is executed, you should see output that looks something like this:
Symmetrix ID : 000000012345
User -generated
Identifier Type Node Name Port Name Devices
---------------- ----- ------------- -------------------- ---------
10000000c9 6cc812 Fibre 10000000c9 6cc812 10000000c940a8a3 None
If however, a symmask delete command was used to unmask the devices, you may see
a message that looks like this instead:
No device masking database records c ould be found for the specified input
parameters
ReplaceHBAMasking _sym002
This document can be obtained from the EMC Powerlink website at:
http://Powerlink.EMC.com
28. Get the World Wide Name (WWN) for the failed HBA
There are several tools that can be used to obtain the WWN of installed HBAs. For £ Formatted: Bullets and Numbering
example, Emulex provides a utility called HBAnywhere that can be used to obtain this
information. If Solutions Enabler has been installed on a host, the syminq hba
command can be used as well.
Using either the appropriate tools on the host or the configuration documentation where
this information was recorded earlier, obtain the WWN for the HBA that has failed.
Note: Once an HBA has failed, it may not be possible to obtain its WWN using a utility.
That is why it is important to document server configuration information on a regular
basis.
30. Get the World Wide Name (WWN) for the new HBA
Using the appropriate tools on the host, obtain the WWN for the new HBA. £ Formatted: Bullets and Numbering
31. Adjust the fabric zoning to reflect the change in HBA WWNs
Replace the WWN for the failed HBA with the WWN of the new HBA in the fabric zoning. £ Formatted: Bullets and Numbering
32. Verify that the new HBA has logged in to the Symmetrix
At this point, the new HBA should have performed a login to the front-end director port £ Formatted: Bullets and Numbering
the original HBA was using to access Symmetrix volumes. You can verify that this has
been done by examining the contents of the login history table.
The symmask list logins command is used to display entries in the login history table.
The syntax for this command is:
where:
When this command is executed, you should see output that looks something like this:
Symmetrix ID : 000000012345
In this example, you can see that the original HBA, which had the WWN
10:00:00:00:c9:6c:c8:12, is no longer logged in to port 0 of front-end adapter 16C. The
new HBA, which has the WWN 10:00:00:00:c9:3d:a4:4a, is logged in instead.
33. Update the masking information in the VCMDB to reflect the HBA change
If the masking information stored in the VCMDB contains references to the WWN of the £ Formatted: Bullets and Numbering
original HBA, devices that were masked to that HBA will not be visible to the new HBA
until all occurrences of the WWN for the original HBA in the VCMDB have been replaced
with the WWN of the new HBA.
The symmask replace command is used to substitute a new WWN for all occurrences of
another WWN in the VCMDB. The syntax for this command is:
where:
OldWWN = The World Wide Name (WWN) for the original HBA.
NewWWN = The World Wide Name (WWN) for the new HBA.
For example, to replace all occurrences of the WWN 10:00:00:00:c9:6c:c8:12 with the
WWN 10:00:00:00:c9:3d:a4:4a in the VCMDB for a Symmetrix with an ID of
000000012345, execute the following command:
where:
DirNumber = The specific director number the original HBA was associated with.
PortNumber = The specific port number the original HBA was associated with.
For example, to display HBA information for devices that have been masked for port 0 of
front-end adapter 16C on a Symmetrix with an ID of 000000012345, execute the
following command:
When this command is executed, you should see output that looks something like this:
Symmetrix ID : 000000012345
User -generated
Identifier Type Node Name Port Name Devices
---------------- ----- --------------------------------- ---------
10000000c93da44a Fibre DBServer_01 HBA_0 000C:000D
The WWN that is displayed in the Identifier column of this list should match the WWN
that was specified as the new WWN (NewWWN ) in the previous step.
35. Refresh the Symmetrix director with the new VCMDB data
Update the Symmetrix array with the configuration changes by performing a director £ Formatted: Bullets and Numbering
refresh operation. This causes the Symmetrix director to refresh its WWN/iSCSI-related
profile tables in cache with the content data from the device masking VCMDB.
The symmask refresh command is used to force a Symmetrix director to refresh its
profile tables with the contents of the Device Masking VCMDB. The syntax for this
command is:
symmask -sid SymmID refresh -noprompt
where:
For example, to force a Symmetrix director to refresh its profile tables with the contents
of the Device Masking VCMDB for a Symmetrix with an ID of 000000012345, execute
the following command:
symmask –sid 12345 refresh –noprompt
! Caution: Before executing this command, make sure no HBAs are accessing
devices in the masked channel (in other words, make sure that no application or
user activity is taking place on the HBAs that are about to be refreshed). !
36. Back up the VCMDB
The symmaskdb backup command is used to create a backup copy of the Device £ Formatted: Bullets and Numbering
where:
BkupFile Name = The name of the file to be used to store the backup copy of the
Device Masking VCMDB created. (You cannot reuse backup file names; a new file
name must be provided each time this command is executed.) The backup copy will
be stored in the file specified and that file will be written to the current directory (i.e.,
the directory that this command is executed from).
For example, to store a backup copy of an existing Device Masking VCMDB for a
Symmetrix with an ID of 000000012345 in a file named BackupDevMaskDB_1, execute
the following command:
symmaskdb –sid 12345 backup –file BackupDevMaskDB_1 –noprompt
When this command is executed, you should see a message that looks something like
this:
37. Delete records for the original HBA from the login history table
The symmask delete command can be used to remove login records associated with a £ Formatted: Bullets and Numbering
particular WWN from the login history table. The syntax for this command is:
where:
OldWWN = The World Wide Name (WWN) for which login records are to be deleted.
For example, to delete records from the login history table for a Symmetrix with an ID of
000000012345 that are associated with an HBA with the WWN 10:00:00:00:c9:6c:c8:12,
execute the following command:
symmask –sid 12345 –wwn 10000000c96cc812 delete –login