FileFlex enterprise platform consists of 3 main components.
FileFlex enterprise server can be deployed as a cluster with a minimum requirement of 4 virtual machines. This allows companies with a high volume of users accessing the system to plan and deploy a highly available FileFlex solution.
The scope of this document is to make the enterprise server component of the platform highly available.
The deployment of the cluster requires some preparation work. Listed below are some of the key requirements; actual provisioning of these required items will happen in sequence during the cluster deployment.
|
Once you have the domain names planned you can go ahead with the next installation steps.
We will follow a logical sequence of steps but based on Cloud Service Providers (CSPs) like Azure, AWS Google Cloud etc. the Steps Sequence will have additional steps in their relevant sections.
This manual assumes that you are familiar with FileFlex single VM installation steps. If not please review the single server installation steps to understand the basic requirements. You can download the FileFlex Server Installation Guide here: https://enport.fileflex.com/installing-enterprise-server/?platform=Other |
Login to AWS Portal at https://console.aws.amazon.com/
Create 4 (FOUR) separate Elastic IPs ("Network & Security" -> "Elastic IPs" -> "Allocate Elastic IP address")
Navigate to "Security Groups" -> "Create security group"
Module | External Ports | Internal Ports |
---|---|---|
serveradmin | 22,9443 | |
webserver | 22,80,443 | 7443 |
adapter | 22,80,443,4010,4011 | 7443 |
mongodb | 22 | 27017 |
activemq | 22 | 61616 |
pki | 22,4007 |
Create a VM from the latest image ("AMIs" -> "Images").
If you followed STEP 6.1 to link AWS id in FileFlex Enterprise Partner Portal then you will find the FileFlex image by selecting Private Images in the filter
In order to start the process, select the image and click "Launch"
Choose an instance type with at least 4GiB of Memory with 2 cores this is the baseline:
Type in 4 to provision the number of instances we need.
Click all the way to the Configure Security Group
Navigate to the "6. Configure Security Group" tab,
You will be presented with the key pair specification dialogue next
Click the blue "View Instances" button at the bottom right. You will see a list of your running instance, including the newly spooled up instance
Route 53 is Amazon's DNS service that will be used to route traffic internally.
More info about the reverse DNS zones can be found here |
From the "Hosted zone details" select "Create record":
From the "Quick create record" window add a record for each of the nodes by using the private IPs which were copied above.
Fill the details as follows:
1. The reverse IP for "Record name"
2. PTR as "Record type"
3. The actual hostname for the "Value"
4. Click create record
5. Add a PTR record for each of the machines (total of 4)
In the end, the hosted zone should look similar to the following:
Here we created one PTR record per machine
Depending on where you are hosting you existing domain, it is time to configure A records pointing to external IPs assigned to the Instances.
For example the A records for our sample domain setup looks like this on Network Solutions DNS manager:
Connect with ssh to each of the machines and run the setup process.
Login using the default password (you will be prompted to change this later in the setup)
Username: sadmin
Password: Q!w2e3r4
As soon as you log in to the VM you will be presented with the following screen.
Please make sure that Primary Machine is set up first. |
STEP 1 Choose the language of choice
STEP 2 Choose "Primary or single machine"
STEP 3 Choose a password for sadmin account
STEP 4 SKIP this step
STEP 5 Enter the Primary domain that will be used to access the FileFlex server by end-users
STEP 6 WAIT!!!!!! this will take some time.....
PRIMARY Server is ready to be configured. Click Reboot
SSH into the Secondary Machines in sequence to start adding them to the cluster i.e. VM#2 then #3 and then #4
Login using the default password (you will be prompted to change this later in the setup)
Username: sadmin
Password: Q!w2e3r4
The sequence is important to not cause any confusion. The primary machine was #1 Repeat these steps for adding or replacing any secondary machine in the cluster. |
You will see the same initial screen on the first access
STEP 1 Choose language of choice
STEP 2 Choose Secondary machine in a cluster option
STEP 3 Choose a password for sadmin
STEP 4 SKIP this step
STEP 5 Enter the proper Secondary domain for the designated machine here
STEP 6 Now the VM is ready to be added to the Cluster, its time to open your web browser to access the Primary Machine
We have made it very simple to add machines to the cluster, at this point this machine is awaiting connection from the Primary server. The rest will be taken care of automatically. |
NOTE: IF this happens and the timer expires after 30 minutes then run the following command
sudo /opt/ffs/setup.sh |
STEP 1 Now you can access this machine using the hostname you have configured for the primary server at:
EXAMPLE: https://fileflex.orionwebware.net:9443
Depending on which browser you use, you will see this warning message. Since we have not yet installed a valid SSL certificate this warning is logical and you can ignore it and proceed to access the server. |
STEP 2 Login using the sadmin username and password that you used for the primary machine.
STEP 3 Prompt to enter the FileFlex deployment ID and FileFlex deployment keys and click Verify
You will find your keys in the FileFlex Enterprise Portal >> Add/Manage Deployments |
STEP 4 Choose "Configure a high-availability cluster" option and click next
STEP 5 Setup your Global Admin credentials for Policy and Users management console
STEP 6 Almost ready to start adding machines.
STEP 7 Click OK to start
The setup will take few minutes to configure the Primary Server
STEP 8 When prompted enter the hostname of the machine awaiting addition to the cluster and sadmin password for that machine
NOTE: Primary Server will setup trust with secondary servers and automatically assign their roles in the cluster.
NOTE: the screen will update on the secondary machine as follows
STEP 9 And the Primary server keeps the setup going awaiting the next secondary servers
STEP 10 Follow the ok and Yes prompts
STEP 11 Once the setup completes. Some services may be stopped. Simply select them and click start icon to start them.
PKI server will require an SSL certificate to be installed first so ignore the warning that it is stopped. |
STEP 12 Finalize the setup in the control panel