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 profile exec a = execorig =<br />

==> x profile exec<br />

► You should see the text in the top half of the following example. Modify it as follows.<br />

a. You can safely delete the Address Command line.<br />

b. Add a line to start the TCPIP user ID using the XAUTOLOG command and keep two<br />

statements that start the VSWITCH cloners.<br />

c. Add a line to logoff of AUTOLOG1 when the EXEC is complete. <strong>The</strong>re is no need to keep<br />

that virtual machine running as its sole purpose is to run the PROFILE EXEC.<br />

Be<strong>for</strong>e:<br />

/***************************/<br />

/* Autolog1 Profile Exec */<br />

/***************************/<br />

Address Command<br />

'CP XAUTOLOG <strong>VM</strong>SERVS'<br />

'CP XAUTOLOG <strong>VM</strong>SERVU'<br />

'CP XAUTOLOG <strong>VM</strong>SERVR'<br />

'CP XAUTOLOG DTCVSW1'<br />

'CP XAUTOLOG DTCVSW2'<br />

After:<br />

/***************************/<br />

/* Autolog1 Profile Exec */<br />

/***************************/<br />

'cp xautolog tcpip' /* start up TCPIP */<br />

'CP XAUTOLOG <strong>VM</strong>SERVS'<br />

'CP XAUTOLOG <strong>VM</strong>SERVU'<br />

'CP XAUTOLOG <strong>VM</strong>SERVR'<br />

'CP XAUTOLOG DTCVSW1'<br />

'CP XAUTOLOG DTCVSW2'<br />

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

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

====> file<br />

► Logoff of AUTOLOG1:<br />

==> log<br />

When your z/<strong>VM</strong> system IPLs, the TCP/IP stack should now come up automatically (as long<br />

as you do not specify the notautolog parameter at IPL time).<br />

4.5.1 Renaming the TCPIP configuration file<br />

It is recommended that you change the name of the main TCPIP configuration file from<br />

PROFILE TCPIP to TCPIP, where is the name of your new z/<strong>VM</strong><br />

system. This is to avoid the possibility that the PROFILE TCPIP file will be overwritten when<br />

applying maintenance.<br />

► Logon to TCPMAINT. <strong>The</strong> PROFILE TCPIP file is on the TCPMAINT 198 disk which is accessed<br />

as the D disk.<br />

► Make a backup copy the original PROFILE TCPIP, then rename it to TCPIP<br />

(where is POKSND61 in this example). When the TCPIP service machine<br />

starts, it will search <strong>for</strong> this file be<strong>for</strong>e the file PROFILE TCPIP.<br />

==> copy profile tcpip d = tcpiorig = (oldd<br />

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

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

Saved successfully!

Ooh no, something went wrong!