Installation and Configuration Guide

     Previous  Next    Open TOC in new window  Open Index in new window  View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Configuring LiquidVM Connection Parameters

After you install WebLogic Server Virtual Edition, you need to configure LiquidVM, using the LiquidVM Configuration Wizard to specify how it connects to VMware VirtualCenter. This wizard runs either in a GUI-driven, graphic mode or a command line-based console mode. Configuring LiquidVM is a critical step because this is where you identify the file system locations of all WLS-VE components. An improperly configured LiquidVM will not run. This procedure is described in these topics:

 


Before You Begin

Before you run the LiquidVM Configuration Wizard, you need to know the configuration data listed in Table 6-1:

Table 6-1 LiquidVM Configuration Data
Configuration Data
Description
VirtualCenter login credentials:
  • User Name
  • Password
These should be provided to you by your VMware administrator (see VMware VirtualCenter). Please refer to VMware VirtualCenter Security Measures for critical security information about your VirtualCenter password.
VirtualCenter server
The fully-qualified host name of the server that hosts the VirtualCenter you are running.
ESX Host name (ESX Compute Resource)
This is the IP address or fully-qualified name of your ESX server.
The ESX datacenter name
The datacenter is where all of the servers, clusters, and machines for this WLS-VE implementation reside.
ESX resource pool
This is optional parameter specifies the default VMware resource pool into which LiquidVM should place new VMs. You can override this parameter using the VI_RESOURCE_POOL parameter in your WLS-VE startup scripts. A VMware resource pool is a mechanism provided by VMware that allows you to allocate resources dynamically across a large set of servers. Please see the VMware documentation for more information on resource pools.
ISO image
This is the ISO file, reachable from the ESX host, that contains the LiquidVM and WebLogic Server classes that you use to host your business applications. Each physical machine that hosts an instance of WLS-VE needs access to this ISO image file. This image is installed during installation of your BEA software, and copied to the ESX server as described in Copying the ISO Image.
ISO image datastore
The ISO image resides in a VMware Virtual Infrastructure datastore. The datastore name is always enclosed in square brackets; for example, [Storage1]. This combined with the path to the ISO image datastore to provide an NFS datastore path:
[ISOImageDataStore] /myNFS/MyISODirectory/myISO.iso
VMware certificate (rui.crt)
This is the public key certificate from VirtualCenter used to verify that the virtual machine really is itself when bringing up the HTTPS connection. You can obtain this public key certificate from the VirtualCenter machine and LiquidVM will store it for you in a keystore. On Windows, the certificate file is located at C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\SSL\rui.crt
VMware network
This optional parameter specifies the VMware virtual network to use. If not set, LiquidVM uses the first available VMware network. To view the available virtual networks in your VMware VirtualCenter client, select Inventory>Networks. You can override the virtual network in the VI_NETWORK_NAME parameter of your WLS-VE startup scripts. Please see the VMware documentation for more information on virtual networks.

Configuring LiquidVM in the Graphic Mode

To run the LiquidVM Configuration Wizard in the graphic (GUI) mode, use this procedure. Be sure to read Before You Begin so that you gain familiarity with the data required to configure LiquidVM.

Note: If you are a Linux user and don't have access to a GUI, please use the procedure described in Configuring LiquidVM in the Console Mode
  1. Open the Start menu and select All Programs>BEA Products>Tools>LiquidVM Configuration Wizard.
  2. On Linux, be sure that you have set the DISPLAY environment variable and enter the command:

    <BEA_HOME>/tools/virtualization/control_1.0/bin/lvm_configwizard.sh

    The Configuration Wizard runs and the Virtual Center Information Window appears

  3. Enter the following information:
    • VirtualCenter server—the IP address or fully-qualified name of the server on which VirtualCenter is running.
    • VirtualCenter User Name and Password—the login credentials supplied by your administrator.
    • Select Secure connection to VC to use SSL for communication with VirtualCenter (recommended).
  4. Click Next.
    • If you have not used this VirtualCenter before, you will have to provide a certificate for that VirtualCenter server. The LiquidVM Configuration Wizard security certificate window appears.
    • If your VirtualCenter server has been provided to LiquidVM before, the datacenter information window appears. Proceed to step 6.
  5. Enter the VMware certificate (rui.crt)'s filename (rui.crt) and, if necessary, its path. Use Browse, if necessary. On Windows, this certificate is stored on the machine that runs VirtualCenter in the directory: c:\Documents and Settings\All Users\ApplicationData\VMware\VMwareVirtualCenter\SSL\rui.crt.
  6. If you are not running this Configuration Wizard on the same host on which VirtualCenter was installed, you need to copy the certificate file from the VirtualCenter machine to this machine (that is, the machine running the Configuration Wizard before running the wizard).

  7. Click Next.
  8. The datacenter information window appears.

  9. Enter the following information:
  10. Click Next.
  11. The LiquidVM disk location window appears.

  12. Select the VMware network.
  13. Enter the ISO image name and ISO image datastore and path, in the format shown; that is:
  14. [<storage name>] <path>/filename.iso

    Remember to include the square brackets.

  15. Click Finish.
  16. After a few moments, the successful configuration confirmation window appears.

  17. Click Close to close the Configuration Wizard.

Upon successfully configuring LiquidVM, the Configuration Wizard creates a file in your home directory named bea.lvm.info, which contains all of the information you provided running the wizard. WLS-VE will read this file upon launch to determine the location of critical files. For more information on the bea.lvm.info file, see The bea.lvm.info File.

Configuring LiquidVM in the Console Mode

Console-mode installation is an interactive, text-based method for configuring your software from the command line. This mode is useful for Linux users who don't have a GUI display or don't want to otherwise use the graphic configuration mode described in Configuring LiquidVM in the Graphic Mode. Be sure to read Before You Begin so that you understand the data required to configure LiquidVM.

To complete the console-mode configuration process, respond to the prompts by entering the text representing your choice (filepath, server name, etc.) or by pressing Enter to accept the default. To exit the configuration process, press CTRL-C in response to any prompt.

To configure LiquidVM from the console, use this procedure.

  1. Open a UNIX/Linux command shell and navigate to <BEA_HOME>/tools/virtualization/control_1.0>/bin.
  2. Enter lvm_configwizard.sh or .cmd
  3. The system responds:

    LiquidVM Configuration Wizard for ESX (text-mode)
    -------------------------------------------------
    Collecting information VMware Virtual Infrastructure environment...
    Virtual center server
  4. Enter either the IP address or the fully-qualified name (that is, you must include the domain name) of the VirtualCenter server. Press Enter.
  5. The system responds:

    Use secure connection (https) to virtual center? [Y/n]
  6. Enter y to use HTTPS to connect to the VirtualCenter Server.
  7. The system responds:

    Virtual center username
  8. Enter the appropriate VirtualCenter User Name. This should be provided to you by you VMware administrator (see VMware VirtualCenter). Press Enter.
  9. The system responds:

    Do you want to provide the password for your virtual center user? if you do the password will be stored in the configuration file encrypted, if you don't you will be asked for the password every time you launch a LiquidVM. [Y/n]
  10. If you enter yes, the system responds:
  11. Virtual center password (you will not see what you type) 
  12. Enter the Password you want to use to control access to VirtualCenter. This should be provided to you by you VMware administrator (see VMware VirtualCenter).
  13. Note: If you have already set up a password for the VirtualCenter server and want to use that one, simply press Enter.

Press Enter and follow the appropriate instructions in Table 6-2.

Table 6-2 Server Authentication Procedure
If...
The system responds...
Go to...
You have not used this VirtualCenter before, you will have to provide a certificate for that Virtual Center server
A certificate is used to authenticate the Virtual Center server. The certificate is typically found on the VC-machine at: c:\Documents and Settings\All Users\ApplicationData\VMware\VMware VirtualCenter\SSL\rui.crt
Copy this certificate to the machine from where you are running LiquidVM and specify the location below. The certificate will be used to create a keystore on this machine.
Virtual center certificate (path to the file)
You have not used this VirtualCenter before
Found certificate for the virtual center named server.domain.name.
VMware Datacenter
Where server.domain.name is the name of the server you are using.

  1. Enter the VMware certificate (rui.crt) file name (it will have the filetype .crt) and path to its location. Press Enter
  2. The system responds:

    Looking up datacenters...
    VMware Datacenter
    [numbered list of available datacenters]
    Please select one of the above numbers
  3. Enter the number that corresponds to the name of your VMware datacenter (The ESX datacenter name). Press Enter.
  4. The system responds:

    Looking up compute resources (hosts) in datacenter [datacenter name]...
    Default VMware Compute Resource (ESX Host or Cluster)
    [numbered list of available resources]
    Please select one of the above numbers
  5. Enter the number that corresponds to the name of your ESX Host name (ESX Compute Resource). Press Enter.
  6. The system responds:

    Looking up resource pools in [ESX host name]...
    VMware Resource Pool (or type any for default resource pool)
  7. Enter the name of the ESX resource pool, if any.
  8. The system responds:

    Looking up VMware Networks available to [ESX host name]...
    VMware Network (or type any to use any available)
    [numbered list of available virtual networks]
    Please select one of the above numbers [default: <any>]
  9. Enter the number that corresponds to the VMware network to use.
  10. The system responds:

    ISO-image datastore [default: storage1]
  11. Enter the ISO image datastore. Press Enter.
  12. The system responds:

    Now you should provide the path on storage1 where to find the wlsve.iso
    An example of a path is wlsve/wlsve921.iso
    ISO-image path:
  13. Enter the path to the ISO image datastore. Press Enter.
  14. The system responds:

    Checking path...

    The system responds:

    Datastore for new VMs
  15. Enter the datastore name where the WLS-VE Vmware configuration files should be stored. Press Enter.
  16. The system responds with this confirmation message:

    The LiquidVM configuration has now completed successfully.
    Configuration data has been stored in the `bea.lvm.info' file

Upon successfully configuring LiquidVM, the Configuration Wizard creates a file in your home directory named bea.lvm.info, which contains all of the information you provided running the wizard. WLS-VE will read this file upon launch to determine the location of critical files and other configuration information. For more information on the bea.lvm.info file, see The bea.lvm.info File.

The bea.lvm.info File

As indicated above, once the LiquidVM Configuration Wizard successfully runs, it creates a file named bea.lvm.info and stores it in your home directory (for Windows users, that's //Documents and Settings/yourHome; for example C:/Documents and Settings/jtsmith). This file contains all of the configuration information you entered while running the wizard. Listing 6-1 shows an example of a bea.lvm.info file.

Listing 6-1 Sample bea.lvm.info File
#BareMetal ESX-launcher configuration information
#Wed Mar 14 12:54:06 MDT 2007
keystorePassword=4f2e0e4edd112535
username=Administrator
diskDatastorePath=[storage1] training/wlsve921_77815.iso
vchost=cleese.bea.com
version=4
keystore=C\:\\Documents and Settings\\jtsmith\\bm_cleese.bea.com.keystore
esxhost=okra.bea.com
datacenter=ARC QA Infra
password=794f81c07b912561ec2f14fae0a01daf776d284b31cebd9a
Note: Please refer to VMware VirtualCenter Security Measures for critical security information regarding the password= property in the bea.lvm.info file.

bea.lvm.info is read by the WLS-VE launcher (java_esx) at startup to glean your LiquidVM configuration specifics. The WLS-VE launcher looks for bea.lvm.info in the location specified by the LVM_INFO environment variable (your home directory by default). This file contains information about VirtualCenter and default information about which ESXServer to start new WLS-VE instances on. None of this information is typically specific to the machine that ran the Configuration Wizard so you can copy it between different launching machines; however, since the launcher will search for this file in your home directory, if you move it from there (or if you rename it), you will need to set the environment variable LVM_INFO to the path to the copy.

Troubleshooting a LiquidVM Configuration

For information about how to troubleshoot problems that may result from how your LiquidVM instance is configured, see Troubleshooting WLS-VE Problems in Diagnostics and Troubleshooting.. That chapter also describes what steps you need to take to submit an issue to BEA Support.


  Back to Top       Previous  Next