Application Packaging Standard

Last updated 18-Mar-2019

Provisioning

At the provisioning stage, you will verify if a subscriber will be able to perform the following DNS related operations with VPSes:

  • When creating a VPS, add DNS properties to the VPS.
  • In the the system Domain Manager UI identify VPSes assigned to domains.
  • Start some operations with VPSes from a domain profile.
../../../../_images/dns-step-model1.png ../../../../_images/dns-step-meta1.png ../../../../_images/dns-step-provision1.png ../../../../_images/dns-step-presentation1.png ../../../../_images/dns-step-deploy1.png ../../../../_images/dns-step-provisioning-b1.png

Continue the demo project from the previous step.

Create Subscription

Before you proceed to the tests, create a subscription for a customer and open the customer control panel. You will be directed to the Home dashboard.

Prepare Domains

To test new features, you need to prepare a couple of domains and an A record in each.

Create Domains

Create a couple of domains for the customer:

  1. In the navigation panel, select the Domains item and click Add New Domain.

  2. In the Specify Domain field, enter srv.aps.example as the domain name.

    ../../../../_images/get-free-domain.png
  3. Click Submit. The domain must appear in the list of domains.

Repeat this cycle one more time to create the srv.aps.test domain and any number of additional domains and subdomains.

../../../../_images/free-domains.png

Create A Records

Make sure each of the domains has an “A” record. CNAME will be aliased to it later.

  1. In the customer control panel, navigate to Domains.

  2. In the Actions list of the srv.aps.test domain select Manage DNS Records.

  3. On the DNS Records pane, click Add New Record.

  4. In the Record Type drop-down list, select A.

  5. In the IPv4 input field, enter an IP address in any subnet range not used in your network, for example, 10.100.100.101.

  6. In the Host field, type vps.

    ../../../../_images/a-record.png
  7. Click Finish.

Repeat this cycle for one more customer domain assigning another IP address to the A record, for example, 10.100.100.102. Feel free to do it for other domains and subdomains.

Create Servers with DNS Properties

In the customer control panel, walk through the following steps to verify if it is possible to set DNS properties when creating a VPS.

  1. On the VPS Management menu item, click New to start creating a VPS.

  2. In the Server Name field, enter the server name, for example, VPS-101.

  3. Tick the CNAME record checkbox.

  4. In the Select Domain drop-down list, select a domain, for example, srv.aps.test.

    ../../../../_images/vps-new11.png
  5. Click Next.

  6. On the Review screen, verify if a domain is selected and CNAME is required.

    ../../../../_images/vps-new2.png
  7. Click Finish and make sure the new VPS is presented in the list of servers.

Repeat this cycle to create one more VPS with CNAME and two more VPSes without CNAME. Assign them all to the same domain assigned to the former VPS.

The list of servers will look as follows:

../../../../_images/vps-list.png

Watch Application Services in Domain List

In this section, you will verify if the Domain Manager shows service data in the list of domains.

On the Domains menu item, verify if the Enabled for Services column correctly informs you that one of the domains is enabled for VPSes.

../../../../_images/domains-list.png

Manage Single Domain

Verify if the domain profile presents all assigned VPSes and allows you to start some operations over VPSes.

Test Domain Tile

  1. On the Domains menu item, click on the domain name that is assigned to VPSes. The domain profile must show a list of assigned VPSes.

    ../../../../_images/domain-info.png
  2. Click on the tile to verify if you are directed to the custom VPS creation wizard in accordance with the tile configuration. In the Select Domain drop-down list, the domain name must be pre-selected.

  3. Click Cancel to return to the list of servers or click Next and complete creation of one more VPS.

Test Tile Menu

  1. On the Domains menu item, click on the domain name that is assigned to VPSes. This will open the domain profile again.
  2. On the bottom toolbar, select the GOT TO VPS LIST option. It must redirect you to the list of servers.
  3. Return back to the domain profile as explained in item 1 and click REMOVE SERVERS this time. The tile must be cleaned up from the servers.

Conclusion

This completes the APS application design-development-deployment-provisioning cycle. If you encounter any issues when following the project steps, you can download the sample package and compare it with the demo package you have created.