
212 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2
z/VM configuration files
z/VM differs from Linux in regard to the location and number of configuration files. In Linux,
there are many configuration files and most of them are in or under the /etc/ directory. On
z/VM, there are relatively few configuration files. However, they are on many different
minidisks.
Table 1 summarizes the location and content of z/VM configuration files.
Table 1 z/VM configuration files
Quick reference sheets
This section contains quick reference sheets for the XEDIT and vi editors.
XEDIT quick reference sheet
XEDIT has line commands which are typed on the command line (===>) and prefix
commands which are typed over the line numbers on the left side of the window.
Line commands
a Add a line
a<n> Add ‘n’ lines
c/<old>/<new>/ <n> <m> Search for string ‘old’ and replace it with ‘new’ for ‘n’ lines
below the current line and ‘m’ times on each line. ‘*’ can be used for ‘n’ and ‘m’
/<string> Search for ‘string’ from the current line
-/<string> Search backwards for ‘string’
all /<string>/ Show all occurences of ‘string’ and hide other lines
bottom Move to the bottom of the file
top Move to the top of the file
down <n> Move down ‘n’ lines
up <n> Move up ‘n’ lines
file Save the current file and exit XEDIT
ffile Save the current file and exit but don’t warn of overwrite
save Save the current file but don’t exit
File Location Description
SYSTEM CONFIG MAINT CF1 This is the operating system’s main configuration file. It defines the system
name, the CP volumes, user volumes and other settings.
USER DIRECT MAINT 2CC This file defines the user directory. All user IDs or virtual machines known
to the system are defined here (assuming a directory maintenance
product is not being used).
<System_ID> TCPIP TCPMAINT 198 This file defines the resources for the primary z/VM TCP/IP stack,
including TCP/IP address, OSA resources, subnet mask and gateway. It
is initially created by the IPWIZARD tool as PROFILE TCPIP.
SYSTEM DTCPARMS TCPMAINT 198 This file is created to define the TCP/IP stacks on the system. It is initially
created by the IPWIZARD tool.
TCPIP DATA TCPMAINT 592 This file defines the DNS server, the domain name and some other
settings. It is initially created by the IPWIZARD tool.
PROFILE EXEC AUTOLOG1 191 This file is a REXX EXEC that is run when the system starts up. It is
analogous to the /etc/inittab file in Linux.
Komentarze do niniejszej Instrukcji