Product data

46 PowerVM Migration from Physical to Virtual Storage
3.1 Back up to CD and restore
This migration uses the file backed optical feature of the Virtual I/O Server to
present a number of previously made ISO images to the target logical partition as
though these images where physical CD media. The advantage of this method is
that it could be used to provision logical partitions very quickly from a master
image copy, for example, in a development environment or if performing any form
of diagnostics.
The steps for the migration follow.
On the standalone server: part 1
The first step is to determine how big the destination disk must be.
1. Determine the required size of a destination disk for the migration by using
the AIX lsvg command on the rootvg:
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER:
000fe4010000d9000000012478906561
VG STATE: active PP SIZE: 256 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 546 (139776 megabytes)
MAX LVs: 256 FREE PPs: 508 (130048 megabytes)
LVs: 13 USED PPs: 38 (9728 megabytes)
OPEN LVs: 11 QUORUM: 2 (Enabled)
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 1024 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
2. Calculate the size from the number of physical partitions and the physical
partition size. You only need the USED PPs and a small margin and do not
have to allocate a full disk if the rootvg is not required to grow.
3. Back up the rootvg to CD images using the mkcd command:
a. Run the smitty mkcd command as follows:
# smitty mkcd
b. Select No from the Use an existing mksysb image menu. Selecting No
allows you to create a new system backup that reflects your currently
running environment.
c. Select the options that are appropriate to your environment from the Back
Up This System to CD menu. You can also leave the default options as
they are.