Information Technology Reference
In-Depth Information
# hostid
84f9fec8
# psrinfo
0 on-line since 08/14/2009 16:40:26
1 on-line since 08/14/2009 16:40:28
2 on-line since 08/14/2009 16:40:28
3 on-line since 08/14/2009 16:40:28
At this point, the administrator can install application software and start using
the domain.
3.4.10 Dynamic Reconfiguration
The Logical Domains technology lets the system administrator change the CPU
and virtual I/O resources made available to guest domains. For example, the do-
main in the preceding example can be changed to use eight CPUs by issuing either
of these commands: ldm add-vcpu 4 ldom2 or ldm set-vcpu 8 ldom2 . Each
command takes effect immediately without rebooting the guest, and the new CPU
resources can be used immediately. The psrinfo command in the guest domain
shows the new CPU configuration, including the date and time shown for the
added CPUs.
# psrinfo
0 on-line since 10/25/2009 11:17:44
1 on-line since 10/25/2009 11:17:45
2 on-line since 10/25/2009 11:17:45
3 on-line since 10/25/2009 11:17:45
4 on-line since 10/28/2009 09:21:36
5 on-line since 10/28/2009 09:21:36
6 on-line since 10/28/2009 09:21:36
7 on-line since 10/28/2009 09:21:36
Virtual I/O devices can also be added via the ldm add-vnet and ldm add-
vdisk commands, and both I/O and CPU resources can be removed using comple-
mentary ldm rm-vnet and ldm rm-vdisk commands. Similarly, cryptographic
accelerators can be dynamically added or removed. These commands can easily
be scripted to ensure their execution at particular times or as part of a resource
manager. At this writing, changing the amount of RAM in a domain requires that
the domain be rebooted before the Solaris instance will recognize the change.
 
 
Search WWH ::




Custom Search