Red Hat SATELLITE 5.1.0 RELEASE NOTES Instalační manuál Strana 156

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 268
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 155
138 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2
3. Copy and then edit the supplied sample configuration file to reflect the values of the new
Linux system:
# cp /etc/clone/rhel.conf.sample /etc/clone/linux01.conf
# vi /etc/clone/linux01.conf
4. Edit the new configuration file with the appropriate values for your system. This file is
based on the RHEL52 CONF file that you used earlier when building the RHEL 5.2 golden
image; see 7.1.3, “Preparing LNXINST bootstrap files” on page 94.
If the new Linux image is going to be on the same network as the golden image, you are
likely to only have to change two variables: the Internet Protocol (IP) address (IPADDR)
and the Domain Name System (DNS) name (HOSTNAME). In the following example, the IP
address is set to 10.1.40.91 and the DNS name to linux01.example.com.
# vi /etc/clone/linux01.conf
# Define the DASD that should be included as a part
# of the clone.
DASD=100,101 1
DASD_ROOT=100 2
VG_NAME=system_vg 3
LV_ROOT=root_lv 4
# Define networking information that will be used for the host.
IPADDR=9.12.5.31
SUBCHANNELS=0.0.0600,0.0.0601,0.0.0602
HOSTNAME=virtc531.itso.ibm.com
NETTYPE=qeth
NETMASK=255.255.252.0
NETWORK=9.12.4.0
SEARCHDNS=itso.ibm.com
BROADCAST=9.12.4.255
GATEWAY=9.12.4.1
DNS=9.12.6.7
MTU=1500
Note the following points for the numbers in black above:
1 This is the DASD range. You may enter dashes (-) or commas (,) to specify address
ranges or specific disks, respectively. Make sure that the range following DASD= is one
continuous block of text with no spaces added.
2 This is the DASD that contains the root file system. If the root file system is on LVM, this
value is ignored.
3 If the root file system of the golden image is on LVM, specify the volume group name
here. If you followed the installation procedure in Chapter 8, “Installing and configuring
RHEL 5.2” on page 119, the volume group name is system_vg.
4 If you specified a value for 3 (VG_NAME), specify the logical volume name of the root file
system.
5. Save the file and log off root.
This is your first time cloning, therefore it is important to verify some initial settings of the
new user ID. The next steps confirm that the LINUX01 user ID has the disk configuration
required for a successful clone and IPL.
6. Log in to LINUX01.
7. Answer n to the question Do you want to IPL Linux from minidisk 100? y/n. Verify that
the minidisks at addresses 100 and 101 and the virtual disk (VDISK) at addresses 300
and 301 are read/write:
==> q da
Zobrazit stránku 155
1 2 ... 151 152 153 154 155 156 157 158 159 160 161 ... 267 268

Komentáře k této Příručce

Žádné komentáře