Hi, Okay I will do it. By the way I am able now to see the right number of vcpu for the Primary/Control Domain.
Thanks. Roberto Ballan e-mail: x2ballan at southernco.com -----Original Message----- From: Robert.Farr at sun.com [mailto:[email protected]] On Behalf Of Rob Farr Sent: Wednesday, May 28, 2008 7:24 AM To: Ballan, Roberto Cc: Peter.A.Wilson at sun.com; ldoms-discuss at opensolaris.org Subject: Re: [ldoms-discuss] set-vcpu error Hi, Run an ldm ls-config and see whether you're running the config you think you're running..... Rob > 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:Peter.A.Wilson at Sun.COM] > 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 >> > >
