45 Dynamically Provisioning Resources in an MWaaS Cloud
Provisioning Resources
After you have set up and configured the virtual machine adapter, you can dynamically add or remove virtual resources to your MWaaS cloud whenever required.
Prerequisites
-
The stage server must be identified. See Adding the Stage Server.
-
The Enterprise Manager Ops Center Client Kit must be deployed on the stage server.
-
The Solaris Sparc Adapter instance must have been created and configured. See Creating the Virtual Machine Adapter Instance.
To provision new virtual resources in a MWaaS cloud, follow these steps:
De-Provisioning Resources
You can remove or de-provision resources from your MWaaS cloud by following these steps:
- Log into Enterprise Manager as a user with the
EM_SSA_ADMINISTRATOR
role. - From the Cloud menu, select Cloud Home. The Cloud Home page appears.
- From the Oracle Cloud menu, select Resource Providers. The list of existing resource providers is displayed.
- Select a middleware pool from the list. From the Resources menu, select De-Provision.
- Enter a name and description for the procedure.
- In the Resources to De-Provision region, click Add and select one or more hosts to be de-provisioned.
- Click De-Provision to submit the job and remove the selected hosts.
Enabling Dynamic Resource Provisioning
You can enable dynamic provisioning for a middleware pool. If dynamic provisioning is enabled, when a self service user requests for a middleware service (WLaaS, JVMaaS, SBaaS, SOAaaS), virtual machines are automatically provisioned. Similarly, when the self service user no longer requires the virtual machine, it is automatically de-provisioned.
To enable dynamic provisioning, follow these steps:
- Log into Enterprise Manager as a user with the
EM_SSA_ADMINISTRATOR
role. - From the Enterprise Manager menu, select Cloud, then select Cloud Home. The Cloud Home page appears.
- From the Oracle Cloud menu, select Resource Providers.
- Select a middleware pool and from the Resources drop down menu, select Dynamic Provisioning and then select Turn On.
- In the General page, the virtual machine adapter with which the resource provider is associated is displayed. See Creating the Virtual Machine Adapter Instance.
- In the Resources to be Provisioned field, enter the number of resources that are to be provisioned with the specified configuration. The number of servers specified in the middleware profile used in the service template will override the value specified here. Click Next. The Virtual Machine Configuration page appears.
- In the Service Template field, select the virtual machine template from the drop down list. The configuration details as defined in the template are displayed. You can use the selected service template configuration or modify it if required. See Creating the Virtual Machine Service Template for details.
- Click Next. Review the information entered so far and click Save to save the configuration. The saved configuration will be applied on all virtual machines provisioned by the self service user.
Disabling Dynamic Provisioning
You can disable dynamic provisioning for a specific resource provider. Select a middleware pool for which dynamic provisioning has been enabled and from the Resources drop down, select Dynamic Provisioning, and then select Turn Off. A confirmation message is displayed. If you select Yes, dynamic provisioning will no longer be enabled for the selected resource provider.