Académique Documents
Professionnel Documents
Culture Documents
In previous session total 15 devices have been created and are made visible
to hosts through mapping.
Once the Luns are mapped, to enable host to access and perform I/O and
hide the Luns from unwanted hosts, the Luns should be masked.
To mask the Luns, VCM database should be created and the information
related to Luns and the hosts should be updated to VCM database
Dedicate a drive to VCM database (In our scenario it is 0000)
LAB EXERCISE
2) Run symconfigure
Sun1# symconfigure –sid 277 -v –f myvcm -commit –nop
3) Update sym_api.db
Sun1# symcfg discover
4) start vcmdb
(Strictly prohibited to use, it makes all hosts unreachable to storage)
Sun1# symmask db –sid 277 init –f myvcm
6) Display HBA
Sun1#symmask list hba
7) Discover HBA
Sun1#symmask discover hba
- To create an alias
Sun1#symmask –sid 277 –wwn 10000000000 rename Sun1/port0
(Note: Participants are requested, not to execute the steps to enable VCM
flags on ports in lab sessions as they raise complications, please follow
the demo by y our instructor attentively)
12)create a command file to enable vcm port flag on all ports, before running
the configuration ,make sure the concerned port is offline, once the configuration
is save, bring the port online
On director 1c port0
f) Update sym_api.db
Sun1#symcfg discover
On director 2c port0
f) Update symapi_db.bin
Sun1#symcfg discover
f) Update symapi_db.bin
Sun1#symcfg discover
On director 16c port0
a) Create a command file
Sun1# vi vcmport
Set port 16c:0 VCM_STATE = enable;
Wq:
f) Update symapi_db.bin
Sun1#symcfg discover
C) Update symapi_db.bin
Sun1#symcfg discover