27.12.2012 Views

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

HOSTNAME=gpok225.endicott.ibm.com<br />

NETTYPE=qeth<br />

IPADDR=9.60.18.225<br />

SUBCHANNELS=0.0.0600,0.0.0601,0.0.0602<br />

NETMASK=255.255.255.128<br />

SEARCHDNS=endicott.ibm.com<br />

GATEWAY=9.60.18.129<br />

DNS=9.0.3.1<br />

MTU=1500<br />

PORTNAME=DONTCARE<br />

PORTNO=0<br />

LAYER2=0<br />

You should now have three new parameter files and three new configuration files.<br />

9.5.3 Adding new virtual machines to startup process<br />

Modify the PROFILE EXEC on AUTOLOG1 191 to grant access to the VSWITCH <strong>for</strong> the three new<br />

user IDs and add XAUTOLOG commands so they will booted when the z/<strong>VM</strong> system IPLs.<br />

Per<strong>for</strong>m the following steps:<br />

► Link and access the AUTOLOG1 191 disk so the file can be modified from MAINT:<br />

==> link autolog1 191 1191 mr<br />

==> acc 1191 f<br />

► Edit the PROFILE EXEC and add three new SET VSWITCH commands and three new<br />

XAUTOLOG commands:<br />

==> x profile exec f<br />

...<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 />

'cp set vswitch vsw1 grant rh6gold2'<br />

'cp set vswitch vsw1 grant linux01'<br />

'cp set vswitch vsw1 grant linux02'<br />

'cp set vswitch vsw1 grant linux03'<br />

'cp set vswitch vsw1 grant linux04'<br />

/* XAUTOLOG each Linux user that should be started */<br />

'cp xautolog rh6clone'<br />

'cp xautolog linux01'<br />

'cp xautolog linux02'<br />

'cp xautolog linux03'<br />

'cp xautolog linux04'<br />

'cp logoff' /* logoff when done */<br />

* * * End of File * * *<br />

====> file<br />

► Grant access to the new user IDs <strong>for</strong> the current z/<strong>VM</strong> session with the SET VSWITCH<br />

command:<br />

==> set vswitch vsw1 grant linux02<br />

Command complete<br />

==> set vswitch vsw1 grant linux03<br />

Command complete<br />

==> set vswitch vsw1 grant linux04<br />

Command complete<br />

Chapter 9. Configuring RHEL 6 <strong>for</strong> cloning 159

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!