I tried to run:
ldm set-vcpu 2 primary
ldm add-config new.config
reboot the Primary/Control Domain
However I still see 4 vcpu for the Primary/Control Domain.
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv SP 4 4G 33% 3m
ldg1 inactive ----- 4 1G
ldg2 inactive ----- 4 2G
Any suggestion will be great.
Thanks.
Roberto Ballan
e-mail: x2ballan at southernco.com
-----Original Message-----
From: Peter.A.Wilson at Sun.COM [mailto:[email protected]]
Sent: Tuesday, May 27, 2008 4:01 PM
To: Ballan, Roberto
Cc: ldoms-discuss at opensolaris.org
Subject: Re: [ldoms-discuss] set-vcpu error
Roberto,
Vpcu's are only dynamically re-assignable if the domains involved do not
have MAU's bound to them. From the message you are seeing that is the
situation you have.
Having MAU's in a domain implies a required path to access them through
a vcpu, removing vcpus dynamically could potentially remove the path to
the mau hence making that resource unintentionally unavailable to the
domain as a direct consequence of removing vcpus.
In order to stop that happening, once you have MAU's in a domain, you
can't dynamically reconfig vcpus in that domain, it becomes a delayed
reconfig property as noted in the message that you see.. If you reboot
the domain you are re-configing, you will see the new vcpu count as
expected.
This is well documented in the Admin Guide.
Peter
Ballan, Roberto wrote:
> Hi,
>
> I am trying to find out how to assign only 2 vcpu to the Primary
> Domain,
> I am getting the error below.
> Right now I have 4 vcpu assigned to the Primary Domain.
> Any help will be great.
>
> ==========================================================
> NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
> primary active -n-cv SP 4 4G 1.1% 2h 32m
>
> =================================================
> Hostname1 # ldm set-vcpu 2 primary
> VCPU DR disabled because LDom primary has MAU units bound
> Resource modification failed
>
> Thanks.
> Roberto Ballan
> e-mail: x2ballan at southernco.com
>
> _______________________________________________
> ldoms-discuss mailing list
> ldoms-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Peter A. Wilson Email: Peter.A.Wilson at sun.com
Snr. Technical Marketing Engineer Phone: (650) 786 0526 / x80526
SG Technical Marketing Cellphone : (408) 666 9320
Sun Microsystems, Inc. Fax : (650) 786 9553
16 Network Circle Mail Stop : MPK16-211
Menlo Park CA 94025 Office : MPK16-2468
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-