Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Manuale di Installazione Pagina 242

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 296
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 241
222 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
13.6 Setting up Linux Memory Hotplugging
Linux Memory Hotplug allows the amount of memory in a Linux system to be increased or
decreased without a reboot. You must first have standby memory defined to the virtual
machine in which Linux is running. You can issue the CP DEFINE STORAGE command to
configure standby memory (storage). RHEL 6 Linux can then exploit the standby memory
using the Service Call (SERVC) instruction.
To set up standby storage for Linux memory hotplug, using LINUX01 as the virtual machine,
perform the following steps.
1. Modify the LINUX01 directory entry by adding a COMMAND statement. This action gives the
virtual machine an additional 768 MB of standby memory:
USER LINUX01 LNX4VM 256M 1G G
INCLUDE LNXDFLT
COMMAND DEFINE STORAGE 256M STANDBY 768M
OPTION APPLMON
MDISK 100 3390 3339 3338 UM63A9 MR LNX4VM LNX4VM LNX4VM
MDISK 101 3390 6677 3338 UM63A9 MR LNX4VM LNX4VM LNX4VM
2. You could run the DISKMAP USER command to review the minidisk allocation, but
because you did not change anything to do with disks, it is probably not necessary. Run
the DIRECTXA command to bring the change online:
==> directxa user
z/VM USER DIRECTORY CREATION PROGRAM - VERSION 6 RELEASE 1.0
EOJ DIRECTORY UPDATED AND ON LINE
HCPDIR494I User directory occupies 45 disk pages
3. Shut down the Linux system running on LINUX01. This can be done a number of ways,
but because you are logged onto MAINT, it can be accomplished with the SIGNAL
SHUTDOWN command:
==> signal shutdown linux01
4. Within about 30 seconds, you should see notification that the system went down cleanly
and the virtual machine was logged off:
HCPSIG2113I User LINUX01 has reported successful termination
USER DSC LOGOFF AS LINUX01 USERS = 16 AFTER SIGNAL
5. Log on to LINUX01. You should see the standby memory reported:
LOGON LINUX01
00: NIC 0600 is created; devices 0600-0602 defined
00: z/VM Version 6 Release 1.0, Service Level 0901 (64-bit),
00: built on IBM Virtualization Technology
00: There is no logmsg data
00: FILES: 0003 RDR, NO PRT, NO PUN
00: LOGON AT 11:47:27 EDT MONDAY 09/13/10
00: STORAGE = 256M MAX = 1G INC = 1M STANDBY = 768M RESERVED = 0
00: Storage cleared - system reset.
6. Answer y to boot Linux:
DMSACP723I A (191) R/O
DMSACP723I C (592) R/O
DIAG swap disk defined at virtual address 300 (64989 4K pages of swap space)
DIAG swap disk defined at virtual address 301 (129981 4K pages of swap space)
Do you want to IPL Linux from minidisk 100? y/n
Vedere la pagina 241
1 2 ... 237 238 239 240 241 242 243 244 245 246 247 ... 295 296

Commenti su questo manuale

Nessun commento