Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
vCenter Troubleshooting

You're reading from   vCenter Troubleshooting Resolve some of the most commonly faced vCenter problems with the use of this troubleshooting guide

Arrow left icon
Product type Paperback
Published in Apr 2015
Publisher
ISBN-13 9781783554034
Length 184 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (11) Chapters Close

Preface 1. vCenter Upgrades and Migrations FREE CHAPTER 2. Working with the vCenter Database 3. Setting Access and Permissions 4. Monitoring and Performance Considerations 5. Working with Storage 6. Solving Some Not-so-common vCenter Issues 7. Backup and Recovery 8. Additional Support Methods and Tools 9. Troubleshooting Methods Index

Deploying vCenter Server Appliance with no DHCP server

When you normally deploy the vCenter Server Appliance, a DHCP server is present and the appliance will get the IP address from it. But what if, for whatever reason, there was no access to a DHCP server for the deployment?

You will need to assign an IP address (static) for your network (VLAN or port group), along with the proper subnet mask. You then need to connect to the host that contains the VCSA appliance using the C# client. Right-click on the VCSA appliance and choose open console. Then, log in to the appliance using the supplied default username of root and vmware as the default password. After logging in, you will be presented with the Linux CLI. Use the following procedure to provide an IP address for your appliance.

Use the following command to change the interface configuration file:

vi /etc/sysconfig/networking/devices/ifcfg-eth0

From here, you will be using the screen-oriented text edit vi to make changes to the file. If you are familiar with this editor, this should be easy. If not, follow the procedure closely and the changes will be completed without a problem. Inside the vi Editor, use your arrow keys to position yourself in the file. Sometimes, using the arrow keys on the keypad causes problems, so use the non-keypad arrow keys. Now, move to the line that contains BOOTPROTO and press the E key, or the right arrow key, to move to the end of the line. By pressing the I key, you are now in edit mode and can make modifications to the file. Use the Backspace key to delete dhcp and replace it with static.

Continue to use the arrow keys to move to the bottom of the file and insert the following lines:

  • TYPE=Ethernet
  • USERCONTROL=no
  • IPADDR=the IP address you obtained
  • NETMASK=the mask you obtained
  • BROADCAST=actual IP broadcast address

It should look something like this:

Deploying vCenter Server Appliance with no DHCP server

Now, press the Esc key, enter a colon (:), and type wq, and hit the Enter key.

You should get a message that shows the ifcfg-eth0 file was written. Now, restart the network service: service network restart.

Deploying vCenter Server Appliance with no DHCP server

Typing ifconfig should show the new IP address you just entered on eth0, so verify that you can ping other addresses on the same network.

If you run into problems, double check your IP address, your submask, and the VM port group. Now, with the new IP address, you can get to the VCSA appliance by opening a browser and entering https://10.10.1.50:5480.

You have been reading a chapter from
vCenter Troubleshooting
Published in: Apr 2015
Publisher:
ISBN-13: 9781783554034
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image