Oracle® Enterprise Manager Cloud Administration Guide 12c Release 2 (12.1.0.2) Part Number E28814-03 |
|
|
PDF · Mobi · ePub |
This chapter describes the procedures you need to follow to monitor and administer the MWaaS Self Service Portal. It contains the following sections:
The Middleware Self Service Portal allows Self Service (SSA) users to view, monitor, and request middleware services. SSA users can request middleware services using any of the predefined service templates. They can deploy, undeploy applications, create data sources, scale up, and scale down services with minimal or zero intervention by the Self Service Administrator.
To view the MWaaS Self Service Portal, follow these steps:
Log into Enterprise Manager as a user with EM_SSA_USER
privileges.
Click the My Middleware radio button. The Middleware Cloud Self Service Portal appears.
This page contains the following tabs:
Home: The Home tab contains the following regions:
Notifications: This region shows the number of services that are due to expire in the next 7 days and the number of the services templates published within the last 7 days.
Your Usage: The total quota (servers and memory) used so far by the SSA user, including all the services that the user has created.
Middleware Services: This region shows the list of services owned by the SSA user. For each service, the status, the zone being used by the service, the creation date, expiration date, and days until expiration are displayed. To request a service, click Request Service. See Requesting a Service for details. Click on the Name link to drill down to the Request Service Home page.
My Requests: This region shows a list of Service Creation, Service Deletion, Scale Up, and Scale Down requests. For each request, the status, type, start date, and submission date of the request is displayed. Select columns from the View menu to view more details about the request. You can select a scheduled request and click Cancel to delete the request. If a request that is scheduled such as Create gets canceled, all other associated requests are also canceled.
Chargeback: This tab displays all the chargeback break-up data for the service. The charge incurred will be calculated from the service requested date to current date. This page contains the following regions:
Charge Trend: This graph show the usage and charge trends over time.
Details: You can aggregate the chargeback data for the service by resources of metrics. You can export this data to an external application such as a spreadsheet.
Charge Plans: The charge plans that have been assigned to each PaaS Infrastructure Zone are displayed. Select a zone to view the pricing. The rate for each metric in the zone for a specific time period is displayed.
My Library: This tab displays a list of Java EE application components that are available to the SSA user. You can do the following:
Upload: You can upload a new Java EE application component to the Software Library. See Uploading a Java EE Component to the Software Library for details.
Delete: Select a Java EE component from the list and click Delete to remove it from the library.
Share / Stop Sharing: You can share a component with one or more users and roles. Select the component and click Share. The Select and Share: Users and Roles window appears. From the Type drop list, select User or Role and click Search. The users or roles with which the component can be shared. Select one or more users or roles and click Share. The selected component is shared with the specified users and roles. To stop sharing the component, select the component and click Stop Sharing.
You can deploy a middleware service to a specific zone with a selected service template. To request a middleware service, follow these steps:
Click Request Service in the Home page of the Middleware Cloud Self Service Portal.
The Select Service Template window appears. A list of service templates available in the zones the SSA user can access is displayed. Choose a service template and click Select to launch the New Service Request page.
Enter a name for the service and select the PaaS Infrastructure Zone in which the new service is to be deployed.
You can specify the schedule for the service request.
Start Date: The service can be started Immediately or Later. If you select the Later option, specify the date from which the service is to be available.
End Date: The service can be available Indefinitely or till a specific date. If you select the Until option, specify the date till which the service is to be available. The service will be deleted on the specified date and will no longer be available.
In the Deploy Application region, you can optionally choose to deploy an application to the new service being created. Enter the following details:
Application Name: Enter a name for the application that is to be deployed.
Application Component: Select a Java EE application component from the Software Library
Deployment Plan: Select an xml file that contains the deployment options. This file overrides the deployment plan (if any) specified with the application component.
The Middleware Service Home page provides detailed information about the services you have requested using the Request Service option. To view the Middleware Service Home page, click on the Name link in the Middleware Services region in the Middleware Cloud Self Service Portal: Home tab.
This page contains the following regions:
Performance Summary: Shows the availability status of the service, the number of servers, and the performance metrics for the service. The metrics displayed are the metrics for the underlying WebLogic cluster associated with this service.
Resource Usage: Shows the CPU and Heap Usage charts for each server in the cluster.
Note: The server names are based on the name of the first server configured in the middleware provisioning profile. For example, if the first managed server is named as ser_1
, after scale up, the subsequent servers are named as ser_2
, ser_3
and so on.
Applications: Lists all the applications deployed to this service. For each application, the name, status, and the key metrics such as Active Sessions, Request Processing Time, and Request per Minute are displayed. Click on the Name link to drill down to the Application Home page. You can do the following:
Deploy: Click Deploy to deploy the application to the service. See Deploying an Application for details
Delete: Select an application and click Delete to undeploy an application.
Redeploy: If you have an updated Java EE application component, you can select the application and click Redeploy to redeploy the application.
Start / Stop: Select an application and click Start or Stop to start or stop the application.
Test: Select an application and click the Test icon. A list of URLs is displayed in the Application URLs dialog box. Click the URL to navigate to the associated page.
Data Sources: This region shows all the data sources that are available for this service. For each data source, the name, JNDI name and the URL for the database is displayed. You can create new data sources, edit or delete existing data sources, and test the connection to any specified data source.
Response and Load: Shows the request processing time and number of requests per minute for the current service.
My Requests: This table shows all the requests that have submitted for this service. These include requests such as Deploy, Undeploy, Redeploy, Start, Stop, Create, Edit, and Delete data source.
You can deploy a preconfigured Java EE application to a Service Instance. To deploy an application, follow these steps:
Log into Enterprise Manager as a user with EM_SSA_USER
privileges and navigate to the Middleware Cloud Self Service Portal page.
Click on a Name link in the Middleware Services region. The Middleware Service Home page appears.
Select an application from the Applications table and click Deploy. The Deploy Application page appears.
Enter a name for the application. Click the Search icon next to the Application Component field and select a Java EE application component from the Software Library.
In the Deployment Plan field, you can optionally specify an xml file that will override the default values of the application component's deployment plan.
Click Deploy. After the request to deploy the application has been created, you will return to the Middleware Service Home page where a confirmation message indicates that the application has been deployed.
You can redeploy an application that has been deployed to a Service Instance. To redeploy an application, select a deployed application from the Applications table and click Redeploy. In the Redeploy Application page, select the Application Component that is to be redeployed, the deployment plan if any, and click Redeploy. You will see a confirmation message indicating that the application has been redeployed.
You can scale up or scale down a service. On the Middleware Service Home page, select the following options from the Middleware Service menu:
Scale Up: You can scale up a service by adding one or more servers. The number of servers you can add is limited by your quota. Click Scale Up and enter the number of servers by which the service is to be scaled up. Click Submit to submit the scale up request and add more servers.
Scale Down: Click Scale Down and enter the number of servers by which the service is to be scaled down. Click Submit to submit the scale down request and reduce the number of servers.
You configure database connectivity by adding data sources to your WebLogic domain. WebLogic JDBC data sources provide database access and database connection management. Before an application can access a database, it must be configured to use the JDBC data source.
Log into Enterprise Manager as a user with EM_SSA_USER
privileges and navigate to the Middleware Cloud Self Service Portal page.
Click Create in the Data Sources table in the Middleware Service Home page. The Create Data Source page appears.
Enter the following details:
Data Source Name
JNDI Name
Database Driver Class
Database URL
Database User Name
Password
Click Create to create the data source.
You can edit the properties of a data source. Click the Name link in the Data Sources table in the Middleware Service Home page. The Edit Data Source page appears. You can edit the properties of the data source. If some of the properties are changed, the data source needs to be redeployed and applications using this data source need to be restarted.
You can upload pre-configured ear
, war
, jar
, or rar
files to the Software Library. These files are uploaded to the Software Library as Java EE Application components, which are then deployed to your service. To upload a file to the Software Library, click the My Library tab. The Upload to Software Library field appears.
Enter the name and description of the file being uploaded. You can then choose to upload files as follows:
Individual Files: If you choose the Upload Files Individually option, you need to specify the following:
Archive: Select the archive file to be uploaded to the Software Library. This can be an ear
, war
, jar
, or rar
file. You can also optionally specify the following:
Deployment Plan: This is an xml
file containing the deployment options for the Java EE Application component.
Pre Deploy Script: This is a script containing WLST commands. The Management Agent runs this script on the Administration Server associated with each instance before the application is deployed. You can use this script to create data sources, JMS end points, and any other resources that might be needed by the application that is being deployed.
Post Deploy Script: This is a WLST script that is executed by Management Agent on the Administration Server after the application is deployed. You can use this script to perform any post deployment configuration. For example, if you need to roll back and undo the changes made by the pre deploy script, you can select this option.
Zip File: If you select the Upload Zip File option, you must upload a zip file that contains the JavaEEAppComp.manifest
file that describes the contents of the zip file.
Click Upload to upload the file to the Software Library.
To view the Application Home page, select an application, and click the Name link in the Applications table on the Middleware Service Home page.
This page displays performance and availability for the application, along with a chart that shows response and load. You can redeploy, delete (undeploy), start, or stop the application using options from the Application menu.