The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM
The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM
The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
9.5 Defining three more virtual machines<br />
So far you have installed Linux manually twice onto RH6CLONE and RH6GOLD. You have created<br />
a new user ID LINUX01 and cloned to it. Now it is time to prepare <strong>for</strong> more cloning of each of<br />
the virtual servers described in the remaining chapters.<br />
<strong>The</strong> following steps are involved:<br />
► “Defining three more user IDs” on page 157<br />
► “Creating three new configuration files” on page 158<br />
► “Adding new virtual machines to startup process” on page 159<br />
► “Testing logging on to a new user ID” on page 160<br />
9.5.1 Defining three more user IDs<br />
Define three more user IDs <strong>for</strong> Linux virtual servers. Per<strong>for</strong>m the following steps:<br />
► Logon to MAINT.<br />
► Edit the USER DIRECT file and create three new sections LINUX02 - LINUX04. You will need<br />
to use the DASD volumes you just <strong>for</strong>matted: two <strong>for</strong> each virtual server. You can repeat<br />
the definition of LINUX01 three times with the block copy ""3 prefix command. For example:<br />
==> x user direct<br />
====> /user linux01<br />
...<br />
""3 *<br />
02142 USER LINUX01 LNX4<strong>VM</strong> 256M 1G G<br />
02143 INCLUDE LNXDFLT<br />
02144 OPTION APPLMON<br />
02145 MDISK <strong>10</strong>0 3390 0001 3338 MR LNX4<strong>VM</strong> LNX4<strong>VM</strong> LNX4<strong>VM</strong><br />
"" MDISK <strong>10</strong>1 3390 0001 3338 MR LNX4<strong>VM</strong> LNX4<strong>VM</strong> LNX4<strong>VM</strong><br />
► This will create three more copies of the LINUX01 user definition. Modify them to have a<br />
user ID of LINUX02 - LINUX04, and give each correct DASD labels:<br />
USER LINUX02 LNX4<strong>VM</strong> 256M 1G G<br />
INCLUDE LNXDFLT<br />
OPTION APPLMON<br />
MDISK <strong>10</strong>0 3390 0001 3338 UM63AA MR LNX4<strong>VM</strong> LNX4<strong>VM</strong> LNX4<strong>VM</strong><br />
MDISK <strong>10</strong>1 3390 3339 3338 UM63AA MR LNX4<strong>VM</strong> LNX4<strong>VM</strong> LNX4<strong>VM</strong><br />
*<br />
USER LINUX03 LNX4<strong>VM</strong> 256M 1G G<br />
INCLUDE LNXDFLT<br />
OPTION APPLMON<br />
MDISK <strong>10</strong>0 3390 6677 3338 UM63AA MR LNX4<strong>VM</strong> LNX4<strong>VM</strong> LNX4<strong>VM</strong><br />
MDISK <strong>10</strong>1 3390 0001 3338 UM63AB MR LNX4<strong>VM</strong> LNX4<strong>VM</strong> LNX4<strong>VM</strong><br />
*<br />
USER LINUX04 LNX4<strong>VM</strong> 256M 1G G<br />
INCLUDE LNXDFLT<br />
OPTION APPLMON<br />
MDISK <strong>10</strong>0 3390 3339 3338 UM63AB MR LNX4<strong>VM</strong> LNX4<strong>VM</strong> LNX4<strong>VM</strong><br />
MDISK <strong>10</strong>1 3390 6677 3338 UM63AB MR LNX4<strong>VM</strong> LNX4<strong>VM</strong> LNX4<strong>VM</strong><br />
*<br />
► Go to the top of the file and find the definition <strong>for</strong> the user $ALLOC$. Add dummy definitions<br />
<strong>for</strong> cylinder 0 of each of the new volumes and save the changes. In this example, two<br />
volumes are added, UM63AA and UM63AB:<br />
====> top<br />
====> /alloc<br />
Chapter 9. Configuring RHEL 6 <strong>for</strong> cloning 157