Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Manual de instalación Pagina 178

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 296
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 177
158 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
'cp xautolog tcpip' /* start up TCPIP */
'CP XAUTOLOG DTCVSW1' /* start VSWITCH controller 1 */
'CP XAUTOLOG DTCVSW2' /* start VSWITCH controller 2 */
'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 */
/* Grant access to VSWITCH for each Linux user */
'cp set vswitch vsw1 grant rh6clone'
'cp set vswitch vsw1 grant rh6gold'
'cp set vswitch vsw1 grant linux01'
/* XAUTOLOG each Linux user that should be started */
'cp xautolog rh6clone'
'cp xautolog linux01'
'cp logoff' /* logoff when done */
====> file
These changes will not take effect until the next IPL, so you must grant this user ID access to
the VSWITCH for this z/VM session:
==> set vswitch vsw1 grant linux01
Command complete
9.3 Cloning a virtual server manually
Before using the clone script to clone a server, you should clone a server manually to better
understand the process.
There are many ways to clone Linux under z/VM. The steps in this section are just one way to
do it. The following assumptions are made based on what you have done so far:
򐂰 The source user ID, RH6GOLD in this example, has a root file system on LVM, located on
minidisks 100-101.
򐂰 The target user ID, LINUX01 in this example, has identically sized mindisks 100-101.
򐂰 The vmcp command is available to issue z/VM CP commands
򐂰 The z/VM FLASHCOPY command can be used, but if you do not have that support, the
Linux dd command will work.
Given these assumptions, one set of steps that can be used to clone a system is as follows:
1. Link the source disks as read-only.
2. Link the target disks as read/write.
3. Copy the source to the target disk with FLASHCOPY or the Linux dd command.
4. Detach the source disks.
5. Bring the newly copied LVM online.
6. Mount the newly copied root file system.
7. Modify the networking information on the target system.
Vista de pagina 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 295 296

Comentarios a estos manuales

Sin comentarios