Solved

ESXi host IP Change

Posted on 2013-11-25
8
2,040 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
ID: 39676603
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 118
ID: 39676851
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
ID: 39676924
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
ID: 39678123
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 118
ID: 39678142
The Supported method to change IP Address, is from vSphere Client/Web Client or Console!
0
 

Author Comment

by:bergquistcompany
ID: 39690725
In vSphere would it be under the host, configure, networking and properties change it there?
0
 
LVL 118

Accepted Solution

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

Expert Comment

by:matt1237
ID: 40577748
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …

867 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

21 Experts available now in Live!

Get 1:1 Help Now