Managing Liberty profiles with IBM Workload Deployer

You can create and manage a Liberty profile with IBM® Workload Deployer.

Before you begin

To familiarize yourself with IBM WebSphere® Application Server Hypervisor Edition, see the WebSphere Application Server Hypervisor Edition Version 8.5 overview information.

For details on provisioning the image, see the IBM Workload Deployer documentation.

About this task

This task applies to WebSphere Application Server Hypervisor Edition Version 8.5.

You can use the IBM Workload Deployer to build and deploy virtual system patterns which contain Liberty profile application servers.

Use the following procedure to construct a new pattern and create a virtual system image.

Procedure

  1. Construct a new pattern.
    1. On the IBM Workload Deployer home page, go to the Patterns tab.
    2. Click Virtual Systems.
    3. On the Virtual System Patterns page, click + to construct a pattern.
    4. Construct a new pattern, enter a pattern name, and add a description.
    5. Click OK.
  2. Edit the new pattern.
    1. Select the new pattern from the list of patterns.
    2. Click Edit.
    3. On the editor screen, select a Liberty profile server and drag it to the new pattern.
    4. Click Done editing.
  3. Use the new pattern to create a virtual system image.
    1. On the Virtual Systems Patterns page, click Deploy.
    2. Enter a name for the new virtual system.
    3. To specify the attributes of the application server, such as the server name, number of processors, memory, and passwords, click Configure virtual parts > Liberty profile server. A new virtual system image is created that is based on the values you enter. For example, if you enter myserver as the server name, the resulting virtual system image has the following directories and files created for you:
      Table 1. Generated directories and files
      File or directory Location
      Java runtime code directory /opt/IBM/WebSphere/AppServer/java
      Liberty profile runtime code directory /opt/IBM/WebSphere/Liberty
      Liberty profile user area directory /opt/IBM/WebSphere/Profiles/Liberty
      Liberty profile server environment file /opt/IBM/WebSphere/Liberty/etc/server.env
      Liberty profile server configuration file /opt/IBM/WebSphere/Profiles/Liberty/servers/myserver1/server.xml
      Liberty profile server output console file /opt/IBM/WebSphere/Profiles/Liberty/servers/myserver1/logs/console.log
      Liberty profile server output messages file /opt/IBM/WebSphere/Profiles/Liberty/servers/myserver1/logs/messages.log

Results

The new Liberty profile application server, named myserver1, has a limited set of features enabled, is started automatically, and has no applications installed. You can manage this application server instance with either script commands or with a Version 8.5 Job Manager. By default, the server instance runs on the IBM Java 1.6 JDK, which is provided during deployment.

The server.env file that is created during deployment specifies the JDK that the Liberty profile application server uses and establishes the base directory for user configuration data:
  • JAVA_HOME=/opt/IBM/WebSphere/AppServer/java/jre
  • WLP_USER_DIR=/opt/IBM/WebSphere/Profiles/Liberty

What to do next

Task topic    

Terms and conditions for product documentation | Feedback

Last updated: January 29, 2018 07:35 AM GMT-06:00
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v850hyperv&product=was-nd-mp&topic=tins_virt_liberty_iwd
File name: tins_virt_liberty_iwd.html