Categories
XenServer

Change Management IP Addresses of XenServer 6.5 in a Pool

Working for an IT consultancy, you get do do IP address migrations pretty often.  One recent migration I simply couldn’t find a good resource to guide me on how to change  XenServer 6.5 Servers management address when in a pool.

Here’s what worked for me:

  1. SSH to all servers.  Open xsconsole and navigate to Network and Management Interfaces.  Change the management IP address.  Be sure to select the correct management interface. Note, this will cause XenCenter to lock up and drop connections to each of the servers.  All VM’s “should” remaining operational during this time.
  2. SSH to new management IP’s of all of the slave servers.  Update the file /etc/xensource/pool.conf to reflect the new IP address of the master.  The format should just be a single line that says slave:NEWIPADDRESSOFMASTER. Save the conf file.
  3. Run xe-toolstack-restart on all slave servers.
  4. Inside XenCenter, remove the old Pool and add the Pool back in using the new master server IP address.  All servers should be available again.

Hope this helps.

Categories
Windows XenServer

XenCenter Issue after upgrading to Windows 10

After upgrading to Windows 10 on my main work computer, I could no longer connect to 2 XenServer 6.2 hosts and found out that the error was “Could not create SSL/TLS Secure Channel”.  After a bit of lazy searching I found a forum post that fixed the problem.

Forum Post

The actual fix for this is as follows.

service xapissl stop
mv /etc/xensource/xapi-ssl.pem /etc/xensource/xapi-ssl.pem.bak
/opt/xensource/libexec/generate_ssl_cert "/etc/xensource/xapi-ssl.pem" '10.10.6.27'
service xapissl start
xe-toolstack-restart

Replace the 10.10.6.27 with the IP of the server host you are attempting to fix. This should resolve your ability to connect from XenCenter.