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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

==> copy system config f = con<strong>for</strong>ig = (oldd<br />

► Edit the original file:<br />

==> x system config f<br />

► <strong>The</strong> system name is set to Z<strong>VM</strong>V6R<strong>10</strong> by default in the System_Identifier_Default<br />

statement. You can search <strong>for</strong> it using the / subcommand:<br />

====> /System_Identifier_D<br />

Modify this to the new name of your system. In this example POKSND61 is used.<br />

System_Identifier_Default POKSND61<br />

► Next look <strong>for</strong> the Features statement. You can search <strong>for</strong> it again or you can use F8 to<br />

page down. <strong>The</strong> following changes and additions are recommended:<br />

– Increase the number of commands that can be retrieved from 20 to 99.<br />

– Set the Disconnect_Timeout to off so disconnected users do not get <strong>for</strong>ced off.<br />

– Allow unlimited VDISKs to be created by users by changing Userlim to infinite and<br />

by adding the Syslim infinite clause:<br />

Features ,<br />

Disable , /* Disable the following features */<br />

Set_Privclass , /* Disallow SET PRIVCLASS command */<br />

Auto_Warm_IPL , /* Prompt at IPL always */<br />

Clear_TDisk , /* Don't clear TDisks at IPL time */<br />

Retrieve , /* Retrieve options */<br />

Default 99 , /* Default.... default is 20 */<br />

Maximum 255 , /* Maximum.... default is 255 */<br />

MaxUsers noLimit , /* No limit on number of users */<br />

Passwords_on_Cmds , /* What commands allow passwords? */<br />

Autolog yes , /* ... AUTOLOG does */<br />

Link yes , /* ... LINK does */<br />

Logon yes , /* ... and LOGON does, too */<br />

Disconnect_Timeout off , /* Don't <strong>for</strong>ce disconnected users */<br />

Vdisk , /* Allow VDISKS <strong>for</strong> Linux swaps */<br />

Syslim infinite ,<br />

Userlim infinite<br />

► Define a VSWITCH:<br />

Use the BOTTOM subcommand to go to the bottom of the file. Add some lines (you can use<br />

the XEDIT add subcommand a3). Define a VSWITCH and set the MAC address prefix. This<br />

will set the first three bytes of the MAC address created <strong>for</strong> each virtual NIC. If you have a<br />

multiple z/<strong>VM</strong> systems, increment this value to avoid having identical MAC addresses<br />

created. <strong>The</strong> last three bytes of the MAC address are automatically incremented by z/<strong>VM</strong><br />

as they are assigned, so they will be unique on each z/<strong>VM</strong> system. Modify the two starting<br />

addresses of the OSA triplets (B440 and B424 in this example) to those you specified in<br />

2.7.1, “z/<strong>VM</strong> resources worksheet” on page 16.<br />

====> bot<br />

====> a3<br />

/* define vswitch named vsw1 and set MAC address prefixes to 02-00-01 */<br />

define vswitch vsw1 rdev B440 B424<br />

vmlan macprefix 020001<br />

► Save your changes with the XEDIT FILE subcommand:<br />

====> file<br />

► Test your changes with the CPSYNTAX command which is on the MAINT 193 disk:<br />

==> acc 193 g<br />

==> cpsyntax system config f<br />

CONFIGURATION FILE PROCESSING COMPLETE -- NO ERRORS ENCOUNTERED.<br />

Chapter 4. Installing and configuring z/<strong>VM</strong> 45

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

Saved successfully!

Ooh no, something went wrong!