![]() ![]() ![]() ![]() ![]() ![]() |
After installing WLS-VE, you need to run the LiquidVM Configuration Wizard to configure the connection between LiquidVM and the VMware VirtualCenter server. You can run the wizard in either a GUI-driven, graphical 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 the following topics:
Before you run the LiquidVM Configuration Wizard, be sure that you have access to the configuration data listed in Table 3-1. You will be prompted to provide this information as you step through the configuration wizard.
The user name and password required to access the VirtualCenter server. These should be provided to you by your VMware administrator. Refer to Securing the VMware VirtualCenter for critical security information about your VirtualCenter password.
|
|
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. See the VMware documentation for more information on resource pools.
|
|
The location of the WLS-VE ISO image on the ESX server. The location consists of two components: the name of the datastore on the ESX server and the pathname to the ISO image on the disk. The datastore name is always enclosed in square brackets; for example,
[Storage1] .
The ISO image is installed during installation of your BEA software and is copied to the ESX server as described in
Copying the WLS-VE ISO Image in the WLS-VE Installation Guide.
|
Note: | If you are a Linux user and don't have access to a GUI, then use the procedure described in Configuring LiquidVM in Console Mode. |
To run the LiquidVM Configuration Wizard in graphical mode, use the following procedure.
Note: | In these command-lines, BEA_HOME represents the BEA Home directory in which you installed WLS-VE. For more information about the BEA Home directory, see
The BEA Home Directory in the WLS-VE Installation Guide. |
The Configuration Wizard starts and the Virtual Center server window appears.
Note: | The first time that you run the LiquidVM Configuration Wizard, the username and password are saved in the bea.lvm.info file. If you want to log in as a different user, select Change VC login credentials and enter the username and password for the new user. |
A status window is displayed as you are connected to the Virtual Center. Once you are connected, the datacenter information window of the Configuration Wizard is displayed.
Note: | After the datacenter information window initially displays, it may take a few moments for the wizard to obtain the available configuration from the VirtualCenter Server. |
If you accept the default <root>, the VM is placed in the compute resource directly, and not in any resource pool within that compute resource. For more information about resource pools, see the VMware documentation at
http://www.vmware.com/support/pubs/vi_pubs.html
.
[
storage name
]
path
/
filename
.iso
When you have successfully configured LiquidVM, the LiquidVM Configuration Wizard creates a file named bea.lvm.info
in your home directory on your system (e.g., C:\Document and Settings\username), which contains all of the information you provided while running the wizard. WLS-VE reads this file when it launches to determine the location of critical files. For more information on the bea.lvm.info
file, see Understanding the bea.lvm.info File.
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 graphical configuration mode described in Configuring LiquidVM in Graphical Mode. You can also use console mode on a Windows platform.
Be sure you have access to the configuration data provided in Table 3-1, since you will be prompted to supply this information as you step through the wizard.
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 using the LiquidVM Configuration Wizard in console mode, follow these steps:
Note: | In these command-lines, BEA_HOME represents the BEA Home directory in which you installed WLS-VE. For more information about the BEA Home directory, see
The BEA Home Directory in the WLS-VE Installation Guide. |
LiquidVM Configuration Wizard for VMware ESX (text-mode)
-------------------------------------------------
Collecting information VMware Virtual Infrastructure environment...
Virtual center server
Use secure connection (https) to virtual center? [Y/n]
Virtual center username
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]
Virtual center password (you will not see what you type)
Note: | If you have already set up a password for the VirtualCenter server and want to use that one, simply press Enter. |
Connecting to Virtual Center. May take 30 seconds or more...
Looking up datacenters...
VMware Datacenter
[numbered list of available datacenters
]
Please select one of the above numbers
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
Looking up resource pools in [
ESX host name
]...
[
VMware Resource Pool (or type any for default resource pool)numbered list of available resource pools
]
Please select one of the above numbers [default: <root>]
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>]
ISO-image datastore
[numbered list of available datastores
]
Please select one of the above numbers [default: storage1]
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:
Checking path...
Datastore for new VMs
[numbered list of available datastores
]
Please select one of the above numbers [default: storage1]
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
When you have successfully configured LiquidVM, the LiquidVM Configuration Wizard creates a file named bea.lvm.info
in your home directory on your system (e.g., C:\Document and Settings\username), which contains all of the information you provided while running the wizard. WLS-VE reads this file when it launches to determine the location of critical files. For more information on the bea.lvm.info
file, see Understanding the bea.lvm.info File.
After you have run the LiquidVM Configuration Wizard and connected to the VirtualCenter server, the Configuration Wizard 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 3-1 shows an example of a bea.lvm.info
file.
#BareMetal ESX-launcher configuration information
#Thu Jan 03 21:08:15 EST 2008
vmwareUsername=user1
vmwareDiskPath=[storage1] wlsve/wlsve922.iso
vmwareVcHost=vmwarevc.bea.com
vmwareKeystore=C\:\\Documents and Settings\\jtsmith\\bm_vmwarevc.bea.com.keystore
vmwarePassword=d90f1423925849c78e6dd9100d162f3f
vmwareVmDatastore=storage2
vmwareComputeResource=esx.bea.com
vmwareKeystorePassword=07300ca783a0a3e92f8fc6121e2d14aa
LiquidVM.config.version=5
vmwareDatacenter=TESTCENTER
Note: | Refer to Securing the VMware VirtualCenter for critical security information regarding the vmwarePassword= property in the bea.lvm.info file. |
The LiquidVM launcher reads the bea.lvm.info
file at startup to obtain 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 the ESX Server on which to start new WLS-VE instances. Typically, none of this information in this file is specific to the machine on which you ran the Configuration Wizard so you can copy it between different launching machines. However, since the launcher machine searches for this file in your home directory, if you move it to another location (or rename it), you need to set the LVM_INFO
environment variable in the start script to point to the new location of the file.
For information about how to troubleshoot problems that may result from the LiquidVM instance configuration, see Troubleshooting WLS-VE Problems.
![]() ![]() ![]() |