
60 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2
'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 */
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 reIPL z/VM again. Perform the following steps:
1. Shut down and reIPL your system.
==> shutdown reipl iplparms cons=sysc
SYSTEM SHUTDOWN STARTED
2. When your system comes back, logon as MAINT.
3. Query the SRM values to verify 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
...
==> q signal shutdown
System default shutdown signal timeout: 300 seconds
This output shows that your changes have taken effect.
4.9 Addressing z/VM security issues
This section briefly discusses the following security issues:
z/VM security products
High level z/VM security
Linux user ID privilege classes
z/VM user ID and minidisk passwords
Important: The set mdc and set srm lines are z/VM tuning values. It is believed that these
are useful starts for Linux systems, but will not be optimal for all z/VM systems.
For more information about these values, see the following Web sites:
http://www.vm.ibm.com/perf/tips/linuxper.html
http://www.vm.ibm.com/perf/tips/prgmdcar.html
Komentarze do niniejszej Instrukcji