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.
PROFILE EXEC. Also, an XAUTOLOG statement is added so that the RH6GOLD user ID is<br />
automatically logged on at z/<strong>VM</strong> IPL time. To do this, per<strong>for</strong>m the following steps:<br />
► Link and access the AUTOLOG1 191 disk read/write and edit the file PROFILE EXEC. Add the<br />
RH6GOLD user ID to the section that grants access to the VSWITCH. Note that you don’t<br />
want to add RH6GOLD to the XAUTOLOG section, as this Linux user ID will not normally be<br />
logged on:<br />
==> link autolog1 191 1191 mr<br />
==> acc 1191 f<br />
==> x profile exec f // add two lines<br />
/***************************/<br />
/* Autolog1 Profile Exec */<br />
/***************************/<br />
'cp xautolog tcpip' /* start up TCPIP */<br />
'CP XAUTOLOG DTCVSW1' /* start VSWITCH controller 1 */<br />
'CP XAUTOLOG DTCVSW2' /* start VSWITCH controller 2 */<br />
'cp set pf12 ret' /* set the retrieve key */<br />
'cp set mdc stor 0m 128m' /* Limit minidisk cache in CSTOR */<br />
'cp set mdc xstore 0m 0m' /* Disable minidisk cache in XSTOR */<br />
'cp set srm storbuf 300% 250% 200%' /* Overcommit memory */<br />
'cp set signal shutdown 300' /* Allow guests 5 min to shut down */<br />
/* Grant access to VSWITCH <strong>for</strong> each Linux user */<br />
'cp set vswitch vsw1 grant rh6clone'<br />
'cp set vswitch vsw1 grant rh6gold'<br />
/* XAUTOLOG each Linux user that should be started */<br />
'cp xautolog rh6clone'<br />
'cp logoff' /* logoff when done */<br />
====> file<br />
► <strong>The</strong>se changes will not take effect until the next IPL, so you must grant this user ID access<br />
to the VSWITCH <strong>for</strong> this z/<strong>VM</strong> session. This is done as follows:<br />
==> set vswitch vsw1 grant rh6gold<br />
Command complete<br />
8.1.3 Preparing RH6GOLD bootstrap files<br />
Now that the RH6GOLD user is defined, you must create the PARM and CONF configuration<br />
files used by the RHEL 6 installer. To save time, you should copy the RH6CLONE PARM-RH6 and<br />
RH6CLONE CONF-RH6 files, then make the necessary changes. Per<strong>for</strong>m the following steps:<br />
► Now in your 3270 session, Logoff of MAINT and logon to LNXMAINT.<br />
► <strong>The</strong> three files RH6CLONE PARM-RH6, RH6CLONE CONF-RH6, and RHEL6 EXEC should exist on<br />
the LNXMAINT 192 (D) disk as they were copied in 4.7.5, “Copying files associated with this<br />
book to LNXMAINT” on page 60. Copy these files to new files with a file name of RH6GOLD:<br />
==> copy rh6clone * d rh6gold = =<br />
► Change the CMSCONFFILE variable in the PARM-RH6 file to point to the new CONF file:<br />
==> x rh6gold parm-rh6<br />
root=/dev/ram0 ro ip=off ramdisk_size=40000<br />
CMSDASD=191 CMSCONFFILE=RH6GOLD.CONF-RH6<br />
vnc vncpassword=lnx4vm<br />
► Change the DASD, HOSTNAME and IPADDR variables in the RH6GOLD CONF-RH6 configuration<br />
file. For these values, you may want to refer to the worksheet in section 2.7.4, “Linux user<br />
ID worksheet” on page 18. Also, add one line with the METHOD= parameter pointing to the<br />
Chapter 8. Installing and configuring the golden image 131