The following procedure is for CTERA Portal 8.3.3000.x. and not 8.3.3300.x. For CTERA Portal, you must add a second NIC to each portal server you deploy. The second NIC does not need to be public.
Use the following workflow to install CTERA Portal.
- Creating a Portal Instance using a CTERA Portal image obtainable from CTERA support.
- Configuring Network Settings.
- Optionally, if it is not set correctly, configure a default gateway.
- Additional Installation Instructions for Customers Without Internet Access.
- For the first server you install, follow the steps in Configuring the Primary Server.
- 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.
- Make sure that you replicate the database, as described in Configuring the CTERA Portal Database for Backup.
- Backup the server as described in Backing Up the CTERA Portal Servers and Storage.
You can use block-storage-level snapshots for backup, but snapshots are periodical in nature, configured to run every few hours. Therefore, you cannot recover the metadata to any point-in-time, and can lose a significant amount of data on failure. Also, many storage systems do not support block-level snapshots and replication, or do not do so efficiently.
Creating a Portal Instance
You can install the CTERA Portal on HPE VM Essentials console. The installation requires the CTERA Portal qcow2 image, that you get from CTERA support and save to the client computer.
To install the CTERA Portal Server:
- Log in to the HPE VM Essentials console.

The console is displayed.

- Click Library.

- Click Virtual Images.

- Click Add and select QCOW2 from the drop-down menu.
The UPLOAD VIRTUAL IMAGE window is displayed.

- Enter the following:
NAME – A name for the portal.
LABELS – Labels for the portal. Use a comma to separate the labels.
OPERATING SYSTEM – SelectCentOS 9 64-bitfrom the drop-down list.
MINIMUM MEMORY – Set to 32GB. - Click the Add File and upload the portal image you obtained from CTERA support.
The image is uploaded.

- Click Save changes.

- Click Provisioning > Instances.

- Click Add.
The CREATE INSTANCE window is displayed.

- Select HVM and click Next..

- Enter a NAME for the portal VM to be created from the portal image and select the ENVIRONMENT you want for the VM.
- Click Next.

- Enter the following:
VOLUMES –32GB.
NETWORKS – The network for the VM.
IMAGE – The image for the portal from the drop-down list.
HOST – The host for the VM from the drop-down list. - Click Next.

- Expand Backups and specify the BACKUP TYPE.
If you don not specifyNo Backup, specify the backup details.

- Click Next.

- Review the instance options and click Complete.
Provisioning for the VM sarts.

- Wait until the VM is running.

- Click the VM.
The VM details are displayed.

- Click Actions > Reconfigure.

The RECONFIGURE INSTANCE window is displayed.

- Click the plus icon on the right side of the VOLUMES list.
A new volume is added to the list.

- Specify the size for the volume.
The size is the amount of storage you will require for the edge filer. CTERA recommends storage of at least 1% of the expected global file system size or a minimum of 200GB. - Click Reconfigure.

- Click the Storage tab.

- Make sure that the DATASTORE values for both the
rootanddata-2labels are the same. - Select the VM and click ACTIONS > Console.
- To make sure that the script to create the data pool completed successfully, run
docker imagesto check that the docker images are available, including zookeeper, which is the last docker to load to the data pool.NoteIf the script to create the data pool does not successfully run, it will start on every boot until it completes. The script has a timeout which means it will exit if the data pool is not created within the timeout after boot time. If the data pool is not created, dockers required by the portal are not loaded to the data pool.
If all the dockers do not load you need to run the script
/usr/bin/ctera_firstboot.shAlso, refer to Troubleshooting the Installation if the script does not complete successfully.
- For the primary and secondary servers, continue with Create the Archive Storage.
- You can assign a static IP, as described in configure network settings.
- Start CTERA Portal services, by running the following command:
portal-manage.sh start
Do not start the portal until both the sdconv and envoy dockers have been loaded to the data pool. You can check that these dockers have loaded in /var/log/ctera_firstboot.log or by running docker images
Create the Archive Storage
You need to create the archive pool on the primary database server and when PostgreSQL streaming replication is required, also on the secondary, replication database, server. See Using PostgreSQL Streaming Replication for details about PostgreSQL streaming replication.
To create the archive pool:
- Log in to the HPE VM Essentials console.
- Click Provisioning > Instances and select the CTERA Portal VM.
- Click the VM.
The VM details are displayed.

- Click Actions > Reconfigure.
The RECONFIGURE INSTANCE window is displayed. - Click the plus icon on the right side of the VOLUMES list.
A new volume is added to the list. - Specify the size for the volume.
Note
The minimum archive pool should be 200GB but it should be sized around 2% of the expected global file system size. For more details, see Requirements.
- Click Reconfigure.
- Click the Storage tab.
- Make sure that the DATASTORE values for both the
rootanddata-2labels are the same. - Note the DEVICE value.
- Log in as
rootusing the default passwordctera321. - Run
lsblkorfdisk -lto verify the disk to use for the archive pool. - 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 sdc
This command creates both a logical volume and an LVM volume group using the specified device. Therefore, multiple devices can be specified if desired. For example:portal-storage-util.sh create_db_archive_pool sdc sdd sde
Troubleshooting the Installation
You can check on the progress of the docker loads in one of the following ways to ensure that all the dockers are loaded: The last docker to load is called zookeeper:
- In
/var/log/ctera_firstboot.log - By running
docker imagesto check that the docker images are available. - By checking if
/var/lib/ctera_firstboot_completedis present with the date and time when the installation was performed.
If all the dockers do not load you need to run the script /usr/bin/ctera_firstboot.sh