Tuesday, March 27, 2012

vSphere Client idle timeout setting

  1. Stop the VMware VirtualCenter Server service.
  2. Open the vpxd.cfg file using a text editor, default location is at C:\ProgramData\VMware\VMware VirtualCenter\vpxd.cfg.
  3. Add the following <soap> elements within the <vmacore> </vmacore> tags:
    <soap>
    <!-- Minutes before idle sessions time out -->
    <sessionTimeout>30</sessionTimeout>
    <!-- Maximum number of open sessions -->
    <maxSessionCount>1000</maxSessionCount>
    </soap>
  4. Start the VMware VirtualCenter Server service.

Monday, March 26, 2012

Resetting the Administrator password in vCenter Operations Standard 1.0.x

Reset the Administrator password in the vCenter Operations virtual appliance console.
  1. In the vSphere Client Inventory view, select the vCenter Operations virtual appliance and navigate to the appliance console.
  2. Log in as the root user.
  3. In the localhost directory, type cd /usr/lib/vmware-vcops/user/conf/install and press Enter.
  4. In the install directory, type the following command: ./resetadminpw.sh and press Enter.
    The administrator credentials are reset to admin/admin.
  5. Type logout and press Enter to return to the main menu.

Resetting the root user password in the VMware vCenter Operations

  1. Boot the virtual appliance and navigate to the console for the virtual machine in the vSphere Client.
  2. Click in the console and press any key to display the GRUB menu.

    Note: The GRUB prompt remains on screen for 7 seconds before it starts the boot sequence.

  3. On the GRUB menu, select SUSE Linux Enterprise Server for VMware.
  4. Type e to edit the line. A list of items in the GRUB configuration file appears.
  5. Select the line that starts with kernel and type e to edit the line.
  6. At the end of the line, press the spacebar and type init=/bin/sh.
  7. Press Enter to exit edit mode.
  8. On the GRUB screen, type b to boot into single-user mode.
    The virtual appliance boots in single-user mode.
  9. To change the root user password, type passwd root and follow the on-screen prompts.
  10. To restart the virtual appliance, type reboot and press Enter.