This task provides step-by-step instructions about how to create VDisk-to-host mappings.
We are going to map the VDisks named, mainvdisk1 and mainvdisk2, to the host named demohost1. We are also going to map the VDisks named, bkpvdisk1 and bkpvdisk2, to the host named demohost2. The VDisks, mainvdisk1 and mainvdisk2, are contained in the managed disk (MDisk) group, mainmdiskgroup; while the VDisks, bkpvdisk1 and bkpvdisk2, are contained in the MDisk group, bkpmdiskgroup.
Perform the following steps to create VDisk-to-host mappings:
In our hypothetical scenario, the commands to create VDisk-to-host mappings are:
svctask mkvdiskhostmap -host demohost1 mainvdisk1 svctask mkvdiskhostmap -host demohost1 mainvdisk2 svctask mkvdiskhostmap -host demohost2 bkpvdisk1 svctask mkvdiskhostmap -host demohost2 bkpvdisk2
The above set of commands map each VDisk to a host.