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
VMware vSphere Troubleshooting

You're reading from   VMware vSphere Troubleshooting Gain expertise in troubleshooting most common issues to implement vSphere environments with ease

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher
ISBN-13 9781783551767
Length 270 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (11) Chapters Close

Preface 1. The Methodology of Problem Solving 2. Monitoring and Troubleshooting Host and VM Performance FREE CHAPTER 3. Troubleshooting Clusters 4. Monitoring and Troubleshooting Networking 5. Monitoring and Troubleshooting Storage 6. Advanced Troubleshooting of vCenter Server and vSphere Hosts A. Learning PowerGUI Basics B. Installing VMware vRealize Operations Manager C. Power CLI - A Basic Reference Index

Configuring the vSphere management agent

VMware vMA is a SUSE Linux-based virtual appliance that is shipped with vSphere SDK for Perl and vSphere command line interface. You can use vMA to manage your entire vSphere infrastructure from a central service console by executing different service scripts, creating and analyzing log bundles, monitoring performance, and much more. You can also use vSphere VMA to act as a centralized log server to receive logs from all of your vSphere hosts. Let's look at the various configuration parameters of our first VMware power tool, vSphere VMA.

Installation

VMware vMA requires a minimum of 3 GB of disk space and 600 MB of RAM. The Open Virtual Machine Format (OVF) template is based on SUSE Linux 64-bit architecture. vMA supports vSphere 4.0 Update 2 to vSphere 6.0 and vCenter 5.0 and upward. vMA can be used to target vCenter 5.0 or later, ESX/ESXi3.5 Update 5, and vSphere ESXi 4.0 Update 2 or later systems. A single vMA appliance can support a different number of targets, depending on how it is being used at runtime. You will require a user name and password to download the vMA application. It can be downloaded from https://my.vmware.com/group/vmware/details?productId=352&downloadGroup=VMA550.

We will deploy the new vMA from the vSphere Client tied to a vCenter Server 5.0 or vCenter Server 4.x. It can be deployed on the following vSphere releases:

  • vCenter Server 5.0
  • vCenter Server 6.0

The virtualized hosts that can be managed from the vMA are:

  • ESXi 3.5 Update 5
  • ESXi 4.0 Update 2
  • vSphere ESXi 4.1 and 4.1 Update 1
  • vSphere ESXi 5.0
  • vSphere ESXi 6.0

Installation steps

To install VMware vMA, perform the following steps:

  1. Once you are done with downloading the appliance, extract the vMA zip file into a directory.
  2. Log in to your vCenter or vSphere Client. From your vCenter client, you can select any vSphere host to which you would like to deploy vMA.
  3. To start the OVF appliance deployment wizard, choose the option Deploy OVF Template from the file menu.
  4. Select the Deploy from a file or URL option.
  5. Then, browse the folder where you have already extracted your vMA appliance. Click on the vMA OVF template to select it.
  6. Next, accept the vMA license agreement.
  7. Give an FQDN to your vMA appliance; I have given mine as vma.linxsol.com. The default name is also acceptable.
  8. Choose the appropriate folder to store your appliance for inventory.
  9. From your vCenter Server, choose the resource pool to allocate resources for the vMA appliance. If you do not select any resource pool, the wizard will place your appliance in the highest level of resource pool, which is selected by default.
  10. Choose the storage where you would like to store your vMA appliance; it could be a local data store, iSCSI, FC SAN, or NFS data store.
  11. Next, choose Disk Format options. I usually choose Thin.
  12. For the network, you can configure DHCP for your vMA appliance to obtain a dynamic IP address or you can configure the IP address manually. Make sure that your vMA appliance is part of the management subnet in order to access your vSphere hosts and the vCenter Server.
  13. By clicking Next, you will be asked to review the information. Once you find that the information is correct, you may proceed to click on Finish.
  14. The wizard will take a while and will then deploy the vMA appliance to one of the vSphere hosts.
    Installation steps

Tip

In case you don't remember the vi-admin password, it is possible to reset it from the GRUB boot loader screen. Choose the very first option SUSE Linux Enterprise Server 11 SP1 for VMware and press e on your keyboard to edit the line. Move down your cursor to choose the line starting with "kernel /vmlinuz.." and press e again to edit it. Add init=/bin/bash to the end of the line. Then, press Enter and press b to boot the kernel. The vMA will boot into a bash shell prompt. Next, type the following command to reset the vi-admin password:

# passwd vi-admin
lock icon The rest of the chapter is locked
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