# Configuration and User Guide

# Starting and Stopping WLS-VE

The following topics describe how to start and stop virtualized servers in a WLS domain.

- Starting WLS-VE
- Stopping WLS-VE

## Starting WLS-VE

When you start a WLS-VE instance, LiquidVM boots (in `active` mode) and simultaneously boots the associated server. You can also start a LiquidVM instance in `passive` mode. In `passive` mode, only the LiquidVM services are started; the server is not started. For instructions about starting LiquidVM in passive mode, see Step 1: Start LiquidVM in Passive Mode.

You can start a WLS-VE instance either from the command-line or from the VMware VI Client running on the ESX host.

Note: | You cannot start a WLS-VE server instance from the WLS Administration Console, nor can you use the Administration Console to resume or suspend a WLS-VE server instance.

Note: | However, you can, and should, use the Administration Console to shut down a WLS-VE server instance.

### From the Command-line

To start WLS-VE from the command-line:

1. Open a command-line shell and navigate to the `DOMAIN_NAME``/bin/` directory.
2. Execute the start command by entering the name of the server start script at the prompt. For details about setting the properties in the server start scripts, see Editing the Start Scripts. Sample start script commands are shown in Table 6-1.

Table 6-1 WLS-VE Start Commands
To . . . | Enter . . .
--- | ---
Start a WLS-VE Administration Server | `startWLSVE_Admin.sh` (or `.cmd` on Windows)
Start a WLS-VE Managed Server | `startWLSVE_Managed_``nn``.sh` (or `.cmd` on Windows) where `nn` is a sequential number identifying the individual Managed Server

### From VirtualCenter

After you have started WLS-VE from the command-line at least once, you can then start it from the VMware VirtualCenter:

1. Log into the Virtual Infrastructure Client.
2. In the Inventory panel of VirtualCenter, scroll down to select the virtual machine you want to start.
3. Do one of the following:

- Click the Power On button .
- Select the Summary tab and select Power On in the Commands pane.
- Right-click a machine on the Hosts and Clusters list and select Power On from the context menu that appears.

As the virtual machine starts, a progress meter appears in the Recent Tasks pane.

Once WLS-VE has successfully started, the task status changes to Completed.

## Starting the Administration Console

After your WLS-VE instance is started, you can start the Administration Server on the launcher machine to administer and shut-down WLS-VE instances.

To start the Administration Console, open a supported Web browser and open the following URL:

    http://hostname:port/console

where `hostname` is the DNS name or IP address of the Administration Server and `port` is the address of the port on which the Administration Server is listening for requests (7001 by default).

If you start the Administration Server using Secure Sockets Layer (SSL), you must add an "`s`" after `http` as follows:

    https://hostname:port/console

For detailed information about using the Administration Console, see the WLS Administration Console Online Help.

## Stopping WLS-VE

Stopping WLS-VE should be carefully considered as the ripple effects of an improper shutdown can cause unexpected results. Ideally, you should only shut down WLS-VE by using one of following methods:

- Use the WLS Administration Console for the machine and request the server to gracefully shutdown.

- For information on shutting down a server, see Shut Down a Server Instance and Control Graceful Shutdowns in the Administration Console Online Help.
- For information on gracefully shutting down the Managed Servers in a cluster, see Shut Down Servers in a Cluster in the Administration Console Online Help.

- Use WLST scripts to request the server to gracefully shutdown. For more information, see Shutdown in the WLST Command and Variable Reference.

Note: | Pressing Ctrl-C or clicking in the VI Client results in a forced WLS shutdown, similar to pressing Ctrl-C in a standard OS.