In addition to restoring the Virtual I/O Server (VIOS), you
might need to restore user-defined virtual devices (such as virtual
device mappings). For example, in the event of a system failure, system
migration, or disaster, you need to restore both the VIOS and user-defined
virtual devices. In this situation, restore the volume groups
by using the restorevgstruct command and manually
re-create the virtual device mappings by using the mkvdev command.
User-defined virtual devices include metadata, such as
virtual device mappings, that define the relationship between the
physical environment and the virtual environment. In situations where
you plan to restore the VIOS to a new or different system, you need
to back up both the VIOS and user-defined virtual devices. (For example,
in the event of a system failure or disaster, you must restore both
the VIOS and user-defined virtual devices.)
Before you start,
restore the VIOS from tape, DVD, or a remote file system. For instructions,
see one of the following procedures:
To restore user-defined virtual devices, complete the following
steps:
- List all the backed-up volume groups (or storage pools)
by running the following command:
restorevgstruct -ls
This command lists the files located in the /home/ios/vgbackups directory.
- Run the lspv command to determine which
disks are empty.
- Restore the volume groups (or storage pools) to the empty
disks by running the following command for each volume group (or storage
pool):
restorevgstruct -vg volumegroup hdiskx
Where:- volumegroup is the name of a volume group (or
storage pool) from step 1.
- hdiskx is the name of an empty disk from step
2.
- Re-create the mappings between the virtual devices and
physical devices by using the mkvdev command. Re-create
mappings for storage device mappings, shared Ethernet and Ethernet
adapter mappings, and virtual LAN settings. You can find mapping information
in the file that you specified in the tee command
from the backup procedure. For example, /home/padmin/filename.