Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Log & Event Manager (LEM) > Resize a LEM Virtual Appliance

Resize a LEM Virtual Appliance

Overview

The LEM virtual appliance default size is 250 GB. Beginning with LEM version 5.4, you can increase and decrease the capacity of your LEM virtual appliance using two distinct methods. This article describes how to perform these methods.

Environment

LEM version 5.4 or later

Steps

Increase the LEM virtual appliance capacity

You can increase the capacity of your LEM virtual appliance by increasing the hard disk in your vSphere or Hyper-V client. If you want to increase the size of your virtual appliance, consider the following notes:

  • The default size of LEM is 250 GB. This size may be increased to 2.0 TB. Although VMware 5.5 and Hyper-V 2012 allows the VM size up to 64.0 TB, LEM cannot go beyond 2.0 TB.
  • The LEM size cannot be increased until the snapshots have been deleted.
  • Shut down the virtual machine before making any changes to the size.

To shut down the virtual machine:

  1. Open the Vsphere or Hyper-V console.
  2. At the cmc> prompt, enter appliance
  3. Enter shutdown and then follow the commands to shut down LEM.
  4. Perform the disk size increase described by VMware or Microsoft. 
  5. Start the LEM appliance by selecting Play or Start. 

 

*As the LEM boots up it detect and expand the disk. Do not interrupt this process or it may result in severe data loss. If you feel it has taken too long to boot, please contact support.

Decrease the LEM virtual appliance capacity

If you need to decrease the capacity of the virtual appliance, create a smaller (or secondary) hard disk for the virtual appliance in your vSphere or Hyper-V client. When completed, start the virtual appliance to automatically clone the existing disk to the secondary hard disk.

The new disk must be large enough to accommodate all of the data on the existing disk, but it does not have to have the same maximum capacity.

Clone a disk in vSphere

  1. Open vSphere.
  2. In the left pane, select the LEM appliance
  3. Open a connection to the LEM appliance console.
    1. Enter Advance Configuration.
    2. At the cmc> prompt, type appliance
    3. Type shutdown and follow the commands to shut down your LEM appliance. 
  4. Add the new disk
    1. In the Inventory menu, click Virtual Machine > Edit Settings.
    2. Click Add.
    3. In the center pane, select Hard Disk, and then click Next.
    4. Select Create a new virtual disk, and then click Next.
    5. Enter the settings for a new hard disk large enough to accommodate all data on the existing disk.
    6. Click Next.
    7. In the Virtual Device Node menu, select SCSI (0:2), and then click Next.
    8. Click Finish.
    9. Click OK.
  5. In the vSphere client window, click Inventory > Virtual Machine > Power > Power On. The appliance starts up, clones the primary disk to the new disk, and then shuts down. This process can require between 15 minutes and several hours, depending on the disk size. 
  6. Replace the old disk with the new disk.
    1. In the Inventory menu, click Virtual Machine > Edit Settings.
    2. In the left pane, select the old hard disk.
    3. Click Remove.
    4. Select the new hard disk.
    5. In the right pane, select SCSI (0:0) in the Virtual Device Node menu, and then click OK.
  7. Start the LEM appliance. 

Clone a disk in Hyper-V

  1. Open Hyper-V Manager.
  2. In the left pane, select the LEM appliance.
  3. Open a connection to the LEM appliance console. Enter Advance Configuration to get a CMC prompt. 
    1. Enter Advanced Configuration.
    2. At the cmc> prompt, enter appliance.
    3. Enter shutdown.
    4. Follow the command to shut down the LEM appliance. 
  4. Add the new disk.
    1. In the Actions pane, click Settings.
    2. In the left pane under Hardware, click IDE Controller 0.
    3. In the right pane, select Hard Drive, and then click Add.
    4. Under Virtual hard disk (.vhd) file in the Media section, click New.
    5. On the New Virtual Hard Disk Wizard window, select Fixed size, and then click Next.
    6. Specify a name and location for the new disk, and then click Next.
    7. Specify a size for the new blank disk that is large enough to accommodate all data on the existing disk, and then click Next.
    8. Click Finish.
    9. In the left pane under IDE Controller 0, select the new hard disk.
    10. In the right pane, select 1 in the Location menu, and then click OK.
  5. In the Hyper-V Manager window, click Start in the Actions pane. The appliance starts up, and clones the primary disk to the new disk, and then shuts down. This process can require between 15 minutes and several hours, depending on the disk size. 
  6. Replace the old disk with the new one:
    1. In the Actions pane, click Settings.
    2. In the left pane under IDE Controller 0, select the old hard disk.
    3. In the right pane, click Remove.
    4. In the left pane under IDE Controller 0, select the new hard disk.
    5. In the right pane, select 0 in the Location menu, and then click OK. 
  7. Start the LEM appliance.
Last modified
14:46, 15 Sep 2016

Tags

Classifications

Public