This section contains the following topics:
When OVAB Deployer is installed in the Exalogic Controller vServer in an Exalogic vDC, a single target (named exalogic
) is preconfigured. In addition, a default security realm is created in the Oracle WebLogic Server that hosts the OVAB Deployer application. The required OVAB-specific user groups—Application Admins
and Cloud Admins
—are preconfigured in the default security realm.
Before using OVAB Deployer on Exalogic, complete the following steps:
In the Exalogic vDC, identify the following:
A Cloud User
that you want to use to access the OVAB Deployer.
Note:
If you want more than one Cloud User
to be able to access the OVAB Deployer, you must repeat the procedure described in this section separately for each such user.
The UUID of an account to which the selected user is assigned.
This account that will be used for deploying assemblies, and the resulting vServers will be displayed in the Exalogic Control BUI under this account.
To find out the UUID of an account in the Exalogic vDC, do the following:
Log in to the Exalogic Control browser user interface (BUI) as a Cloud Admin
user.
The URL for the Exalogic Control BUI is:
https://ec-vm/emoc
In this URL, ec-vm
is the IP address of the Exalogic Control VM on the EoIB-external-mgmt
network on the Exalogic machine.
In the navigation pane on the left, expand vDC Management, expand the name of the vDC (say, MyCloud
), and select Accounts.
The available accounts are listed in the main pane.
Hover the mouse pointer over the name of the account for which you want to find the UUID.
The resulting display box shows the details of the account, including its UUID (example: ACC-bbc4ea03-70c5-4fe8-8148-8e770e1b2ec2
).
If you want to use a new Cloud User
and a new account, create the required user and account as described in Creating and Managing Users and Roles, and assign the user to the account, as described in Establishing Cloud Accounts.
Create a user in the Oracle WebLogic Server that hosts the OVAB Deployer on Exalogic:
Log in to the Oracle WebLogic Server Administration Console as the weblogic
user with the administration password. If you do not know the password for the weblogic
user, contact Oracle Support.
The URL for the Oracle WebLogic Server Administration Console is:
http://ec-vm:9001/console/login/LoginForm.jsp
In this URL, ec-vm
is the IP address of the Exalogic Control VM on the EoIB-external-mgmt
network on the Exalogic machine.
Create a user, as described in "Create users" in the Oracle WebLogic Server Administration Console Online Help.
Assign the new user to the Application Admins
group, as described in "Add users to groups" in the Oracle WebLogic Server Administration Console Online Help.
The Oracle WebLogic Server Administration Console Online Help is available at:
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/core/index.html
Create a connection from an OVAB Studio installation to OVAB Deployer running on Exalogic:
$ abctl createDeployerConnection -name connection_name -url http://ec-vm:9001 -username wls_user
wls_user
is the user that you created in step 2.
connection_name
is the name of the connection that you are creating.
ec-vm
is the IP address of the Exalogic Control VM on the EoIB-external-mgmt
network on the Exalogic machine.
A prompt to enter the password is displayed. Enter the password that you defined while creating the user in step 2.
From the OVAB Studio installation, add the user (that you created in step 2) to the preconfigured target named exalogic
:
$ abctl addTargetUser -connectionName connection_name -user wls_user -target exalogic -properties exalogic.user=cloud_user exalogic.pwd=cloud_user_password exalogic.tenancy=account_UUID
connection_name
is the connection that you defined in step 3.
wls_user
is the user that you created in step 2.
cloud_user
is the user that you identified (or created) in step 1.
cloud_user_pasword
is the password for the user you identified (or created) in step 1.
account_UUID
is the UUID of the account to which the specified Cloud User
is assigned, as identified in step 1.
Verify the configuration by running the following command:
$ abctl describeTargets -connectionName connection_name
This command displays the name, type, and status of the exalogic
target. It also displays information about the available networks, volumes, and memory.
OVAB Deployer provides a web console and a command-line interface (CLI) for deploying assemblies on Exalogic.
Note:
You can also use OVAB Studio and OVAB web-service APIs for the deployer operations. For more information, see the following documentation:
OVAB web-service APIs: See "API Reference: Deployer Operations" in the Oracle Virtual Assembly Builder Developer's Guide.
OVAB Studio: See the Oracle Virtual Assembly Builder User's Guide.
To access the web console for OVAB Deployer on Exalogic, do the following:
On the resulting page, you can perform the assembly deployment operations. For more information, see Using the OVAB Deployer Web Console.
abctl
CLI CommandsTo run OVAB Deployer-related abctl
CLI commands, you must use the OVAB Studio installation from which you defined a connection to OVAB Deployer on Exalogic as described in step 3 of Configuring a User and Connection for OVAB Deployer on Exalogic.
The abctl
commands that are available for OVAB Deployer on Exalogic are the same as the commands that are available in a deployer-only installation of the generally available OVAB Deployer release, except for the differences noted in Differences Between the Generally Available OVAB Release and OVAB Deployer 11.1.1.6.2.
For more information about the OVAB Deployer-related abctl
commands, see "Command Line Reference" in the Oracle Virtual Assembly Builder User's Guide.
You can also view help for individual commands directly at the console, by running the following command:
./abctl help -command command
Table 11-2 provides an overview of the typical workflow for deploying an assembly in an Exalogic vDC by using the OVAB Deployer, and contains pointers to the sections describing the procedures for performing the tasks in the workflow by using the OVAB Deployer web console. The table also lists the abctl
CLI commands that you can use to perform the deployment tasks. For more information about the CLI commands, see the Oracle Virtual Assembly Builder User's Guide.
Note that, before deploying an assembly, you must create a deployment plan. For more information, see "Operations Related to Deployment" in the Oracle Virtual Assembly Builder User's Guide.
Table 11-2 Assembly Deployment Workflow
Workflow Sequence | Task | Procedure Using the Web Console | CLI Command/s |
---|---|---|---|
1 |
Upload the assembly archive to the OVAB Deployer on Exalogic. |
|
|
2 |
Register the assembly with the Exalogic target. |
|
|
3 |
Create an assembly instance. |
|
|
4 |
Deploy the assembly instance. |
|
|
5 |
Start, stop, restart, or redeploy the assembly instance. |
Starting, Stopping, Restarting, and Redeploying Assembly Instances |
|
6 |
Scale appliances. |
|
This section describes the procedures to perform various assembly lifecycle-related tasks by using the OVAB Deployer web console.
This section contains the following subsections:
To view a list of assembly archives that are currently uploaded to the OVAB Deployer, do the following:
To upload an assembly archive to OVAB Deployer, do the following:
To download an assembly archive from OVAB Deployer, do the following:
To delete an assembly archive from OVAB Deployer, do the following:
To register an assembly archive to the Exalogic target, do the following:
Log in to the OVAB Deployer web console, as described in Accessing the OVAB Deployer Interfaces.
Click the Registrations tab.
Click the Register button on the toolbar.
On the resulting page, do the following:
In the Assembly field, select the assembly for which you want to register.
In the Version field, select the assembly version number.
In the Plan field, specify the location of the deployment plan.
Click Register.
To unregister an assembly archive, do the following:
To create an assembly instance, do the following:
Log in to the OVAB Deployer web console, as described in Accessing the OVAB Deployer Interfaces.
Click the Deployments tab.
Click the Create button on the toolbar.
On the resulting page, do the following:
In the Assembly field, select the assembly for which you want to create an instance.
In the Version field, select the assembly version number.
In the Plan field, specify the location of the deployment plan.
Click Create.
To view a list of assembly instances, do the following:
To delete an assembly instance, do the following:
To deploy an instance of an assembly, do the following:
To undeploy an assembly instance, do the following:
To start, stop, restart, or redeploy an assembly instance, do the following:
To view the status of deployment requests, do the following:
To delete a deployment request that has been completed, do the following:
To view a list of appliances, do the following:
To delete an appliance that is in the failed
state, do the following:
To scale an appliance, do the following: