Installing CTERA Portal Instances
  • 6 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. Optionally, configure a default gateway.
  3. For the first server you install, follow the steps in Configuring the Primary Server.
  4. 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.
  5. Make sure that you replicate the database, as described in Backing Up the Database.

Creating a Portal Instance

The portal image used to create the CTERA Portal instance is created from vhd files that are obtainable from CTERA support: the operating system vhd, CentOS-CTERA-Portal-Image-x-y-z-OS-disk.vhd, and the data disk vhd, CentOS-CTERA-Portal-Image-x-y-z-Data-Disk.vhd, where x-y-z is the version number.These files need to be moved to your Azure portal, using Azcopy.exe, available for download from https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10. The zip file contains the azcopy.exe program.

To get the image vhd files from CTERA support:

  1. Log in to your Azure portal and access the Storage Accounts service to display the images.
    The list of available storage accounts is displayed.
  2. Either create a new storage account for the image or click the storage account to use for the image.
  3. The storage account details are displayed.
  4. Click Access Keys under Security + Networking in the navigation menu and note the Storage account name and the Key 1 key value.
    Note

    Click Show keys to display the key.

  5. Click Storage browser in the navigation menu and then click Blob containers and select Add container.
    The New container page is displayed.
  6. Enter a name for the container and click Create.
  7. Click the container.
  8. Click Shared access signature under Security + Networking in the navigation menu.
    The Shared access signature page is displayed.
  9. Set the permissions and click Create.
  10. Copy the URI that is generated and save it.
    The URI includes a shared access key.

To copy the vhd files:

  • Run the following command from the folder where you saved AzCopy.exe for each vhd file:
    AzCopy.exe cp "<source_uri>" "<destination_uri>"
    source_uri – The source URI location and path of the vhd file obtained from CTERA.
    destination_url – The destination URL.
    The vhd file is copied to the container. This can take some time.

To create the CTERA Portal server instance:

  1. Log in to your Azure portal and access the Images service to display the image obtained from CTERA support.
    The list of available images is displayed.

  2. Click Create.
    The Create an image page is displayed.
    image.png

  3. Enter the following in the Basics tab.
    Resource group – The resource group to be used. The resource group must use premium storage.
    Name – A name to uniquely identify the virtual machine.
    Region – The region to host the image.
    OS type – Select Linux.
    VM generation – Select Gen 1.

    Note

    You must not select Gen 2.

    Storage blob – Either enter the storage blob URI for the OS vhd file from CTERA or click Browse.
    The Storage accounts page is displayed.

    1. Select the storage account from the list.
      The Containers page is displayed.
    2. Select the container from the list.
      The container content is displayed.
    3. Select the OS vhd file received from CTERA and click Select.

    Account type – Select Premium SSD.

  4. Click + Add data disk.
    The data disk options are displayed.
    image.png

  5. Either enter the storage blob URI for the data disk vhd file from CTERA or click Browse.
    The Storage accounts page is displayed.

    1. Select the storage account from the list.
      The Containers page is displayed.
    2. Select the container from the list.
      The container content is displayed.
    3. Select the data disk vhd file received from CTERA and click Select.
    4. For Account type select Premium SSD from the drop-down box.
    5. For Host caching select Read/write from the drop-down box.

  6. Leave the other fields with their defaults and click Review + create.
    The information is checked and if okay, it is validated.
    image.png

  7. Click Create.
    Deployment starts. On completion the following screen is displayed.
    image.png

  8. Click Go to resource.
    The image details are displayed.
    image.png

  9. 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.

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

  11. For the primary CTERA Portal database server or 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 a disk.

    The Create a new disk page is displayed.
    image.png

  12. Click Change size.
    The Select a disk size page is displayed.
    image.png

  13. Change Premium SSD (locally-redundant storage) to Standard HDD in the drop-down box.

  14. Under Custom disk size (GiB) enter 200 for the archive disk size and click OK.

  15. Click OK.

  16. Change Host Caching for the disk to Read/write.

  17. Click Review + create.

    Note

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

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

  19. Click Go to resource to display its details.
    The virtual machine includes two default disks. The OS disk 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.

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

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

  22. 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.
  23. Select the Outbound port rules tab and click Add outbound port rule.
    The Add outbound security rule window is displayed.

  24. 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.

Was this article helpful?