
Chapter 4. Installing and configuring z/VM 63
2. Make a copy of the working PROFILE EXEC:
==> copy profile exec a = execwrks =
3. Edit the file and add the emboldened text. A LOGOFF command is added at the end of the
EXEC so that the virtual machine will be logged off when it is complete. This will save a
small amount of memory on the system, but does add the requirement that you type acc
(noprof at the VM READ prompt when you log on interactively.
==> x profile exec
/***************************/
/* Autolog1 Profile Exec */
/***************************/
'cp xautolog tcpip' /* start up TCPIP */
'CP XAUTOLOG VMSERVS'
'CP XAUTOLOG VMSERVU'
'CP XAUTOLOG VMSERVR'
'CP XAUTOLOG DTCVSW1'
'CP XAUTOLOG DTCVSW2'
'cp set pf12 ret' /* set the retrieve key */
'cp set mdc stor 0m 128m' /* Limit minidisk cache in CSTOR */
'cp set mdc xstore 0m 0m' /* Disable minidisk cache in XSTOR */
'cp set srm storbuf 300% 250% 200%' /* Overcommit memory */
'cp set signal shutdown 300' /* Allow guests 5 min to shut down */
'cp logoff' /* logoff when done */
4. Save your changes with the FILE subcommand.
You may choose to modify or omit some of these settings. Your system should now be
configured to start up and send a signal to shut down Linux user IDs.
4.8.2 Testing the changes
To test your changes, you must perform an IPL of z/VM again. Be sure you are in a position to
do so!
Perform the following steps:
1. Shut down and perform an IPL of your system:
==> shutdown reipl iplparms cons=sysc
SYSTEM SHUTDOWN STARTED
2. When your system comes back, log on as MAINT.
3. Query the SRM values to see that the new STORBUF settings are in effect and the SIGNAL
SHUTDOWN value is set to 300 seconds:
==> q srm
IABIAS : INTENSITY=90%; DURATION=2
LDUBUF : Q1=100% Q2=75% Q3=60%
STORBUF: Q1=300% Q2=250% Q3=200%
DSPBUF : Q1=32767 Q2=32767 Q3=32767
Important: The set mdc and set srm lines are z/VM tuning values. It is believed that these
are good starts for Linux systems, but will not be optimal for all z/VM systems. For more
reading on these values, see the following websites:
http://www.vm.ibm.com/perf/tips/linuxper.html
http://www.vm.ibm.com/perf/tips/prgmdcar.html
Commenti su questo manuale