Installing CTERA Portal Instances
  • 5 Minutes to read
  • Dark
    Light
  • PDF

Installing CTERA Portal Instances

  • Dark
    Light
  • PDF

Article Summary

Use the following workflow to install CTERA Portal.

  1. Creating a Portal Instance.
  2. For the primary database server and secondary, replication, server Logging in to the Server to Create the Storage
  3. Optionally, configure a default gateway.
  4. For the first server you install, follow the steps in Configuring the Primary Server.
  5. For any additional servers beside the primary server, install the server as described below and configure it as an additional server, as described in Installing and Configuring Additional CTERA Portal Servers.
  6. Make sure that you replicate the database, as described in Configuring the CTERA Portal Database for Backup.
  7. Backup the server as described in Backing Up the CTERA Portal Servers and Storage.

Creating a Portal Instance

Note

For the primary database server and secondary, replication, server, the portal instance is created with a fixed size data pool. If you require a larger data pool, which should be approximately 1% of the expected global file system size, you can extend the data pool as described in Azure Specific Management.

To create a portal instance:

  1. Log in to your Azure portal and access the Images service.
    The list of available images is displayed.

  2. Select the CTERA Portal image created in Creating a Portal Image.
    The image details are displayed.
    image.png

  3. Click Create VM.
    The Create a virtual machine page is displayed.
    image.png
    Resource group – The resource group to be used. The resource group used to create the image is the default group. The resource group must use premium storage.
    Virtual machine name – A name to uniquely identify the virtual machine.
    Region – The region to host the virtual machine.
    Size – Click See all sizes to display the available VM sizes.
    The Select a VM size page is displayed.
    image.png

    1. Select a VM size that matches your requirements.
      The VM size depends on the type of server you want. For details, see Requirements
    2. Click Select.

    Authentication type – Choose Password.
    Username – A name to access the virtual machine. This is an administrator name to access the portal for initial configuration.

    Note

    Once the virtual machine has been fully configured, CTERA provides a user name and password, but this user name can also be used.

    Password – Enter a password to access the instance.
    Confirm password – Reenter the password.
    Select inbound rules – Select HTTP (80) and HTTPS (443) from the drop-down list.
    Licensing type – Select Other.
    Leave the other values with their defaults.

  4. Click the Disks tab or Next: Disks.
    image.png

  5. Click Create and attach a new disk to create the data pool disk.
    The Create a new disk page is displayed.
    image.png

    1. Click Change size.
      The Select a disk size page is displayed.
      image.png
    2. Under Custom disk size (GiB) enter the data pool disk size and a high Performance tier.
      See Requirements for disk sizing. Prior to going to production, contact CTERA Support to evaluate whether the attached drive's performance meets CTERA's performance requirements.
    3. Click OK.
  6. For the primary CTERA Portal database server and the secondary, replication, server, click Create and attach a new disk to create the disk for archive storage.

    Note

    For all other servers, application and preview, you do not need to add an archive pool disk. CTERA recommends adding archive storage on both the primary and secondary database servers.

    1. Click Change size.
      The Select a disk size page is displayed.
      image.png
    2. Change Premium SSD (locally-redundant storage) to Standard HDD in the drop-down box.
    3. Under Custom disk size (GiB) enter the archive pool disk size.
      See Requirements for disk sizing. Prior to going to production, contact CTERA Support to evaluate whether the attached drive's performance meets CTERA's performance requirements.
      Note

      The minimum archive pool should be 200GB but it should be sized around 2% of the expected global file system size.

    4. Click OK.
  7. Click OK.

  8. Change Host Caching for the disk to Read/write for the added disks.

  9. Click Review + create.

    Note

    If validation does not pass, click Review + create again.

  10. Review the virtual machine details and click Create.
    The machine is deployed and started automatically.
    image.png

  11. Click Go to resource to display its details.
    The virtual machine includes the OS disk which is used for root, and a data disk, which is used to store the CTERA Portal database.

    Note

    Note the Public IP address. You access the server using this address. When connecting to the server using SSH for the first time, use the root user and ctera321 password. You are prompted to change the password.

  12. Click Networking under Settings in the navigation menu to add inbound and outbound port rules.

  13. In the Inbound port rules tab, click Add inbound port rule.
    The Add inbound security rule window is displayed.

  14. Click Add inbound port rule to add the following inbound port rules, incrementing the Priority for each rule by ‘10‘ and clicking Add after adding each rule:

    ServiceDestination port rangesProtocolPriorityNameNotes
    Custom995TCP330CTTP
    DNS (UDP)340DNS
    PostgreSQL350This port does not need to be accessible from the Internet.
    Custom18682TCP360PreviewThis port does not need to be accessible from the Internet.
  15. Select the Outbound port rules tab and click Add outbound port rule.
    The Add outbound security rule window is displayed.

  16. Add the following ports.

    Note

    You need to change the Name field, if it was used for the inbound port.

    ServiceDestination port rangesProtocolPriorityNameNotes
    DNS (UDP)100DNS1
    HTTP110HTTP1
    HTTPS120HTTPS1
    Custom18682TCP130Preview1This port does not need to be accessible from the Internet.
    Custom111TCP140NFS
    Custom123TCP150NTP
    SMTP160SMTP25 is the default SMTP port. You can define a custom port for a port used in your environment.
  17. For the primary database server and the secondary, replication, servers, continue with Logging in to the Server to Create the Storage.

Logging in to the Server to Create the Storage

Create the archive pool on the primary database server and when PostgreSQL streaming replication is required, also create an archive pool on the secondary, replication, server. See Using PostgreSQL Streaming Replication for details about PostgreSQL streaming replication.

To log in to the CTERA Portal server:

  • Log in as root, using SSH or through the console.
    The default password is ctera321

You are prompted to change the password on your first login.

To create the data and archive pools:

  1. Log in as root, using SSH or through the console.
  2. Run fdisk -l to identify the disk to use for the data pool and archive pool.
  3. Run the following command to create the data pool: portal-storage-util.sh create_storage Device
    where Device is the Device name of the disk to use for the data pool.
    For example: portal-storage-util.sh create_xfs_storage sdc
  4. Run the following command to create the archive pool: portal-storage-util.sh create_db_archive_pool Device
    Where Device is the Device name of the disk to use for the archive pool.
    For example: portal-storage-util.sh create_db_archive_pool sdd
  5. Start CTERA Portal services, by running the following command: portal-manage.sh start

Was this article helpful?