hi. Is it possible to increase the number of vpcus without changing config file and rebooting domU? I tried: vpcpus=1 maxvcpus=4 When I start domU it starts with 1 and xm vcpu-set domainid 4 doesnot work and sticks with 1 vpcu. If I use vcpus=4 and try to decrease vcpu, it works. But I am looking at the increasing side. Thanks Paras. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Dec 24, 2009 at 4:31 AM, Paras pradhan <pradhanparas@gmail.com> wrote:> hi. > Is it possible to increase the number of vpcus without changing config file > and rebooting domU? > I tried: > vpcpus=1 > maxvcpus=4Yes. Assuming you have newish version of Xen (3.3 is new enough), you can try vcpus=8 vcpu_avail=1 That would start domU with 1 vcpu, but allow it to be increased later up to 8 vcpus. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Dec 24, 2009 at 6:33 AM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Thu, Dec 24, 2009 at 4:31 AM, Paras pradhan <pradhanparas@gmail.com> > wrote: > > hi. > > Is it possible to increase the number of vpcus without changing config > file > > and rebooting domU? > > I tried: > > vpcpus=1 > > maxvcpus=4 > > Yes. >I am using xen that comes default with redhat/centos 5.4 which is 3.0.3. So this is not possible with this version? Thanks Paras.> Assuming you have newish version of Xen (3.3 is new enough), you can try > > vcpus=8 > vcpu_avail=1 > > That would start domU with 1 vcpu, but allow it to be increased later > up to 8 vcpus. > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Dec 25, 2009 at 12:26 AM, Paras pradhan <pradhanparas@gmail.com> wrote:> I am using xen that comes default with redhat/centos 5.4 which is 3.0.3. So > this is not possible with this version?It''s actually Xen 3.1 (run "xm info"), but yes, I don''t think it''s possible. Run "xm create --help_config", look for vcpu_avail. If you can''t find it then it''s not possible on that version. If you want to upgrade, and you use x86_64, you can easily update Xen version on Centos by using packages from http://www.gitco.de/repo/ -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Dec 24, 2009 at 4:01 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Fri, Dec 25, 2009 at 12:26 AM, Paras pradhan <pradhanparas@gmail.com> > wrote: > > I am using xen that comes default with redhat/centos 5.4 which is 3.0.3. > So > > this is not possible with this version? > > It''s actually Xen 3.1 (run "xm info"), but yes, I don''t think it''s > possible. Run "xm create --help_config", look for vcpu_avail. If you > can''t find it then it''s not possible on that version. >Not there in Xen 3.1.3 :(> > If you want to upgrade, and you use x86_64, you can easily update Xen > version on Centos by using packages from http://www.gitco.de/repo/ > > -- > Fajar >Thanks for the help Paras. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users