Creating an Environment

You can create an environment with the New Environment wizard in the Administrator UI or CLI. For more information on environment, see the Concepts Guide.

Procedure

  1. Select Infrastructure > Environments.
  2. Click New.
    The New Environment wizard displays.
  3. In the Name field, type a name for the environment.
  4. Optionally provide description and contact information.
  5. Check the Enable Security Validations checkbox to enable security validations.
    When checked, Administrator does not allow the following actions:
    • Saving an environment's Messaging Bus configuration that is not SSL-enabled.
    • Creating a node on a host that is not secured with SSL over JMX.
    • Installing a node if the environment's Messaging Bus configuration is not SSL-enabled.
    • Deploying an application that uses a resource instance that is not SSL-enabled. Resource instances that are referenced by the application's resource instances must also be SSL-enabled. All composite, component, and binding properties are validated.
  6. Check the checkbox for Enable Auto-Provisioning to automatically deploy applications providing implementation or binding types to the target nodes when deploying user applications that require these applications.
  7. Click Next .
    The Messaging Bus screen displays.
  8. Specify the Messaging Bus details.
  9. Click Finish to create the environment or Cancel to exit the wizard.

CLI

Procedure

  1. In the AMXAdminTask element, type the action attribute to add and the objectSelector attribute to Environment.
    <AMXAdminTask action="add" objectSelector="Environment"/>
  2. In the AMXAdminTask element, type the action attribute to set and the objectSelector attribute to Environment/MessagingBus.
    <AMXAdminTask action="set" objectSelector="Environment/MessagingBus"/>
  3. Invoke the command-line interface on the build file.