Solved

ESXi host IP Change

Posted on 2013-11-25
8
1,998 Views
Last Modified: 2015-01-29
Hello EE,

We are on Vmware 5.1 and moving our Virtual hardware to another branch office that is on a 10.110.x.x network.  Currently we are on 10.10.x.x.  My question is:
1. Change IP on ESXi host before move (while can SSH into the unit)
2. After move (how can I access after)
3. what is the back door method of changing IPs or options.
0
Comment
Question by:bergquistcompany
8 Comments
 
LVL 17

Expert Comment

by:Spartan_1337
Comment Utility
What are the host servers running on? Dell? HP?
Usually you have options such as iDRAC (Dell) and ILO (HP) for remote access to the server itself. From there you will have console access and make any changes you need.
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
You will need physical access to the console, or technology that allows access to the console.

You could add another management network?

e.g. so you have two management networks and remove when you are done.
0
 
LVL 10

Expert Comment

by:Mohammed Rahman
Comment Utility
1)      As you are aware of the IP address to be assigned to host, you can change the IP before moving to branch office. Once you change the IP, you will lose connection with hosts. Once you are done changing all IPs to the new range/subnet, you can probably keep your vSphere Client/vCenter in the same network and test whether hosts are reachable.
2)      If you plan to change the IP after you move your hosts, get the system with vSphere client/vCenter in range 10.10.x.x and it will allow you to SSH to hosts. Change IPs of all hosts to 10.110.x.x one after the other and then change the IP of vCenter/vSphere back to 10.110.x.x range.
In case you do not have an option to change the IP of vCenter/vSphere in branch office to 10.10.x.x for time being; follow step 1 above. And, if no issues, follow step 2.

Also, you can add a vmknicX (10.110.x.x) to your existing vSwitch (used for SSH) and that should allow you to establish communication between branch office’s vCenter/vSphere and these ESX hosts. (No need to change IPs here and there). Once you gain access to ESX hosts via branch, you can delete the old vmknicX (10.10.x.x)
0
 

Author Comment

by:bergquistcompany
Comment Utility
The servers are Cisco UCS blades.  

I can't change it now or I will not have access to it anymore with our subnetting.

Thus I would change the hosts to the 10.110.x.x via SSH before moving them and then from the 10.10.x.x vsphere server change that to 10.110.x.x and move?
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
The Supported method to change IP Address, is from vSphere Client/Web Client or Console!
0
 

Author Comment

by:bergquistcompany
Comment Utility
In vSphere would it be under the host, configure, networking and properties change it there?
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
That's correct, or from the Host Console Menu.
0
 
LVL 2

Expert Comment

by:matt1237
Comment Utility
Just so you know (I didn't see it mentioned here), you can access the Direct Console User Interface (DCUI) remotely via SSH at least in ESXi 5.5 and change both the IP Address, Net Mask, and Gateway all at one time.  So as long as you're positive you are entering correct info, enter it and apply changes which will terminate your current SSH connection which is no big deal, you just log in with the newly applied IP address and you're good to go. In short do these steps:

In vSphere Client go Configuration > Security Profile, then click Properties and start the services ESXi Shell, SSH, and Direct Console UI
Next use PuTTY or whatever to connect to your ESXi host via SSH with an Administrator level user.
Finally after logging in, enter dcui at the command propmt and you will have access to the Direct Console User Interface as if you were sitting right in front of it. Now you can make your changes. You can press CTRL+C to exit the dcui interface at any time and be back at the SSH command prompt.

0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now