Chapter 9. Configuring RHEL 5.2 for cloning 131
MAINT DA57 MAINT DA57 3390 MMDA57 DA57 0 3339
Detach the seven volumes from MAINT using the DETACH command:
==> det <da51-da57>
DA51-DA57 DETACHED
Attach the newly formatted DASD to SYSTEM so they can be used for minidisks:
==> att <da51-da57> system
DASD DA51 ATTACHED TO SYSTEM MMDA51
DASD DA52 ATTACHED TO SYSTEM MMDA52
DASD DA53 ATTACHED TO SYSTEM MMDA53
DASD DA54 ATTACHED TO SYSTEM MMDA54
DASD DA55 ATTACHED TO SYSTEM MMDA55
DASD DA56 ATTACHED TO SYSTEM MMDA56
DASD DA57 ATTACHED TO SYSTEM MMDA57
The seven DASD volumes will now be available to be used for minidisks in the USER DIRECT
file. They will also be available after the next IPL because their new labels match the pattern
specified by the User_Volume_Include MM* statement in the SYSTEM CONFIG file.
9.1.1 Defining a new user ID for a virtual server
Here you will define a new user ID, LINUX01, in z/VM and clone the golden image to it.
1. Logon to MAINT and edit the USER DIRECT file to add more Linux IDs.
==> x user direct c
2. Go to the bottom of the file and add the following 5 lines. In this example, the user ID will
be LINUX01 with a password of LNX4VM. It will default to have 256 MB of memory, but can be
set up to 1 GB. It will have only G permission (General user). It will have two 3338-cylinder
(about 2.2 GB each) minidisks for the RHEL installation. In this example, they are located
at device addresses D957 and DA51, which were formatted and given a label of MMD957
and MMDA51, respectively:
USER LINUX01 LNX4VM 256M 1G G
INCLUDE LNXDFLT
OPTION APPLMON
MDISK 100 3390 0001 3338 <MMD957> MR LNX4VM LNX4VM LNX4VM
MDISK 101 3390 0001 3338 <MMDA51> MR LNX4VM LNX4VM LNX4VM
3. Add the new volumes to the $ALLOC$ user ID so cylinder 0 will not show up in the disk map
as a gap. Save your changes with the FILE subcommand:
====> top
====> /alloc
USER $ALLOC$ NOLOG
MDISK A01 3390 000 001 <MVD850> R
MDISK A02 3390 000 001 <MVD853> R
MDISK A03 3390 000 001 <MVD854> R
MDISK A04 3390 000 001 <MMD857> R
MDISK A05 3390 000 001 <MMD856> R
MDISK A06 3390 000 001 <MMD952> R
MDISK A07 3390 000 001 <MMD953> R
MDISK A08 3390 000 001 <MMD954> R
MDISK A09 3390 000 001 <MMD955> R
MDISK A0A 3390 000 001 <MMD956> R
MDISK A0B 3390 000 001 <MMD957> R
MDISK A0C 3390 000 001 <MMDA51> R
====> file
Komentarze do niniejszej Instrukcji