As the configuration wizard follows a specific flow, administrators can use the wizard to easily deploy cartridges. However, it is mandatory for administrators to use the configuration wizard when deploying a cartridge for the very first time. 

Deploying a cartridge via the wizard

If you are configuring Stratos for the first time, it is mandatory to use the wizard and deploy a partition, auto-scaling policy, deployment policy and cartridge. Thereafter, if needed you can avoid using the configuration wizard when deploying a cartridge.

Follow the instructions below to deploy a cartridge via the wizard:

  1. Navigate to the Configure Stratos tab and carryout one of the following actions:
    • If you are configuring Stratos for the first time, click Take the Configuration Wizard.
       
    • If you have previously configured Stratos, click Configuration Wizard.
  2. Define the partition and click Next to deploy the partition.
     
  3. Define the auto-scaling policy and click Next to deploy the auto-scaling policy.
     
  4. Define the deployment policy and click Next to deploy the deployment policy.
     
  5. If you do not wish to define a LB cartridge, click Skip and move to step 8.
  6. If you wish to deploy a LB cartridge, define LB cartridge and click  Next to deploy the LB cartridge.
     
  7. Define the cartridge and carry out one of the following actions:
    For more information on customizing cartridge definitions, see Customizing Cartridges.

    • If you have defined a single tenant cartridge - Click Finish to complete the cartridge deployment via the wizard.
    • If you have defined a multi-tenant cartridge - Click Next and move to step 9.
  8. Define the multi-tenant service cluster and click Finish to complete the cartridge deployment via the wizard.

Creating and deploying a partition

Follow the instructions below to create and deploy a partition:

  1. Navigate to the Configure Stratos tab and click Partitions.
  2. Define the partition and click Deploy. The newly deployed partition will appear in the partition list.

Creating and deploying an auto-scaling policy

Follow the instructions below to create and deploy an auto-scaling policy:

  1. Navigate to the Configure Stratos tab and click auto-scaling Policies.
  2. Define the auto-scaling policy and click Deploy. The newly deployed auto-scaling policy will appear in the auto-scaling policy list.

Creating and deploying a deployment policy

Follow the instructions below to create and deploy a deployment policy:

  1. Navigate to the  Configure Stratos tab and click Deployment Policies.
  2. Define the deployment policy. Ensure to define the corresponding partition in the deployment policy.
  3. Click Deploy. The newly deployed deployment policy will appear in the deployment policy list.

Creating and deploying a Load Balancer

Follow the instructions below to create and deploy a Load Balancer (LB):

  1. Navigate to the Configure Stratos tab and click LBs.
  2. Define the LB. Ensure to define the corresponding default deployment policy, auto-scaling policy and enter lb as the value for provider element.
  3. Click Deploy. The newly deployed LB will appear in the deployment policy list.

Creating and deploying a cartridge

Follow the instructions below to create and deploy a cartridge:

  1. Navigate to the Configure Stratos tab and click Cartridges.
  2. Define the cartridge. If you are using a LB, you need to define the corresponding LB in the cartridge configuration. For more information on customizing cartridge definitions, see Customizing Cartridges.

  3. Click  Deploy. The newly deployed cartridge will appear in the cartridge list.

  4. If you deploy a cartridge that uses a Load Balancer, enter the following entry in the etc/hosts file and save the file. 
    <LB-PUBLIC-IP> <hostname>

Creating and deploying a multi-tenant service cluster

The multi-tenant service cluster needs to be always deployed only after the multi-tenant cartridge is deployed.

Follow the instructions below to create and deploy a multi-tenant service:

  1. Navigate to the Configure Stratos tab and click Multi-Tenant Services.
  2. Define the multi-tenant service cluster. Ensure to define the corresponding default deployment policy, auto-scaling policy and multi-tenant cartridge.
  3. Click Deploy. The newly deployed multi-tenant service cluster will appear in the multi-tenant service cluster list.
  • No labels