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.

* 'CP MONITOR SAMPLE ENABLE STORAGE' */<br />

/* 'CP MONITOR SAMPLE ENABLE USER ALL' */<br />

/* 'CP MONITOR SAMPLE ENABLE I/O ALL' */<br />

/* 'CP MONITOR SAMPLE ENABLE APPLDATA ALL' */<br />

/* 'CP MONITOR EVENT ENABLE STORAGE' */<br />

/* 'CP MONITOR EVENT ENABLE I/O ALL' */<br />

'PERFKIT' /* Invoke the PERFKIT module @FC012BD*/<br />

Exit<br />

After:<br />

...<br />

/*** Once you have PERFKIT enabled and running uncomment the ***/<br />

/*** following comments ***/<br />

'CP MONITOR SAMPLE ENABLE PROCESSOR'<br />

'CP MONITOR SAMPLE ENABLE STORAGE'<br />

'CP MONITOR SAMPLE ENABLE USER ALL'<br />

'CP MONITOR SAMPLE ENABLE I/O ALL'<br />

'CP MONITOR SAMPLE ENABLE NETWORK'<br />

'CP MONITOR SAMPLE ENABLE APPLDATA ALL'<br />

'CP MONITOR EVENT ENABLE STORAGE'<br />

'CP MONITOR EVENT ENABLE I/O ALL'<br />

'PERFKIT' /* Invoke the PERFKIT module @FC012BD*/<br />

Exit<br />

====> file<br />

► Set the PERFS<strong>VM</strong> virtual machine to be started at z/<strong>VM</strong> IPL time. Edit the PROFILE EXEC on<br />

AUTOLOG1 so that PERFS<strong>VM</strong> is automatically started at IPL time. First, logon to AUTOLOG1.<br />

► Be<strong>for</strong>e pressing Enter at the <strong>VM</strong> READ prompt, type acc (noprof so that the PROFILE EXEC<br />

is not run.<br />

LOGON AUTOLOG1<br />

z/<strong>VM</strong> Version 6 Release 1.0, Service Level <strong>10</strong>02 (64-bit),<br />

built on <strong>IBM</strong> <strong>Virtualization</strong> Technology<br />

<strong>The</strong>re is no logmsg data<br />

FILES: NO RDR, NO PRT, NO PUN<br />

LOGON AT 14:51:02 EDT THURSDAY <strong>10</strong>/07/<strong>10</strong><br />

DMSIND2015W Unable to access the Y-disk. Filemode Y (19E) not accessed<br />

z/<strong>VM</strong> V6.1.0 20<strong>10</strong>-09-23 11:31<br />

==> acc (noprof<br />

► Add a line so the virtual machine PERFS<strong>VM</strong> is started at z/<strong>VM</strong> IPL time:<br />

==> x profile exec<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 xautolog perfsvm' /* start Per<strong>for</strong>mance Toolkit */<br />

'cp set pf12 ret' /* set the retrieve key */<br />

...<br />

► Save the file and logoff of AUTOLOG1.<br />

Chapter 14. Monitoring and tuning z/<strong>VM</strong> and Linux 231

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

Saved successfully!

Ooh no, something went wrong!