background image

z/VM

Getting Started with Linux on System z

version 6 release 1

SC24-6194-00

Summary of Contents for ZVM - FOR LINUX V6 RELEASE 1

Page 1: ...z VM Getting Started with Linux on System z version 6 release 1 SC24 6194 00...

Page 2: ......

Page 3: ...z VM Getting Started with Linux on System z version 6 release 1 SC24 6194 00...

Page 4: ...dification 0 of IBM z VM product number 5741 A07 and to all subsequent releases and modifications until otherwise indicated in new editions This edition replaces SC24 6096 03 Copyright International B...

Page 5: ...ling or user volume 35 Steps for releasing the primary parm disk 37 Steps for updating the CP owned volume list 37 Steps for updating the default system identifier 39 Steps for updating the user volum...

Page 6: ...ng up critical data 112 Overview of archiving z VM system data 112 Archiving virtual server disks 113 Chapter 11 Monitoring performance and capacity 117 Overview of performance monitoring 117 Monitori...

Page 7: ...e of z VM and wants to get started deploying Linux servers on z VM Before you begin you must v Understand mainframe hardware concepts such as logical partitions LPARs and I O v Know and have used the...

Page 8: ...e you would type query processors The rest of the example is the system response query processors PROCESSOR 00 MASTER PROCESSOR 01 ALTERNATIVE Ready Variable information appears in bold italics which...

Page 9: ...r document is based on the name of the requested PDF file The name of the PDF file for an IBM document is unique and identifies the edition The links provided in this document are for the editions PDF...

Page 10: ...viii z VM Getting Started with Linux on System z...

Page 11: ...e following information v Your name and address v Your e mail address v Your telephone or fax number v The publication title and order number z VM V6R1 Getting Started with Linux on System z SC24 6194...

Page 12: ...x z VM Getting Started with Linux on System z...

Page 13: ...t be provided through z VM service by program temporary fixes PTFs for authorized program analysis reports APARs which also might be available for some prior releases SC24 6194 00 z VM Version 6 Relea...

Page 14: ...xii z VM Getting Started with Linux on System z...

Page 15: ...tral processing units CPUs storage memory peripheral devices for input and output such as disks tapes printers and displays and the operator console The operating system manages all these resources to...

Page 16: ...systems such as the Conversational Monitor System CMS more about CMS in a moment The Control Program CP is the component of z VM that manages the resources of a single computer so that multiple comput...

Page 17: ...ge memory and devices In reality these items can be v Real For example you can dedicate a real network interface to a virtual machine for its exclusive use v Shared For example the CPU is shared throu...

Page 18: ...l Each virtual machine can have one or more minidisks and those minidisks are under control of the guest operating system To the guest a minidisk appears as an entire DASD volume though smaller and th...

Page 19: ...pause which depends on the terminal settings for your virtual machine the next screen of information is displayed To view the next screen right away press the Clear key To hold this information on th...

Page 20: ...05 DASD 0191 3390 USGE24 R W 10 CYL ON DASD 7378 SUBCHANNEL 0000 DASD 019A 3390 PK5001 R O 400 CYL ON DASD 810B SUBCHANNEL 0009 DASD 019D 3390 US7E0K R O 250 CYL ON DASD 801C SUBCHANNEL 0006 The respo...

Page 21: ...ctions for processing on a unit record device Spooling is the processing of files created by or intended for virtual readers punches and printers Through CP and CMS commands you can send spool files f...

Page 22: ...that follow the sample Note In this document the user directory is modified by using the IBM Directory Maintenance program DirMaint which handles both source and object forms of the user directory In...

Page 23: ...machine s minidisks 8 MDISK statements define minidisks owned by the virtual machine The format of the statement is MDISK devno type start_cyl extent vol_label access_mode where devno Is the virtual d...

Page 24: ...ew your accessed CMS minidisks type the QUERY ACCESSED command and press the Enter key Ready query accessed Mode Stat Files Vdev Label Directory A R W 595 191 CHA191 E R O 1776 201 IDTOOL S R O 690 19...

Page 25: ...0 13 03 12 00 40 KIJL0CMD LOG A1 V 122 131 2 10 13 03 12 00 37 KIJL0CMD SCRIPT A1 V 81 454 4 10 13 03 12 00 37 REXEC HELPTCPI A1 V 79 133 2 10 13 03 10 26 11 NETSTAT HELPTCPI A1 V 79 749 9 10 13 03 10...

Page 26: ...9 14 5 20 02 0 47 02 B2HSETUP SCRIPT Q1 V 70 175 2 5 20 02 0 47 02 B2HUSE SCRIPT Q1 V 89 2622 25 5 20 02 0 47 02 ACRONYMS SCRIPT V1 V 962 62886 769 4 05 01 16 27 39 VMSERVE SCRIPT V1 V 103 3180 31 1 2...

Page 27: ...cs and tasks To view a Help panel move the cursor to any character of the name and press the ENTER key or the PF1 key HELPINFO HELP Facility topics MENUS z VM Help menus TASKS Basic z VM tasks good ch...

Page 28: ...ogon SAVESYS TRANsfer DETACH CP CPTRAP DUPlex Message SCREen TRSAVE DISABLE ACNT CPTYPE ECho MODify SEND TRSOurce DISPLAY ACTivate CPU ENable MONitor SET UNCOUPLE PF1 Help 2 Top 3 Quit 4 Return 5 Cloc...

Page 29: ...ype file mode and other file characteristics F 80 means the length of a line is fixed at 80 characters Trunc 80 means any characters beyond the 80 character length are truncated Size 0 means there are...

Page 30: ...pointer when they are finished 6 Scale The scale appears under the current line to help you edit It is like the margin scale on a typewriter The vertical bar in column one on the scale is the column...

Page 31: ...a line press the new line Enter key to return the cursor to the beginning of the next line If you press the new line key on a line without data XEDIT returns the file to editing mode XEDIT blocks the...

Page 32: ...ing letters v Delete key By placing the cursor on a line and pressing the delete key the character to the right of the cursor is deleted and the line closes up v ADD and INPUT prefix commands By movin...

Page 33: ...VM hypervisor 6 Create two blank lines between the first and second lines by typing i2 in the second prefix area and pressing the Enter key 7 Delete one of the blank lines by typing d in the prefix ar...

Page 34: ...ritical file Related information v z VM CMS Primer SC24 6172 v For more advanced information see z VM XEDIT User s Guide SC24 6245 Summary of Linux and z VM similarities Though Linux and z VM differ i...

Page 35: ...ca of your production guests for testing purposes within this LPAR Finally another LPAR runs another operating system such as z OS The number of Linux guests you need to run depends on many factors Th...

Page 36: ...propriate and misleading expectations of capacity because the practice does not incorporate any of the real world operational characteristics or highlight any of the elements and advantages of consoli...

Page 37: ...work activity However the vast majority of real world workloads skew the distribution of work At any given moment some applications are active while others are less active or idle Unless your workload...

Page 38: ...r v e r 40 30 20 10 9 8 7 6 5 4 3 2 1 A Figure 5 Workload distribution patterns Part 1 of 3 Increasing throughput V i r t u a l S e r v e r 40 30 20 10 9 8 7 6 5 4 3 2 1 B Figure 5 Workload distribut...

Page 39: ...gs considered during an initial sizing and the things you should consider as you add work to your system To get you started this topic gives you some basic knowledge about estimating the memory and CP...

Page 40: ...ause z VM is a 64 bit system it seems as though allocating all memory to central storage makes sense However z VM manages a paging hierarchy that uses expanded storage first then slower DASD Pages mov...

Page 41: ...Web site entitled Documentation for Development stream at http www ibm com developerworks linux linux390 documentation_dev html Real CPU requirements The real CPU requirement is not simply a function...

Page 42: ...up all the figures in the right column of Table 2 including the memory requirement for z VM to get a total 7 Calculate the central and expanded storage sizes 8 Record the number of real CPUs available...

Page 43: ...allations v Eliminating certain Linux packages can help reduce your DASD requirements Consider a minimal Linux installation to save disk space v Another strategy to save DASD is to divide up the Linux...

Page 44: ...t connections If the guests require external connectivity that connection requires a virtual machine acting as a router between the guest LAN and the external connection Virtual switch A virtual switc...

Page 45: ...o the virtual switch Overview of defining virtual machines for Linux on page 71 Configuring Linux to use the virtual switch Your Linux installation documentation For Linux the connection is defined as...

Page 46: ...e 100 and Virtual machine operation tasks on page 107 Related information v For more information about defining the cryptographic facility for the LPAR in which z VM runs consult your hardware and Har...

Page 47: ...ECTXA command DirMaint maintains and updates the online user directory You interact with the DIRMAINT service machine through commands to make changes to the user directory A handy DirMaint function f...

Page 48: ...ted information v Program Directory for IBM z VM Directory Maintenance Facility Feature at http www ibm com eserver zseries zvm library v z VM Directory Maintenance Facility Tailoring and Administrati...

Page 49: ...e z VM classifies DASD volumes according to their use In this topic you format and allocate paging spooling and user volumes A paging volume is a volume owned by CP that is used by the paging subsyste...

Page 50: ...OCATION DATA where label is a volume label for instance PAG002 for a paging volume SPL002 for a spooling volume or USR002 for a user volume 4 In response to the ENTER ALLOCATION DATA prompt type one o...

Page 51: ...Type these commands and press the Enter key after each command link cf1 cf1 mr Ready access cf1 z Ready You know you are done when you have access to the CF1 disk Steps for updating the CP owned volum...

Page 52: ...to tolerate errors 2 Find the section titled CP_Owned Volume Statements At the XEDIT command line type this command and press the Enter key cp_owned volume statements 3 Move the cursor to a CP owned...

Page 53: ...ase 1 systems If you have many z VM systems it is difficult to determine which z VM system you are logged onto unless you make the system identifier unique for each system Before you begin You need to...

Page 54: ...at IPL time The USER_VOLUME_LIST statement directs CP to attach specific user DASD volumes at z VM load IPL time The USER_VOLUME_INCLUDE statement allows you to create a general volume identifier and...

Page 55: ...y save You should now see something like this SYSTEM CONFIG Z1 F 80 Trunc 80 Size 253 Line 101 Col 1 Alt 3 User_Volume_List These statements are not active at the present time They are examples and ca...

Page 56: ...hutdownTime and Signal ShutdownTime features enable a virtual machine to register with CP to receive a shutdown signal when z VM is shutting down see Steps for enabling Linux virtual servers to shut d...

Page 57: ...sswords_on_Cmds What commands allow passwords Autolog no AUTOLOG does not Link no LINK does not Logon no and LOGON does not too Vdisk Userlim 144000 blocks Maximum vdisk allowed per user Disconnect_ti...

Page 58: ...0000 FFFF Steps for defining a virtual switch The recommended facility to use when virtual machines need to have network connectivity with each other is a z VM virtual switch You can define a virtual...

Page 59: ...FY VSWITCH switch_name GRANT userid where switch_name is a name you give the virtual switch rdev is the real device address of your QDIO OSA Express device userid is the user ID of a virtual machine f...

Page 60: ...the address of your IPL console and your emergency messages console on the Operator_Consoles statement During IPL CP tries each device on the Operator_Consoles statement from left to right until it f...

Page 61: ...tream An important escape character is the line end character this character followed by cp indicates that what follows is a CP command and should not be given to Linux The default line end character...

Page 62: ...d replace with Line_End System default 6 Save the file At the XEDIT command line type this command and press the Enter key save You should now see something like this SYSTEM CONFIG Z1 F 80 Trunc 80 Si...

Page 63: ...restoring CP s access to the primary parm disk You need to configure DirMaint and TCP IP so do not shut down z VM at this point Because you are not shutting down you need to restore CP s access to th...

Page 64: ...50 z VM Getting Started with Linux on System z...

Page 65: ...type this command and press the Enter key query accessed Mode Stat Files Vdev Label Directory A R W 9 191 MNT191 B R W 130 5E5 MNT5E5 C R W 59 2CC MNT2CC D R W 185 51D MNT51D S R O 689 190 MNT190 Y S...

Page 66: ...Example USER DIRMAINT MYPASSWD 32M 64M BDG 4 Repeat steps 2 and 3 for the DATAMOVE user 5 Similarly change the default password for the 6VMDIR10 user 6 Check 6VMDIR10 for this statement LINK MAINT 2CC...

Page 67: ...rm an initial configuration 1 Access the 492 minidisk acc 492 u 2 Issue this command dir2prod samp 6vmdir10 dirm DIR2PROD Copy of 2C2 samples to 1DF disk has completed DIR2PROD Normal Termination Read...

Page 68: ...input mode press the Enter key twice 9 Save the file From the command line type this command and press the Enter key file 10 Release the 11F disk From the command line type this command and press the...

Page 69: ...YSTEM for minidisks related to system user IDs or a group called LINUX for minidisks related to virtual machines for Linux Grouping allows you to separate user minidisks from system related minidisks...

Page 70: ...xample This statement labels an entire 3390 03 with a volume label 430LIN as LINUX01 LINUX01 430LIN 001 END 3390 03 END is a special keyword specifying the last cylinder 5 Repeat step 4 on page 55 for...

Page 71: ...LINUX01 LINUX02 LINUX03 71 END 72 EXCLUDE 73 UserId Address 74 MAINT 012 75 SYSDUMP1 012 76 END Continue to the next steps Steps for copying the current USER DIRECT file Before DirMaint is activated...

Page 72: ...art DirMaint Before you begin You need to log onto 6VMDIR10 Later when you log onto DIRMAINT you need to know the log on password you defined in Steps for changing the passwords for DirMaint service m...

Page 73: ...ype this command and press the Enter key bot 5 Add the new XAUTOLOG statements From the XEDIT command line type input press the Enter key then type these lines Press the Enter key after you type each...

Page 74: ...the DVHXMT1181R terminal To exit without processing the command just DVHXMT1181R press ENTER DVHXMT1191I Your NEEDPASS request has been sent for processing MAINT AT DVHTEST6 T 0 05 0 06 18 53 02 DVHRE...

Page 75: ...rectory entry OPERATOR has been updated DVHBIU3423I The next ONLINE will take place via Diagnose 84 DVHBIU3428I Changes made to directory entry OPERATOR have been placed DVHBIU3428I online DVHBIU3427I...

Page 76: ...62 z VM Getting Started with Linux on System z...

Page 77: ...duction TCP IP If you set up a static connection during z VM installation and are satisfied with this configuration this task is optional If you want a more comprehensive TCP IP network you need to fo...

Page 78: ...ommand and press the Enter key input 4 Add the new XAUTOLOG statement ADDRESS COMMAND CP XAUTOLOG TCPIP 5 Press the Enter key twice Result The file should look like this PROFILE EXEC Z2 V 80 Trunc 80...

Page 79: ...7 Detach the 091 minidisk AUTOLOG1 s 191 Type this command and press the Enter key release z det Ready You are done Chapter 5 Configuring TCP IP 65...

Page 80: ...66 z VM Getting Started with Linux on System z...

Page 81: ...start z VM 1 Type this command and press the Enter key shutdown reipl Result When the system shuts down and re IPLs you see a number of IPL messages z VM restores the system to the same state as it wa...

Page 82: ...NT AT system VIA RSCS 02 20 04 20 11 10 UTC FRIDAY Ready where system is the system identifier Step for checking the user volume list Before you begin You need to be logged on as MAINT Perform this st...

Page 83: ...pe this command and press the Enter key query dasd offline DASD 1440 OFFLINE DASD 1441 OFFLINE DASD 1442 OFFLINE DASD 1443 OFFLINE Step for checking the virtual switch Before you begin You need to be...

Page 84: ...portname UNASSIGNED ipv4 router type NONROUTER ipv6 DISABLED cpu 0 forwarding ENABLED RX bytes 127217 TX bytes 126518 Ready You defined the interface name name IP address ip_address mask mask virtual...

Page 85: ...page 21 The basic subtasks are Table 6 Task roadmap for setting up Linux virtual servers Subtask Associated instructions see Define a prototype and create your first virtual machine from the prototype...

Page 86: ...DATADVH A1 received from DIRMAINT at system receive File LINUX PROTODIR A1 created from LINUX DATADVH A1 received from DIRMAINT at system 2 Edit LINDFLT DIRECT From the command line type this command...

Page 87: ...ers access to cryptographic hardware for SSL acceleration on page 31 4 If you make any changes to LINDFLT DIRECT save the file with the XEDIT FILE command From the XEDIT command line type this command...

Page 88: ...press the Enter key dirm add linmstr like linux pw new_password where new_password is the password for logging on LINMSTR new_password must be 8 characters long and must contain both numbers and lett...

Page 89: ...recycle Linux virtual servers v If you want to see the entire user directory entry for a user issue the following commands dirm for user_id get nolock RDR FILE nnn SENT FROM DIRMAINT PUN WAS 8116 REC...

Page 90: ...volume 610W02 for instance 3390 2 Log onto LINMSTR Note After the logon messages you receive a message because the 191 disk is not formatted Disregard this message DMSACP112S A 191 device error 3 For...

Page 91: ...ders formatted on A 192 Ready You are done when you finish formatting the 192 disk Installing Linux in a virtual machine Though you need to follow the instructions from your Linux distribution to inst...

Page 92: ...a from the z VM logical partition you do not need a remote FTP server to get the Linux installation files See Example of using FTP to install Linux from the hardware management console on page 139 2 P...

Page 93: ...c resolv conf points to the correct name server v If you want to use the signal shutdown function for all your Linux systems you can make the required modification now so it will be included in all cl...

Page 94: ...e 766 69 Kbytes sec Command get boot s390x initrd suse initrd PORT 9 185 246 26 4 7 200 PORT command successful RETR boot s390x initrd 150 Opening BINARY mode data connection for initrd 9862505 bytes...

Page 95: ...hannel 0005 PIM C0 PAM C0 POM FF Detected device 000C on subchannel 0006 PIM 80 PAM 80 POM FF Detected device 000D on subchannel 0007 PIM 80 PAM 80 POM FF Detected device 000E on subchannel 0008 PIM 8...

Page 96: ...e 85 shows you how to automate the startup of Linux virtual servers whenever z VM itself loads thus whenever z VM loads all your virtual machines are logged on and in turn each virtual machine loads t...

Page 97: ...loned Linux virtual server v Log on as MAINT Perform these steps to clone a Linux virtual server 1 Add a clone of LINUX to the user directory Issue this DirMaint command dirm add linux02 like linux pw...

Page 98: ...like yast2 6 Shut down the Linux operating system in LINUX02 and reboot Check that the Linux operating system reboots properly and that the network connections are correct 7 Try pinging this Linux ser...

Page 99: ...her vital system service In turn each virtual machine executes its own PROFILE EXEC which contains the necessary commands to establish its operating environment in the case of Linux the PROFILE EXEC c...

Page 100: ...command and press the Enter key up 1 d From the XEDIT command line type this command and press the Enter key input 4 Add these XAUTOLOG statements Press the Enter key after you type each line ADDRESS...

Page 101: ...9 Check your Linux system documentation to determine if it supports the shutdown signal You need to log onto MAINT You also need to log onto your Linux system as a superuser Perform these steps to ena...

Page 102: ...run in the CP system operator s virtual machine The programmable operator facility compares all messages directed to it against entries listed in a routing table a CMS file When a match occurs the pre...

Page 103: ...tion about the statements in the PROP RTABLE including comparison entries see The Routing Table in z VM CMS Planning and Administration SC24 6171 Use this procedure as a model by which to automate oth...

Page 104: ...and press the Enter key set case u b Set line numbers on From the XEDIT command line type this command and press the Enter key set num on 3 Locate the LGLOPR statement a Replace OPERATOR with LGLOPR b...

Page 105: ...s in mixed case as shown Note These lines filter many messages Over time you might want to remove some if you find you do not use them or want to handle certain messages in other ways such as logging...

Page 106: ...1 Log onto OPERATOR and edit its PROFILE EXEC Type this command and press the Enter key xedit profile exec 2 Go to the bottom of the file and enter input mode From the XEDIT command line type these co...

Page 107: ...consoles works In the figure each Linux virtual machine has the command CP SET SECUSER OPERATOR in its PROFILE EXEC The command defines the OPERATOR user ID as a secondary console meaning all virtual...

Page 108: ...ress the Enter key ipl cms 2 When you see the CMS initialization message and VM READ type this command and press the Enter key i cms z VM V6 1 0 2004 07 27 14 44 acc noprof VM READ VM610A 3 Edit the P...

Page 109: ...our automation try to attempt to couple a network adapter that is already coupled Messages at the LGLOPR virtual console that the coupling fails tell you that your automation is working properly Befor...

Page 110: ...Where userid is the user ID of the Linux virtual server and systemid is the z VM system ID You know you are done when the test succeeds 96 z VM Getting Started with Linux on System z...

Page 111: ...at is only one Linux guest can use it at a time Your Linux guest must be configured to use the ASCII console The console provides a VT220 interface for Linux so you can use Linux tools such as vi and...

Page 112: ...ets you respond quickly to system errors and z VM user requests Some tasks you perform from the Linux virtual console are virtual machine tasks those are documented in this section Other tasks are ope...

Page 113: ...spooling volumes 1 Format and allocate a new spooling volume See Steps for adding a paging spooling or user volume on page 35 2 Attach the new spooling volume to the system attach rdev to system where...

Page 114: ...shuts down and reboots IPLs you see a number of IPL messages z VM restores the system to the same state as it was prior to shutdown You know you are done when you see z VM restored Step for managing r...

Page 115: ...Commands on the IBM developerWorks Linux on System z Web site entitled Documentation for Development stream at http www ibm com developerworks linux linux390 documentation_dev html 2 For Linux to use...

Page 116: ...610RES 79 Ready If you see OWNED the device is used by the system for paging or spooling activity v For tape drives query 102 TAPE 0102 ATTACHED TO RALPH 0236 R W Ready This means that the magnetic ta...

Page 117: ...08 CEX2A Queue 11 is installed AP 09 CEX2A Queue 08 is installed AP 09 CEX2A Queue 09 is installed AP 09 CEX2A Queue 10 is installed AP 09 CEX2A Queue 11 is installed Ready Enable a logical connection...

Page 118: ...e last path to device Vary path c2 offline command complete Ready Display the logical path status and devices with that logical path installed CP QUERY CHPID nn Example To find out the status of chann...

Page 119: ...the CP command Example help cp force If you want to Then use this command Add a minidisk to a Linux virtual server DIRM FOR userid AMDISK vdev 3390 AUTOV cyls volid Issue this command from MAINT Exam...

Page 120: ...DSC LINUX4 L0082 LINUX5 L003E LINUX6 L008A LINUX6 L0086 Ready DSC means the virtual machine is running in disconnected mode Log off an active user CP FORCE userid Issue this command from LGLOPR Examp...

Page 121: ...tual machine operation tasks When you run Linux under z VM there are times when you must simulate real hardware functions Use these CP commands to simulate these real operator functions Issue CP comma...

Page 122: ...istributions support the hcp utility which allows you to issue CP commands from the virtual console or telnet session by prefacing the command with hcp rather than the line end character plus cp Newer...

Page 123: ...istrator to increase the maximum size Examples cp define storage 512m STORAGE 512M Storage cleared system reset If you use vmcp to address CP vmcp define storage 512m STORAGE 512M Storage cleared syst...

Page 124: ...age cleared system reset If you use vmcp to address CP vmcp detach cpu 01 00 CPU 01 detached 00 Storage cleared system reset v Minidisks cp detach 200 DASD 0200 DETACHED If you use vmcp to address CP...

Page 125: ...ghlighted output appears on the screen TERMINAL HOLD ON When the display screen is in HOLDING status and you want to clear the display press the PA1 or CLEAR key Examples cp terminal hold on If you us...

Page 126: ...change It is not necessary to archive the z VM paging space since these disks hold data valid only for the currently running z VM system z VM provides two service programs for archiving v The DASD Du...

Page 127: ...irtual server minidisks use the DDR command in CMS The DDR command requires CMS and a running z VM system If you do not have a running z VM system restore it from the loadable tape you created as an a...

Page 128: ...hown dump all HCPDDR711D VOLID READ IS LIN150 DO YOU WISH TO CONTINUE RESPOND YES NO OR REREAD yes DUMPING LIN150 ENTER 9 To exit DDR press the Enter key 10 Repeat these steps for each virtual server...

Page 129: ...uration Example To link MAINT to LINTEST s 150 minidisk issue this command link lintest 150 950 w 4 From the CMS command line type the DDR command and press the Enter key ddr z VM DASD DUMP RESTORE PR...

Page 130: ...WISH TO CONTINUE RESPOND YES NO OR REREAD yes RESTORING LIN150 ENTER 9 To exit DDR press the Enter key 10 Repeat these steps for each virtual server disk you want to restore 11 Log onto the test Linu...

Page 131: ...and adjustments you make serve only to get the best performance from the physical resources you have Sometimes there is nothing more you can do for performance due to the limitations of your hardware...

Page 132: ...er configuration of the z VM system settings of the monitor itself and so on Data the monitor emits under a certain domain includes both event information such as a user logoff and sample information...

Page 133: ...that require highly demanded resources grant virtual machines their shares of available system resources and control the amount of resource each class gets For instance though E2 and E3 virtual machi...

Page 134: ...RATIO 100 STORAGE 015 PAGING 0006 SEC STEAL 000 Q0 00002 00000 DORMANT 00487 Q1 00001 00000 E1 00000 00000 Q2 00001 00000 EXPAN 002 E2 00000 00000 Q3 00009 00000 EXPAN 002 E3 00000 00000 PROC 0000 057...

Page 135: ...E3 eligible users an eligible list is forming because one or more system resources appears to be constrained 3 The third column explains why a virtual machine is in a wait state v Rnn current RUNUSER...

Page 136: ...but this also indicates the virtual machine might need to be restarted Warn users and contact the virtual machine owner before you restart the virtual machine A virtual machine s share of resources c...

Page 137: ...43651 43651 7 DUMP K47808 7808 0 3338 601020 81642 600988 13 K4951D 951D 0 3338 601020 588935 601020 97 SUMMARY 3162K 2093K 66 USABLE 2575K 2050K 79 Ready You are done Using the CP Monitor and Perfor...

Page 138: ...the saved segment to display real time performance characteristics Performance Toolkit for VM can also process monitor data records written to disk or tape by MONWRITE While processing monitor data P...

Page 139: ...tional Steps for setting up your Linux virtual servers to be monitored by Performance Toolkit for VM on page 130 Optional Setting up the Web interface for Performance Toolkit for VM Optional Steps for...

Page 140: ...and start it up again in the morning Watch the percentage of the disk used due to monitor data being stored in this file so the disk does not fill up To check the disk use the CMS QUERY ACCESSED comma...

Page 141: ...SAMPLE DISABLE ALL 00002 CP MONITOR EVENT DISABLE ALL 00003 CP MONITOR SAMPLE ENABLE PROCESSOR 00004 CP MONITOR SAMPLE ENABLE STORAGE 00005 CP MONITOR SAMPLE ENABLE NETWORK 00006 CP MONITOR SAMPLE ENA...

Page 142: ...put mode From the XEDIT command line type this command and press the Enter key input c Type this line and press the Enter key twice FCONRMT SYSTEMS A1 F 80 Trunc 80 Size 1 Line 1 Col 1 Alt 1 DMSXMD587...

Page 143: ...e with the next instructions Steps for checking your Performance Toolkit for VM configuration Before you begin You need to be logged onto PERFSVM Perform these steps to check the configuration 1 From...

Page 144: ...mmand F1 Help F4 Top F5 Bot F7 Bkwd F8 Fwd F12 Return 3 Wait to allow Performance Toolkit for VM to collect data Performance Toolkit for VM will not perform most screen calculations until at least two...

Page 145: ...column 1 with an F for the MONCOLL WEBSERV statement FC MONCOLL WEBSERV ON TCPIP TCPIP 81 d In the prefix area for the FC MONCOLL WEBSERV statement type a press the Enter key and add this line FC MONC...

Page 146: ...ommand line issue netstat obey port 81 tcp perfsvm You are done Optional Steps for testing your Web interface setup Before you begin You need be able to log off then log back onto PERFSVM You need to...

Page 147: ...mance data Using monitoring to analyze performance and capacity This topic gives you a start on how to analyze performance and capacity problems The topic does not cover performance and capacity in de...

Page 148: ...rmation for the z VM system For Linux guests 21 User resource usage 22 User paging load If user paging activity shows significant page migration rates below the 2 GB line the 2GB column the system is...

Page 149: ...M Unwanted resource consumption 1 CPU load and trans v On Linux use ps ef to show the running tasks Remove those tasks you do not need v Install the on demand timer patch which disables the Linux wake...

Page 150: ...do not wait in the eligible list when they have work to do SET QUICKDSP userid Example cp set quickdsp linux0 on USER LINUX0 QUICKDSP ON Note With this setting virtual machines are assigned an eligib...

Page 151: ...new release or version of a product or as service When new function is delivered as service it is called a small programming enhancement SPE SPEs are delivered and tracked the same way as problems An...

Page 152: ...de for Automated Installation and Service GC24 6197 Procedures for Local Service and Modifications in z VM Service Guide GC24 6232 In general then v Someone reports a problem to IBM which is entered a...

Page 153: ...se the directory containing the Linux boot files varies based on the Linux distribution and distribution level the directory information used in the FTP GET commands in this topic is for example use o...

Page 154: ...the HMC removable media you must queue an HMCAUTH YES string followed by a HMC string to the program stack in the z VM FTP server CHKIPADR exit Perform these steps to ftp to the HMC removable media th...

Page 155: ...ikr 150 Opening BINARY mode data connection for vmrdr ikr 1511884 bytes 226 Transfer complete 1511920 bytes transferred in 1 972 seconds Transfer rate 766 69 Kbytes sec Command get boot s390x initrd s...

Page 156: ...142 z VM Getting Started with Linux on System z...

Page 157: ...orporation Licensing 2 31 Roppongi 3 chome Minato ku Tokyo 106 0032 Japan The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with...

Page 158: ...m the suppliers of those products their published announcements or other publicly available sources IBM has not tested those products and cannot confirm the accuracy of performance compatibility or an...

Page 159: ...Copyright and trademark information at www ibm com legal copytrade shtml Adobe and PostScript are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and or o...

Page 160: ...146 z VM Getting Started with Linux on System z...

Page 161: ...new help file inside the previous help file You can repeat this process many times The status area in the lower right corner of the screen shows how many help files you have open To close the current...

Page 162: ...148 z VM Getting Started with Linux on System z...

Page 163: ...z SC24 6194 v z VM Group Control System SC24 6196 v z VM I O Configuration SC24 6198 v z VM Running Guest Operating Systems SC24 6228 v z VM Saved Segments Planning and Administration SC24 6229 v z V...

Page 164: ...ions SA22 7563 v z OS MVS Program Management Advanced Facilities SA22 7644 v z OS MVS Program Management User s Guide and Reference SA22 7643 Diagnosis v z VM CMS and REXX VM Messages and Codes GC24 6...

Page 165: ...GC24 6223 v z VM RSCS Networking Exit Customization SC24 6224 v z VM RSCS Networking Messages and Codes GC24 6225 v z VM RSCS Networking Operation and Use SC24 6226 v z VM RSCS Networking Planning and...

Page 166: ...152 z VM Getting Started with Linux on System z...

Page 167: ...CONFIG DATADVH file 53 configuring 51 53 enabling 51 EXTENT CONTROL file 55 group name 56 minidisks where created 55 overview 33 password 52 putting into production 58 region ID 56 task roadmap 33 te...

Page 168: ...4 Q QQUIT subcommand 19 QUERY rdev command 102 QUERY userid command 106 QUERY NAMES command 106 QUERY PATHS command 103 QUERY SHARE command 122 QUERY USERS command 105 106 QUIT subcommand 19 R reader...

Page 169: ...cking 70 task roadmap 31 user volume list checking 68 updating 40 virtual switch checking 69 configuring 31 44 z VM restarting 67 TCP IP autologon 64 checking 70 network connection 63 networking optio...

Page 170: ...156 z VM Getting Started with Linux on System z...

Page 171: ......

Page 172: ...Program Number 5741 A07 Printed in USA SC24 6194 00...

Reviews: