Hello. So I attempted to move my two XCP servers to new IPs, and seem to have tripped over a problem. They are in a pool... and when I changed the main one''s IP... I discovered I couldn''t change the IP on the second one. Then I noticed I was unable to change the IP on the slave... and it seems that taking it out of the pool will destroy the VMs on the slave. Luckily, I was able to change the main server back to the original IP and everything worked, but now I have lost remote access to them, so I really need to change the IPs... can someone point me to a page that describes how this is done to avoid losing VMs? I''m sure its something easy that I have missed. Thanks. BK _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
George Shuklin
2010-Oct-09 18:00 UTC
Re: [Xen-users] [XCP] Changing IP on XCP pool members.
1. Use xe host-management-reconfigure to change hosts IP in normal way. 2. Use xe pool-emergency-reset-master to point to pool master on every slave. 3. Use xe [tab] and learn meaning of every command (except ha/wlb, which one is broken in XCP). В Сбт, 09/10/2010 в 04:45 -0400, Buckminster Katt пишет:> > Hello. > > So I attempted to move my two XCP servers to new IPs, and seem to have > tripped over a problem. They are in a pool... and when I changed the > main one''s IP... I discovered I couldn''t change the IP on the second > one. Then I noticed I was unable to change the IP on the slave... and > it seems that taking it out of the pool will destroy the VMs on the > slave. > > Luckily, I was able to change the main server back to the original IP > and everything worked, but now I have lost remote access to them, so I > really need to change the IPs... can someone point me to a page that > describes how this is done to avoid losing VMs? I''m sure its > something easy that I have missed. > > Thanks. > > BK > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Buckminster Katt
2010-Oct-12 12:04 UTC
RE: [Xen-users] [XCP] Changing IP on XCP pool members.
Ahhh... I was hoping that there was a way to do this with xsconsole or xenopenmanager. Using xe seems akin to brain surgery on oneself. So, I did the xe host-management-reconfigure IP on the master. When I did it on the slave, everything froze after I did the xe pif-reconfigure-ip... so now I can''t talk to the slave anymore. I can see via ifconfig that it changed IPs... and I can SSH to it, but any xe command fails with a "The server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem. message: INTERNAL_ERROR: [ Xmlrpcclient.Connection_reset ]" Any way to get recontrol over the slave? Or am I screwed? BK> 1. Use xe host-management-reconfigure to change hosts IP in normal way. > > 2. Use xe pool-emergency-reset-master to point to pool master on every > slave. > > 3. Use xe [tab] and learn meaning of every command (except ha/wlb, which > one is broken in XCP). > > В Сбт, 09/10/2010 в 04:45 -0400, Buckminster Katt пишет: > > > > Hello. > > > > So I attempted to move my two XCP servers to new IPs, and seem to have > > tripped over a problem. They are in a pool... and when I changed the > > main one''s IP... I discovered I couldn''t change the IP on the second > > one. Then I noticed I was unable to change the IP on the slave... and > > it seems that taking it out of the pool will destroy the VMs on the > > slave. > > > > Luckily, I was able to change the main server back to the original IP > > and everything worked, but now I have lost remote access to them, so I > > really need to change the IPs... can someone point me to a page that > > describes how this is done to avoid losing VMs? I''m sure its > > something easy that I have missed. > > > > Thanks. > > > > BK > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jonathan Ludlam
2010-Oct-12 12:33 UTC
Re: [Xen-users] [XCP] Changing IP on XCP pool members.
Did you try ''xe pool-emergency-reset-master'' as George suggested? Jon On 12 Oct 2010, at 13:04, Buckminster Katt wrote: Ahhh... I was hoping that there was a way to do this with xsconsole or xenopenmanager. Using xe seems akin to brain surgery on oneself. So, I did the xe host-management-reconfigure IP on the master. When I did it on the slave, everything froze after I did the xe pif-reconfigure-ip... so now I can''t talk to the slave anymore. I can see via ifconfig that it changed IPs... and I can SSH to it, but any xe command fails with a "The server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem. message: INTERNAL_ERROR: [ Xmlrpcclient.Connection_reset ]" Any way to get recontrol over the slave? Or am I screwed? BK> 1. Use xe host-management-reconfigure to change hosts IP in normal way. > > 2. Use xe pool-emergency-reset-master to point to pool master on every > slave. > > 3. Use xe [tab] and learn meaning of every command (except ha/wlb, which > one is broken in XCP). > > В Сбт, 09/10/2010 в 04:45 -0400, Buckminster Katt пишет: > > > > Hello. > > > > So I attempted to move my two XCP servers to new IPs, and seem to have > > tripped over a problem. They are in a pool... and when I changed the > > main one''s IP... I discovered I couldn''t change the IP on the second > > one. Then I noticed I was unable to change the IP on the slave... and > > it seems that taking it out of the pool will destroy the VMs on the > > slave. > > > > Luckily, I was able to change the main server back to the original IP > > and everything worked, but now I have lost remote access to them, so I > > really need to change the IPs... can someone point me to a page that > > describes how this is done to avoid losing VMs? I''m sure its > > something easy that I have missed. > > > > Thanks. > > > > BK > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com<mailto:Xen-users@lists.xensource.com> > > http://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<mailto:Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users<ATT00001..txt> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Buckminster Katt
2010-Oct-14 10:42 UTC
RE: [Xen-users] [XCP] Changing IP on XCP pool members.
Yes, I tried, but after changing the host IP, XE stopped being able to contact the Xen Server process to use the host-management-reconfigure-ip or pool-emergency-reset-master. I think I have it running again now... I found in the /etc/xensource files where the Master IP was... I updated that, restarted the process and it reconnected. Not sure if its truly fixed, but so far seems to be working. BK From: Jonathan.Ludlam@eu.citrix.com To: buckykattnj@hotmail.com Date: Tue, 12 Oct 2010 13:33:46 +0100 Subject: Re: [Xen-users] [XCP] Changing IP on XCP pool members. CC: george.shuklin@gmail.com; xen-users@lists.xensource.com Did you try ''xe pool-emergency-reset-master'' as George suggested? Jon On 12 Oct 2010, at 13:04, Buckminster Katt wrote: Ahhh... I was hoping that there was a way to do this with xsconsole or xenopenmanager. Using xe seems akin to brain surgery on oneself. So, I did the xe host-management-reconfigure IP on the master. When I did it on the slave, everything froze after I did the xe pif-reconfigure-ip... so now I can''t talk to the slave anymore. I can see via ifconfig that it changed IPs... and I can SSH to it, but any xe command fails with a "The server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem. message: INTERNAL_ERROR: [ Xmlrpcclient.Connection_reset ]" Any way to get recontrol over the slave? Or am I screwed? BK> 1. Use xe host-management-reconfigure to change hosts IP in normal way. > > 2. Use xe pool-emergency-reset-master to point to pool master on every > slave. > > 3. Use xe [tab] and learn meaning of every command (except ha/wlb, which > one is broken in XCP). > > В Сбт, 09/10/2010 в 04:45 -0400, Buckminster Katt пишет: > > > > Hello. > > > > So I attempted to move my two XCP servers to new IPs, and seem to have > > tripped over a problem. They are in a pool... and when I changed the > > main one''s IP... I discovered I couldn''t change the IP on the second > > one. Then I noticed I was unable to change the IP on the slave... and > > it seems that taking it out of the pool will destroy the VMs on the > > slave. > > > > Luckily, I was able to change the main server back to the original IP > > and everything worked, but now I have lost remote access to them, so I > > really need to change the IPs... can someone point me to a page that > > describes how this is done to avoid losing VMs? I''m sure its > > something easy that I have missed. > > > > Thanks. > > > > BK > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users<ATT00001..txt> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
George Shuklin
2010-Oct-14 17:07 UTC
RE: [Xen-users] [XCP] Changing IP on XCP pool members.
If you stopping thinking about XCP as ''big blob from citrix'' it suddenly become more resonably adequate. Unable to do xe commands? Check (or restart) xapi. Commands does not passing smoothly (freezing)? Check command queue: xe task-list. Host stops to accept commands? Again, restart xapi. xapi stucking again and again? Check free space (if avaible), check logs. In emergency situation restart master and slaves (first master, late slaves). xapi sometimes really stuck, yes. But it does not damage guest systems and it (xapi) can be really easy restarted without damage to anything (except commands in task-list). В Чтв, 14/10/2010 в 06:42 -0400, Buckminster Katt пишет:> > Yes, I tried, but after changing the host IP, XE stopped being able > to contact the Xen Server process to use the > host-management-reconfigure-ip or pool-emergency-reset-master. I > think I have it running again now... I found in the /etc/xensource > files where the Master IP was... I updated that, restarted the process > and it reconnected. Not sure if its truly fixed, but so far seems to > be working. > > BK > > > ______________________________________________________________________ > From: Jonathan.Ludlam@eu.citrix.com > To: buckykattnj@hotmail.com > Date: Tue, 12 Oct 2010 13:33:46 +0100 > Subject: Re: [Xen-users] [XCP] Changing IP on XCP pool members. > CC: george.shuklin@gmail.com; xen-users@lists.xensource.com > > Did you try ''xe pool-emergency-reset-master'' as George suggested? > > > Jon > > On 12 Oct 2010, at 13:04, Buckminster Katt wrote: > > > Ahhh... I was hoping that there was a way to do this with > xsconsole or xenopenmanager. Using xe seems akin to brain > surgery on oneself. > > So, I did the xe host-management-reconfigure IP on the master. > When I did it on the slave, everything froze after I did the > xe pif-reconfigure-ip... so now I can''t talk to the slave > anymore. I can see via ifconfig that it changed IPs... and I > can SSH to it, but any xe command fails with a "The server > failed to handle your request, due to an internal error. The > given message may give details useful for debugging the > problem. message: INTERNAL_ERROR: > [ Xmlrpcclient.Connection_reset ]" > > Any way to get recontrol over the slave? Or am I screwed? > > BK > > > > 1. Use xe host-management-reconfigure to change hosts IP in > normal way. > > > > 2. Use xe pool-emergency-reset-master to point to pool > master on every > > slave. > > > > 3. Use xe [tab] and learn meaning of every command (except > ha/wlb, which > > one is broken in XCP). > > > > В Сбт, 09/10/2010 в 04:45 -0400, Buckminster Katt пишет: > > > > > > Hello. > > > > > > So I attempted to move my two XCP servers to new IPs, and > seem to have > > > tripped over a problem. They are in a pool... and when I > changed the > > > main one''s IP... I discovered I couldn''t change the IP on > the second > > > one. Then I noticed I was unable to change the IP on the > slave... and > > > it seems that taking it out of the pool will destroy the > VMs on the > > > slave. > > > > > > Luckily, I was able to change the main server back to the > original IP > > > and everything worked, but now I have lost remote access > to them, so I > > > really need to change the IPs... can someone point me to a > page that > > > describes how this is done to avoid losing VMs? I''m sure > its > > > something easy that I have missed. > > > > > > Thanks. > > > > > > BK > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > <ATT00001..txt> > > > > _______________________________________________ Xen-users mailing list > Xen-users@lists.xensource.com http://lists.xensource.com/xen-users > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users