Friday, 27 December 2013

WHEN TO ADD RESOURCES TO GUEST DOMAIN [ ERROR MESSAGES WHILE ADDING VCPUS & RAM ]

********************CPU*************************************************
1)following error messages while adding vcpu to guestdomain while booting
root@testserver:~# ldm set-vcpu 30 ld1
Domain ld1 is unable to dynamically reconfigure VCPUs. Please
verify the guest operating system is running and supports VCPU DR.
root@testserver:~# ldm list
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active     -n-cv-  SP      16    7296M    0.4%  55d 21h 36m
SERIO            active     -n--v-  5000    16    8G       0.3%  55d 21h 22m
ld1              active     -t----  5001    8     15G       12%  1m

================now guest domain at booting initial stage =================
root@testserver:~# ldm set-vcpu 30 ld1
Cannot communicate with reconfiguration daemon (drd) in target domain.
drd(1M) SMF service may not be enabled.
Unable to add the requested VCPUs to domain ld1
Resource modification failed
root@testserver:~# ldm list
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active     -n-cv-  SP      16    7296M    0.4%  55d 21h 37m
SERIO            active     -n--v-  5000    16    8G       1.8%  55d 21h 23m
ld1              active     -n----  5001    8     15G      1.8%  2m

================now guest domain is booting but login prompt not yet came ===
now login prompt i got
Hostname: solaris2
solaris2 console login:
root@testserver:~# ldm set-vcpu 30 ld1
root@testserver:~# ldm list
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active     -n-cv-  SP      16    7296M    0.4%  55d 21h 48m
SERIO            active     -n--v-  5000    16    8G       0.1%  55d 21h 34m
ld1              active     -n----  5001    30    15G      0.0%  13m
************************************MEMORY*****************************
1)while rebooting
root@solaris2:~# reboot
Dec 27 16:09:47 solaris2 reboot: initiated by root on /dev/console
Dec 27 16:09:56 solaris2 syslogd: going down on signal 15
syncing file systems... done
rebooting...
Resetting...

root@testserver:~# ldm list
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active     -n-cv-  SP      16    7296M    0.5%  55d 21h 55m
SERIO            active     -n--v-  5000    16    8G       0.1%  55d 21h 41m
ld1              active     -n----  5001    30    4G       0.4%  20m

root@testserver:~# ldm set-mem 16G ld1
The ld1 domain does not support the dynamic reconfiguration of memory.

2)while kernelinitialization phase
Boot device: /virtual-devices@100/channel-devices@200/disk@1:a  File and args:
SunOS Release 5.11 Version 11.1 64-bit
Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved.
root@testserver:~# ldm set-mem 16G ld1
The memory modification operation failed because the ld1 domain failed to honor the request.
Resource modification failed.
3)while svcstart.d phase
Hostname: solaris2
solaris2 console login:
root@testserver:~# ldm set-mem 16G ld1
root@testserver:~# ldm list
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active     -n-cv-  SP      16    7296M    0.6%  55d 21h 59m
SERIO            active     -n--v-  5000    16    8G       5.0%  55d 21h 45m
ld1              active     -n----  5001    30    16G      2.7%  3m

No comments:

Post a Comment