Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

Table of Contents
stylesquare

Components of FileFlex Enterprise Platform

FileFlex enterprise platform consists of 3 main components.

  1. The FileFlex enterprise server
  2. The FileFlex data connector agent
  3. The FileFlex end-user application

Introduction

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. 

Scope

The scope of this document is to make the enterprise server component of the platform highly available. 

Planning & Requirements

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. 

Panel
bgColor#fff
titleSetup Requirements
  1. Domain Name setup for 4 VMs
    1. Example:
      1. VM#1 = fileflex.example.com 
      2. This is the Main/Primary Domain used by users to access your FileFlex Enterprise
    2. Example: Secondary Domains servicing the users traffic
      1. VM#2 = ff2.example.com
      2. VM#3 = ff3.example.com
      3. VM#4 = ff4.example.com
  2. External/Public IP Addresses = 4 (One per VM)
  3. Wild Card SSL Certificate (this can be bought from within the server installation once the primary machine is setup)

Note on Installation Steps

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.

  1. Provision IPs
  2. Provision VMs
  3. Setup DNS


Info
titleNOTE

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


Installing High Availability cluster on AWS

Login to AWS Portal at https://console.aws.amazon.com/

STEP: Verify and Enable DNS Attributes

  1. Login to https://console.aws.amazon.com/vpc/
  2. Navigate to "Your VPCs" from the left menu
  3. You may use your existing VPC or provision a separate one for the purpose
  4. Verify that DNS resolution and DNS hostnames attributes of the virtual private cloud (VPC) must be enabled as explained here


STEP: Create IPs

Create 4 (FOUR) separate Elastic IPs ("Network & Security" -> "Elastic IPs" -> "Allocate Elastic IP address")

STEP: Create Security Group

Navigate to "Security Groups" -> "Create security group"

  1. Allow the following "Custom TCP" ports for "inbound rules": 4007, 4010, 4011, 9443, 443, 22, 80, 61616, 27017, 7443 from "Anywhere"
  2. Allow the "All TCP" Type to "Anywhere" for outbound and associate it with your VPC:
  3. Save with "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




STEP: Spool up VM instances

Create a VM from the latest image ("AMIs" -> "Images"). 

Find the FileFlex image

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"


Deploy the VM

Choose an instance type with at least 4GiB of Memory with 2 cores this is the baseline:



Choose the number of instances

Type in 4 to provision the number of instances we need.

Click all the way to the Configure Security Group

Assign security group

Navigate to the "6. Configure Security Group" tab, 

  1. Click on "Select an existing security group" from "Assign a security group" and
  2. Click on the security group you've previously created to select it
  3. Click "Review and Launch" to proceed with the review
  4. Verify that everything is as it should be, and click the blue "Launch" button at the bottom right.

Create a key pair to access server instances

You will be presented with the key pair specification dialogue next

  1. If you already have a key pair, you can select it from the list. If you do not, you will need to create one to be able to access your instance. Choose "Create a new key pair" from the first dropdown, and enter a name for the keypair.
  2. Click on the blue "Launch Instances" button at the bottom right of the dialogue to proceed.


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


STEP: Assign Elastic IPs to Instances

  1. Go to "Network & Security" -> "Elastic IPs"
  2. Select each of the elastic IPs you've already allocated and associate them with the running instances. NOTE: you will do this four times, one IP per instance


STEP: Copy the private IPs

  1. Now go back to the running instances
  2. Select the "Instance ID" of each of the machines (one by one)
  3. Copy and note somewhere the Private IP addresses:


STEP: Create Hosted Zones

Route 53 is Amazon's DNS service that will be used to route traffic internally.

  1. Go to Route53 -> "Hosted Zones" (https://console.aws.amazon.com/route53/v2/hostedzones)
  2. Select " Create hosted zone" on the right side of the page to create a reverse DNS zone
    a. For the "Domain name" add the corresponding XXX.in-addr.arpa record, depending on your configuration. we used 31.172.in-addr.arpa
    b. Select "Private hosted zone" for "Type"
    c. Select your Region and VPC ID from "VPCs to associate with the hosted zone". Confirm with "Create hosted zone"
Info
titleMore Info

More info about the reverse DNS zones can be found here


STEP: Create PTR Record (reverse zones) Per Instance

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


STEP: Create Forward Zones per Instance

  1. Go back to "Route53" -> "Hosted zones" in order to create a forward zone
    a. Use the main domain you will use for "Domain name"
    b. Again, use "Private hosted zone" as type
    c. Select the appropriate "Region" and "VPC ID"
    Confirm with "Create hosted zone"
  2. Select "Create record" for each of the 4 machines
    a. Add the subdomain for "Record name"
    b. Select "A" as "Record type"
    c. Enter the internal IP for "Value"
  3. Add an A record for each of the machines (total of 4). In the end, the hosted zone should look similar to:


STEP: Setup External Domain DNS

Depending on where you are hosting you existing domain, it is time to configure A records pointing to external IPs assigned to the Instances.

  1. Add an A record for each Instance
  2. Use One IP as configured above making sure you are using the right IP of each instance

For example the A records for our sample domain setup looks like this on Network Solutions DNS manager:

STEP: Start installing Primary FileFlex Server

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.

Info
titleNOTE

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


STEP: Start installing Secondary FileFlex Server

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

Info
titleNOTE

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

Info
titleNOTE

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

Code Block
languagebash
sudo /opt/ffs/setup.sh


STEP: Start configuring the FileFlex Server Cluster

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 

Info
titleNOTE

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 

Info
titleNOTE

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.

Info
titleNOTE

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

  1. Setup mail server used to send notifications etc.
  2. Setup SSL Certificate (HELP on SSL Certificate Automated Installation)





Sv translation
languageja_JP

Table of Contents
stylesquare

Components of FileFlex Enterprise Platform

FileFlex enterprise platform consists of 3 main components.

  1. The FileFlex enterprise server
  2. The FileFlex data connector agent
  3. The FileFlex end-user application

Introduction

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. 

Scope

The scope of this document is to make the enterprise server component of the platform highly available. 

Planning & Requirements

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. 

Panel
bgColor#fff
titleSetup Requirements
  1. Domain Name setup for 4 VMs
    1. Example:
      1. VM#1 = fileflex.example.com 
      2. This is the Main/Primary Domain used by users to access your FileFlex Enterprise
    2. Example: Secondary Domains servicing the users traffic
      1. VM#2 = ff2.example.com
      2. VM#3 = ff3.example.com
      3. VM#4 = ff4.example.com
  2. External/Public IP Addresses = 4 (One per VM)
  3. Wild Card SSL Certificate (this can be bought from within the server installation once the primary machine is setup)

Note on Installation Steps

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.

  1. Provision IPs
  2. Provision VMs
  3. Setup DNS


Info
titleNOTE

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


Installing High Availability cluster on AWS

Login to AWS Portal at https://console.aws.amazon.com/

STEP: Link AWS Account

NOTE: if you have not linked your AWS account id in the FileFlex enterprise portal already then do that now. This will allow you to see FileFlex VM image in Amazon Machine Image(AMI) listing.

  1. login to the portal: https://enport.fileflex.com/msp-control-panel/
  2. Navigate to your Deployments
    1. Click on Connect web Services Account     
    2. Find your AWS Id here:
    3. Enter Amazon ID and click allow
    4. Wait for the allowed confirmation


STEP: Verify and Enable DNS Attributes

  1. Login to https://console.aws.amazon.com/vpc/
  2. Navigate to "Your VPCs" from the left menu
  3. You may use your existing VPC or provision a separate one for the purpose
  4. Verify that DNS resolution and DNS hostnames attributes of the virtual private cloud (VPC) must be enabled as explained here


STEP: Create IPs

Create 4 (FOUR) separate Elastic IPs ("Network & Security" -> "Elastic IPs" -> "Allocate Elastic IP address")

STEP: Create Security Group

Navigate to "Security Groups" -> "Create security group"

  1. Allow the following "Custom TCP" ports for "inbound rules": 4007, 4010, 4011, 9443, 443, 22, 80, 61616, 27017, 7443 from "Anywhere"
  2. Allow the "All TCP" Type to "Anywhere" for outbound and associate it with your VPC:
  3. Save with "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




STEP: Spool up VM instances

Create a VM from the latest image ("AMIs" -> "Images"). 

Find the FileFlex image

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"


Deploy the VM

Choose an instance type with at least 4GiB of Memory with 2 cores this is the baseline:



Choose the number of instances

Type in 4 to provision the number of instances we need.

Click all the way to the Configure Security Group

Assign security group

Navigate to the "6. Configure Security Group" tab, 

  1. Click on "Select an existing security group" from "Assign a security group" and
  2. Click on the security group you've previously created to select it
  3. Click "Review and Launch" to proceed with the review
  4. Verify that everything is as it should be, and click the blue "Launch" button at the bottom right.

Create a key pair to access server instances

You will be presented with the key pair specification dialogue next

  1. If you already have a key pair, you can select it from the list. If you do not, you will need to create one to be able to access your instance. Choose "Create a new key pair" from the first dropdown, and enter a name for the keypair.
  2. Click on the blue "Launch Instances" button at the bottom right of the dialogue to proceed.


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


STEP: Assign Elastic IPs to Instances

  1. Go to "Network & Security" -> "Elastic IPs"
  2. Select each of the elastic IPs you've already allocated and associate them with the running instances. NOTE: you will do this four times, one IP per instance


STEP: Copy the private IPs

  1. Now go back to the running instances
  2. Select the "Instance ID" of each of the machines (one by one)
  3. Copy and note somewhere the Private IP addresses:


STEP: Create Hosted Zones

Route 53 is Amazon's DNS service that will be used to route traffic internally.

  1. Go to Route53 -> "Hosted Zones" (https://console.aws.amazon.com/route53/v2/hostedzones)
  2. Select " Create hosted zone" on the right side of the page to create a reverse DNS zone
    a. For the "Domain name" add the corresponding XXX.in-addr.arpa record, depending on your configuration. we used 31.172.in-addr.arpa
    b. Select "Private hosted zone" for "Type"
    c. Select your Region and VPC ID from "VPCs to associate with the hosted zone". Confirm with "Create hosted zone"
Info
titleMore Info

More info about the reverse DNS zones can be found here


STEP: Create PTR Record (reverse zones) Per Instance

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


STEP: Create Forward Zones per Instance

  1. Go back to "Route53" -> "Hosted zones" in order to create a forward zone
    a. Use the main domain you will use for "Domain name"
    b. Again, use "Private hosted zone" as type
    c. Select the appropriate "Region" and "VPC ID"
    Confirm with "Create hosted zone"
  2. Select "Create record" for each of the 4 machines
    a. Add the subdomain for "Record name"
    b. Select "A" as "Record type"
    c. Enter the internal IP for "Value"
  3. Add an A record for each of the machines (total of 4). In the end, the hosted zone should look similar to:


STEP: Setup External Domain DNS

Depending on where you are hosting you existing domain, it is time to configure A records pointing to external IPs assigned to the Instances.

  1. Add an A record for each Instance
  2. Use One IP as configured above making sure you are using the right IP of each instance

For example the A records for our sample domain setup looks like this on Network Solutions DNS manager:

STEP: Start installing Primary FileFlex Server

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.

Info
titleNOTE

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


STEP: Start installing Secondary FileFlex Server

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

Info
titleNOTE

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

Info
titleNOTE

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

Code Block
languagebash
sudo /opt/ffs/setup.sh


STEP: Start configuring the FileFlex Server Cluster

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 

Info
titleNOTE

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 

Info
titleNOTE

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.

Info
titleNOTE

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

  1. Setup mail server used to send notifications etc.
  2. Setup SSL Certificate (HELP on SSL Certificate Automated Installation)





Sv translation
languagees

Table of Contents
stylesquare

Componentes de la plataforma FileFlex Enterprise

La plataforma de FileFlex Enterprise consta de 3 componentes principales.

  1. Servidor FileFlex Enterprise
  2. Agente conector de datos FileFlex
  3. Aplicación de usuario final FileFlex

Introducción

El servidor de FileFlex Enterprise puede implementarse como un clúster con un requisito mínimo de 4 máquinas virtuales. Esto permite a las empresas con gran volumen de usuarios que acceden al sistema planificar e implementar una solución FileFlex de gran disponibilidad. 

Alcance

El alcance de este documento es hacer que el componente de servidor Enterpise de la plataforma tenga gran disponibilidad. 

Planificación y requisitos

La implementación del clúster requiere trabajo de preparación. A continuación se enumeran algunos de los requisitos clave; el suministro real de estos elementos necesarios se producirá en secuencia durante la implementación del clúster. 

Panel
bgColor#fff
titleRequisitos de instalación
  1. Configuración de nombre de dominio con 4 VM.
    1. Ejemplo:
      1. VM#1 = fileflex.example.com 
      2. Este es el dominio principal/primario que los usuarios utilizan para acceder a FileFlex Enterprise.
    2. Ejemplo: Dominios secundarios que prestan servicio al tráfico de los usuarios
      1. VM#2 = ff2.example.com
      2. VM#3 = ff3.example.com
      3. VM#4 = ff4.example.com
  2. Direcciones IP externas/públicas = 4 (una por VM)
  3. Certificado SSL comodín (puede adquirirse desde dentro de la instalación del servidor una vez que la máquina principal esté instalada)

Nota sobre los pasos de instalación

Cuando tenga los nombres de dominio planificados puede proceder con los siguientes pasos de instalación.

Seguiremos una secuencia lógica de pasos pero, con base en los proveedores de servicios en la nube (CSP) como Azure, AWS, Google Cloud, etc., la secuencia de pasos tendrá pasos adicionales en las secciones relevantes.

  1. Provisión de IP
  2. Provisión de VM
  3. Configuración de DNS


Info
titleNOTA

Este manual supone que está familiarizado con los pasos de instalación de una VM única de FileFlex. 

De lo contrario, revise los pasos de instalación de un servidor único para comprender los requisitos básicos. 

Puede descargar la Guía de instalación del servidor de FileFlex aquí: https://enport.fileflex.com/installing-enterprise-server/?platform=Other


Instalación del clúster de gran disponibilidad en AWS

Inicie sesión en el portal de AWS en https://console.aws.amazon.com/

PASO: Vincular la cuenta de AWS

NOTA: si aún no ha vinculado la ID de su cuenta de AWS en el portal de FileFlex Enterprise, hágalo ahora. Esto le permitirá ver la imagen de la VM de FileFlex en la lista de imágenes de máquinas de Amazon (AMI).

  1. Inicie sesión en el portal: https://enport.fileflex.com/msp-control-panel/
  2. Navegue hasta sus implementaciones.
    1. Haga clic en la cuenta Conectar servicios web.     
    2. Encuentre aquí su ID de AWS:
    3. Introduzca la ID de Amazon y haga clic en permitir.
    4. Espere la confirmación.


PASO: Comprobar y habilitar los atributos DNS

  1. Inicie sesión en https://console.aws.amazon.com/vpc/
  2. Navegue hasta "Sus VPC" en el menú izquierdo.
  3. Puede usar el VPC existente o proporcionar uno separado para este fin.
  4. Compruebe si la resolución DNS y los atributos de nombres de host DNS de la nube privada virtual (VPC) está habilitados como se explica aquí.


PASO: Crear las IP

Cree 4 (CUATRO) IP elásticas separadas ("Red y seguridad" -> "IP elásticas" -> "Asignar dirección IP elástica")

PASO: Crear grupo de seguridad

Navegue hasta "Grupos de seguridad" -> "Crear grupo de seguridad"

  1. Habilite los siguientes puertos "TCP personalizados" para "reglas entrantes": 4007, 4010, 4011, 9443, 443, 22, 80, 61616, 27017, 7443 desde "Cualquier sitio".
  2. Habilite el tipo "Todos los TCP" para "Cualquier sitio" para salientes y asócielo con su VPC:
  3. Guardar con "Crear grupo de seguridad"

Módulo

Puertos externos

Puertos internos

serveradmin

22,9443


webserver

22,80,443

7443

adapter

22,80,443,4010,4011

7443

mongodb

22

27017

activemq

22

61616

pki

22,4007




PASO: Crear instancias de VM

Cree una VM a partir de la última imagen ("AMIs" -> "Imágenes"). 

Encontrar la imagen de FileFlex

Si realizó el PASO 6.1 para vincular la ID de AWS en el portal de socios de FileFlex Enterprise, encontrará la imagen de FileFlex si selecciona Imágenes privadas en el filtro.

Para comenzar el proceso, seleccione la imagen y haga clic en "Lanzar".


Implementar la VM

Escoja un tipo de instancia con por lo menos 4 GB de memoria con 2 núcleos, esta es la base:



Escoger el número de instancias

Escriba 4 para suministrar el número de instancias que necesitamos.

Haga clic hasta Configurar grupo de seguridad.

Asignar grupo de seguridad

Navegue hasta la pestaña "6. Configurar grupo de seguridad". 

  1. Haga clic en "Seleccionar un grupo de seguridad existente" en "Asignar un grupo de seguridad" y
  2. haga clic en el grupo de seguridad que creó anteriormente para seleccionarlo.
  3. Haga clic en "Revisar y lanzar" para continuar con la revisión.
  4. Compruebe si todo está como debe y haga clic en el botón azul "Lanzar" en la parte inferior derecha.

Crear un par de claves para acceder a las instancias del servidor

A continuación, se mostrará el cuadro de diálogo de especificación de par de claves.

  1. Si ya tiene un par de claves, selecciónelo en la lista. Si no lo tiene, deberá crear uno para poder acceder a la instancia. Escoja "Crear un nuevo par de claves" en el primer desplegable e introduzca el nombre del par de claves.
  2. Haga clic en el botón azul "Lanzar instancias" en la parte inferior derecha del cuadro de diálogo para continuar.


Haga clic en el botón azul "Ver instancias" en la parte inferior derecha. Verá una lista de instancias en ejecución, incluida la instancia recientemente creada.


PASO: Asignar las IP elásticas a las instancias

  1. Vaya a "Red y seguridad" -> "IP elásticas".
  2. Seleccione cada una de las IP elásticas que ha asignado y asóciela con una instancia en ejecución. NOTA: hará esto cuatro veces, una IP por instancia.


PASO: Copiar las IP privadas

  1. Ahora, vuelva a las instancias en ejecución.
  2. Seleccione la "ID de instancia" de cada una de las máquinas (una a una).
  3. Copie y tome nota de las direcciones IP privadas:


PASO: Crear zonas alojadas

Route 53 es el servicio DNS de Amazon que se utilizará para enrutar el tráfico internamente.

  1. Vaya a Route53 -> "Zonas alojadas" (https://console.aws.amazon.com/route53/v2/hostedzones)
  2. Seleccione "Crear zona alojada" en el lado derecho de la página para crear una zona de DNS inverso
    a. En "Nombre de dominio", añada el registro XXX.in-addr.arpa correspondiente, dependiendo de su configuración. Nosotros usamos 31.172.in-addr.arpa
    b. En "Tipo", seleccione "Zona alojada privada".
    c. Seleccione su región e ID VPC en "VPC a asociar con la zona alojada". Confirme con "Crear zona alojada".
Info
titleMás información

Encontrará más información acerca de las zonas de DNS inverso aquí.


PASO: Crear un registro PTR (zonas inversas) por instancia

En "Detalles de zona alojada", seleccione "Crear registro".

En la ventana "Creación rápida de registro", añada un registro para cada uno de los nodos con las IP privadas que se copiaron anteriormente.

Complete la información de la siguiente manera:
1. La IP inversa como "Nombre del registro"
2. PTR como "Tipo de registro"
3. El nombre del host real en "Valor".

4. Haga clic en Crear registro.

5. Añada un registro PTR para cada una de las máquinas (total de 4).

Por último, la zona alojada debe ser similar a lo siguiente:

Aquí hemos creado un registro PTR por máquina.


PASO: Crear zonas forward por instancia

  1. Vuelva a "Route53" -> "Zonas alojadas" para crear una zona forward
    a. Use el dominio principal que usará para "Nombre de dominio".
    b. Nuevamente, use "Zona alojada privada" como tipo
    c. Seleccione la "Región" apropiada e "ID VPC".
    Confirme con "Crear zona alojada".
  2. Seleccione "Crear registro" para cada una de las 4 máquinas.
    a. Añada el subdominio en "Nombre del registro".
    b. Seleccione "A" como "Tipo de registro".
    c. Introduzca la IP interna en "Valor".
  3. Añada un registro A para cada una de las máquinas (total de 4). Por último, la zona alojada debe ser similar a lo siguiente:


PASO: Configurar DNS de dominio externo

Dependiendo de dónde esté alojando el dominio existente, es hora de configurar registros A que señalen a las IP externas asignadas a las instancias.

  1. Añadir una registro A para cada instancia
  2. Use una IP como se configuró anteriormente y asegúrese de usar la IP correcta para cada instancia.

Por ejemplo, los registros A de la configuración de dominio de ejemplo tienen esta apariencia en el administrador de DNS de Network Solutions.

PASO: Comenzar la instalación del servidor principal de FileFlex

Conéctese mediante SSH a cada una de las máquinas y ejecute el proceso de configuración. 

Inicie sesión con la contraseña predeterminada (se le solicitará que la cambie más adelante en la configuración).

Nombre de usuario: sadmin

Contraseña: Q!w2e3r4

Después de iniciar sesión en la VM aparecerá la siguiente pantalla.

Info
titleNOTA

Asegúrese de configurar primero la máquina principal.


PASO 1 - Escoja el idioma. 


PASO 2 - Escoja "Máquina principal o única".


PASO 3 - Escoja una contraseña para la cuenta de sadmin.


PASO 4 - OMITA este paso.


PASO 5 - Introduzca el dominio principal que los usuarios finales usarán para acceder al servidor de FileFlex.


PASO 6 - ¡¡ESPERE!! Esto tardará un tiempo...


El servidor PRINCIPAL está listo para la configuración. Haga clic en Reiniciar


PASO: Comenzar la instalación del servidor secundario de FileFlex

Conéctese mediante SSH en las máquinas secundarias en secuencia para comenzar a añadirlas al clúster, es decir, VM n.º 2, después la n.º 3 y, a continuación, la n.º 4. 

Inicie sesión con la contraseña predeterminada (se le solicitará que la cambie más adelante en la configuración).

Nombre de usuario: sadmin

Contraseña: Q!w2e3r4

Info
titleNOTA

La secuencia es importante para no producir confusiones. La máquina principal es la n.º 1.

Repita estos pasos para añadir o reemplazar cualquier máquina secundaria del clúster.

Verá la misma pantalla inicial en el primer acceso.

PASO 1 - Escoja el idioma.


PASO 2 - Seleccione la opción Máquina secundaria en el clúster.


PASO 3 - Escoja una contraseña para sadmin. 


PASO 4 - OMITA este paso.


PASO 5 - Introduzca aquí el dominio secundario correcto para la máquina designada.


PASO 6 - Ahora la VM está lista para añadirla al clúster; esta vez, abra el navegador web para acceder a la máquina principal.

Info
titleNOTA

Hemos diseñado el software para que sea muy sencillo añadir máquinas al clúster; en este punto, esta máquina está esperando la conexión desde el servidor principal. 

El resto se hará automáticamente.



NOTA: SI esto ocurre y el temporizador caduca después de 30 minutos, ejecute el siguiente comando

Code Block
languagebash
sudo /opt/ffs/setup.sh


PASO: Comenzar a configurar el clúster del servidor FileFlex

PASO 1 - Ahora puede acceder a esta máquina con el nombre de host que ha configurado para el servidor principal en: 

EJEMPLO: https://fileflex.orionwebware.net:9443 

Info
titleNOTA

Dependiendo del navegador que use, verá este mensaje de advertencia. 

Esta advertencia es lógica ya que aún no hemos instalado un certificado SSL válido; puede ignorar el mensaje y acceder al servidor.



PASO 2 - Inicie sesión con el nombre de usuario y contraseña de sadmin que usó en la máquina principal.


PASO 3 - Introduzca la ID y las claves de implementación de FileFlex y haga clic en Verificar. 

Info
titleNOTA

Encontrará las claves en el portal de FileFlex Enterprise >> Añadir/gestionar implementaciones.


PASO 4  Seleccione la opción "Configurar un clúster de gran disponibilidad" y haga clic en siguiente.


PASO 5 - Configure las credenciales de administración global para la consola de administración de políticas y usuarios.


PASO 6 - Casi está listo para comenzar a añadir las máquinas.


PASO 7 - Haga clic en Aceptar para comenzar.

Esta instalación tardará algunos minutos en configurar el servidor principal.


PASO 8 - Cuando se le solicite, introduzca el nombre de host de la máquina que está esperando añadirse al clúster y la contraseña sadmin de dicha máquina. 

NOTA: El servidor principal configurará confianza con los servidores secundarios y les asignará automáticamente sus roles en el clúster.

NOTA: la pantalla se actualizará en la máquina secundaria de la siguiente manera.


PASO 9 - El servidor principal continúa con la configuración en espera de los siguientes servidores secundarios.


PASO 10 - Siga las opciones Aceptar y Sí.



PASO 11 - Cuando finalice la configuración algunos servicios pueden haberse detenido. Simplemente selecciónelos y haga clic en el icono inicio para iniciarlos.

Info
titleNOTA

El servidor PKI requerirá que se instale, primero, un certificado SSL por lo que deberá ignorar la advertencia de que se ha detenido.



PASO 12 - Finalice la configuración en el panel de control.

  1. Configure el servidor de correo que se utilizará para enviar notificaciones, etc.
  2. Configure el certificado SSL (AYUDA sobre la instalación automatizada de certificados SSL).





Sv translation
languagefr

Table of Contents
stylesquare

Composants de la plateforme FileFlex Enterprise

La plate-forme FileFlex Entreprise se compose de 3 éléments principaux.

  1. Le serveur FileFlex Enterprise
  2. L'agent connecteur de données FileFlex
  3. L'application FileFlex pour l'utilisateur final

Introduction

Le serveur FileFlex Enterprise peut être déployé en tant que cluster avec une configuration minimale de 4 machines virtuelles. Cela permet aux entreprises dont le volume d'utilisateurs accédant au système est élevé de programmer et de déployer une solution FileFlex hautement disponible. 

Portée

Le but de ce document est de rendre le composant serveur d'entreprise de la plate-forme hautement disponible. 

Planification et exigences

Le déploiement du cluster nécessite un travail de préparation. Vous trouverez ci-dessous une liste des principales exigences ; l'approvisionnement réel de ces éléments requis se fera dans l'ordre pendant le déploiement du cluster. 

Panel
bgColor#fff
titleConfiguration requise
  1. Configuration du nom de domaine pour 4 machines virtuelles
    1. Exemple :
      1. VM#1 = fileflex.exemple.com 
      2. Il s'agit du domaine principal employé par les utilisateurs pour accéder à votre FileFlex Enterprise
    2. Exemple : Domaines secondaires desservant le trafic des utilisateurs
      1. VM#2 = ff2.exemple.com
      2. VM#3 = ff3.exemple.com
      3. VM#4 = ff4.exemple.com
  2. Adresses IP externes/publiques = 4 (une par VM)
  3. Certificat SSL Wild Card (il peut être acheté à partir de l'installation du serveur une fois la machine principale configurée)

Remarque sur les étapes d'installation

Une fois que vous avez planifié les noms de domaine, vous pouvez passer aux étapes d'installation suivantes.

Nous suivons une séquence logique d'étapes mais basée sur des fournisseurs de services Cloud (CSP) comme Azure, AWS Google Cloud, etc. La séquence d'étapes comporte des étapes supplémentaires dans les sections correspondantes.

  1. Fournir des adresses IP
  2. Fournir des machines virtuelles
  3. Configurer le DNS


Info
titleREMARQUE

Ce manuel suppose que vous connaissez les étapes d'installation de la VM unique FileFlex. 

Si ce n'est pas le cas, veuillez consulter les étapes d'installation du serveur unique pour comprendre les exigences de base. 

Vous pouvez télécharger le Guide d'installation du serveur FileFlex ici : https://enport.fileflex.com/installing-enterprise-server/?platform=Other


Installation d'un cluster haute disponibilité sur AWS

Connectez-vous au portail AWS à l'adresse https://console.aws.amazon.com/

ÉTAPE : Associer un compte AWS

REMARQUE : si vous n'avez pas encore associé votre identifiant de compte AWS dans le portail FileFlex Enterprise, faites-le maintenant. Cela vous permettra de voir l'image de la VM FileFlex dans la liste Amazon Machine Image (AMI).

  1. Connectez-vous au portail : https://enport.fileflex.com/msp-control-panel/
  2. Naviguez vers vos déploiements
    1. Cliquez sur « Connecter le compte des services Web »     
    2. Trouvez votre identifiant AWS ici :
    3. Saisissez l'identifiant Amazon et cliquez sur « Autoriser »
    4. Attendez la confirmation


ÉTAPE : Vérifier et activez les attributs DNS

  1. Connectez-vous à https://console.aws.amazon.com/vpc/
  2. Naviguez vers « Vos VPC »dans le menu de gauche
  3. Vous pouvez utiliser votre VPC existant ou en provisionner un autre à cette fin
  4. Assurez-vous que les attributs de résolution DNS et de noms d'hôte DNS du cloud privé virtuel (VPC) sont activés comme expliqué ici


ÉTAPE : Créer des adresses IP

Créez 4 (QUATRE) adresses IP élastiques distinctes (« Réseau et sécurité » - > « Adresses IP élastiques » - > « Allouer une adresse IP élastique »)

ÉTAPE : Créer un groupe de sécurité

Naviguez vers « Groupes de sécurité » - > « Créer un groupe de sécurité »

  1. Autorisez les ports « TCP personnalisés » suivants pour les « règles entrantes » : 4007, 4010, 4011, 9443, 443, 22, 80, 61616, 27017, 7443 depuis « N'importe où »
  2. Autorisez « N'importe où » pour le type « Tout TCP » pour les sorties et associez-le à votre VPC :
  3. Enregistrez avec « Créer un groupe de sécurité »

Module

Ports externes

Ports internes

serveradmin

22,9443


serveur Web

22,80,443

7443

adaptateur

22,80,443,4010,4011

7443

mongodb

22

27017

activemq

22

61616

icp

22,4007




ÉTAPE : Spouler les instances de VM

Créez une VM à partir de la dernière image (« AMIs » - > « Images »). 

Trouvez l'image FileFlex

Si vous suivez l'étape 6.1 pour associer l'id AWS dans le portail des partenaires de FileFlex Enterprise, vous trouverez l'image FileFlex en sélectionnant Images privées dans le filtre

Pour démarrer le processus, sélectionnez l'image et cliquez sur « Lancer »


Déployer la VM

Choisissez un type d'instance avec au minimum 4 Go de mémoire et 2 cœurs. C'est la base de référence :



Choisissez le nombre d'instances

Tapez 4 pour provisionner le nombre d'instances dont nous avons besoin.

Cliquez jusqu'à la page Configurer le groupe de sécurité

Assigner un groupe de sécurité

Naviguez vers l'onglet « 6. Configurer le groupe de sécurité », 

  1. Cliquez sur « Sélectionner un groupe de sécurité existant » dans « Assigner un groupe de sécurité » et
  2. Cliquez sur le groupe de sécurité que vous avez précédemment créé pour le sélectionner
  3. Cliquez sur « Examiner et lancer » pour procéder à l'examen
  4. Vérifiez que tout est comme il se doit et cliquez sur le bouton bleu « Lancer » situé en bas à droite.

Créez une paire de clés pour accéder aux instances de serveur

La boîte de dialogue de spécification de la paire de clés s'affiche ensuite

  1. Si vous avez déjà une paire de clés, vous pouvez la sélectionner dans la liste. Si vous ne le faites pas, vous devrez en créer une pour pouvoir accéder à votre instance. Choisissez « Créer une nouvelle paire de clés » dans la première liste déroulante et saisissez un nom pour la paire de clés.
  2. Cliquez sur le bouton bleu « Lancer les instances » en bas à droite de la boîte de dialogue pour continuer.


Cliquez sur le bouton bleu « Afficher les instances » en bas à droite. Vous verrez une liste de votre instance en cours d'exécution, y compris l'instance nouvellement spoulée


ÉTAPE : Attribuer des adresses IP élastiques aux instances

  1. Allez dans « Réseau et sécurité » - > « IP élastiques »
  2. Sélectionnez chacune des adresses IP élastiques que vous avez déjà allouées et associez-les aux instances en cours d'exécution. REMARQUE : vous le ferez quatre fois, une adresse IP par instance


ÉTAPE : Copier les adresses IP privées

  1. Revenez maintenant aux instances en cours d'exécution
  2. Sélectionnez l'« ID d'instance » de chaque machine (une par une)
  3. Copiez et prenez note des adresses IP privées :


ÉTAPE : Créer des zones hébergées

Route 53 est le service DNS d'Amazon qui sera utilisé pour acheminer le trafic en interne.

  1. Allez à Route53 - > « Zones hébergées » (https://console.aws.amazon.com/route53/v2/hostedzones)
  2. Sélectionnez « Créer une zone hébergée » sur le côté droit de la page pour créer une zone DNS inversée
    a. Pour le « Nom de domaine », ajoutez l'enregistrement correspondant XXX.in-addr.arpa , en fonction de votre configuration. Nous avons utilisé 31.172.in-addr.arpa
    b. Dans « Type », sélectionnez « Zone hébergée privée »
    c. Sélectionnez votre région et votre ID de VPC dans « VPC à associer à la zone hébergée ». Confirmez avec « Créer une zone hébergée »
Info
titlePlus d'infos

Plus d'informations sur les zones DNS inversées peuvent être trouvées ici


ÉTAPE : Créer un enregistrement PTR (zones inversées) par instance

Dans les « Détails de la zone hébergée », sélectionnez « Créer un enregistrement » :

À partir de la fenêtre « Création rapide d'un enregistrement », ajoutez un enregistrement pour chacun des nœuds en utilisant les adresses IP privées copiées ci-dessus.

Remplissez les détails comme suit :
1. L'adresse IP inverse pour « Nom de l'enregistrement »
2. PTR pour « Type d'enregistrement »
3. Le nom d'hôte réel pour la « Valeur »

4. Cliquez sur Créer un enregistrement

5. Ajoutez un enregistrement PTR pour chacune des machines (total de 4)

Au final, la zone hébergée doit ressembler à ce qui suit :

Ici, nous avons créé un enregistrement PTR par machine


ÉTAPE : Créer des zones avancées par instance

  1. Revenez à « Route53 » - > « Zones hébergées » afin de créer une zone avancée
    a. Utilisez le domaine principal que vous utiliserez pour « Nom de domaine »
    b. À nouveau, sélectionnez « Zone hébergée privée » comme type
    c. Sélectionnez la « Région » et l'« ID de VPC » appropriés
    Confirmez en cliquant sur « Créer une zone hébergée »
  2. Sélectionnez « Créer un enregistrement » pour chacune des 4 machines
    a. Ajoutez le sous-domaine pour « Nom de l'enregistrement »
    b. Sélectionnez « A » comme « Type d'enregistrement »
    c. Entrez l'adresse IP interne pour « Valeur »
  3. Ajoutez un enregistrement A pour chacune des machines (total de 4). Au final, la zone hébergée devrait ressembler à :


ÉTAPE : Configurer le DNS de domaine externe

Selon l'endroit où vous hébergez votre domaine existant, il est temps de configurer les enregistrements A pointant vers les adresses IP externes attribuées aux instances.

  1. Ajoutez un enregistrement A pour chaque instance
  2. Utilisez une adresse IP comme configuré ci-dessus en vous assurant que vous utilisez la bonne adresse IP pour chaque instance

Par exemple, les enregistrements A pour notre cas de configuration de domaine ressemblent à ceci sur le gestionnaire DNS de Network Solutions :

ÉTAPE : Démarrez l'installation du serveur FileFlex principal

Connectez-vous avec SSH à chacune des machines et exécutez le processus de configuration. 

Connectez-vous à l'aide du mot de passe par défaut (vous pourrez le modifier ultérieurement dans la configuration)

Nom d'utilisateur : sadmin

Mot de passe : Q!w2e3r4

Dès que vous vous connectez à la VM, l'écran suivant s'affiche.

Info
titleREMARQUE

Veuillez vous assurer que la machine principale est configurée en premier.


ÉTAPE 1 : Choisissez la langue de votre choix 


ÉTAPE 2 : Choisissez « Machine principale ou simple »


ÉTAPE 3 : Choisissez un mot de passe pour le compte sadmin


ÉTAPE 4 : IGNOREZ cette étape


ÉTAPE 5 : Saisissez le domaine principal qui sera utilisé pour accéder au serveur FileFlex par les utilisateurs finaux


ÉTAPE 6 : PATIENTEZ !!!!!! Cela prendra un certain temps...


Le serveur PRINCIPAL est prêt à être configuré. Cliquez sur « Redémarrer »


ÉTAPE : Commencez à installer le serveur FileFlex secondaire

SSH dans les machines secondaires dans l'ordre pour commencer à les ajouter au cluster, c'est-à-dire la VM #2, puis #3, puis #4 

Connectez-vous à l'aide du mot de passe par défaut (vous pourrez le modifier ultérieurement dans la configuration)

Nom d'utilisateur : sadmin

Mot de passe : Q!w2e3r4

Info
titleREMARQUE

La séquence est importante pour ne pas causer de confusion. La machine principale était #1

Répétez ces étapes pour ajouter ou remplacer une machine secondaire dans le cluster.

Vous verrez le même écran initial lors du premier accès

ÉTAPE 1 : Choisissez la langue de votre choix


ÉTAPE 2 : Choisissez l'option Machine secondaire dans un cluster


ÉTAPE 3 : Choisissez un mot de passe pour sadmin 


ÉTAPE 4 : IGNOREZ cette étape


ÉTAPE 5 : Saisissez le domaine secondaire approprié pour la machine désignée ici


ÉTAPE 6 : Maintenant, la VM est prête à être ajoutée au cluster. Il est temps d'ouvrir votre navigateur Web pour accéder à la machine principale

Info
titleREMARQUE

Nous avons simplifié l'ajout de machines au cluster. À ce stade, cette machine attend la connexion du serveur principal. 

Le reste sera pris en charge automatiquement.



REMARQUE : SI cela se produit et que le minuteur expire après 30 minutes, exécutez la commande suivante

Code Block
languagebash
sudo /opt/ffs/setup.sh


ÉTAPE : Commencez à configurer le cluster de serveurs FileFlex

ÉTAPE 1 : Vous pouvez maintenant accéder à cette machine en utilisant le nom d'hôte que vous avez configuré pour le serveur principal à : 

EXEMPLE : https://fileflex.orionwebware.net:9443 

Info
titleREMARQUE

Selon le navigateur que vous utilisez, vous verrez ce message d'avertissement. 

Comme nous n'avons pas encore installé de certificat SSL valide, cet avertissement est logique. Vous pouvez l'ignorer et accéder au serveur.



ÉTAPE 2 : Connectez-vous à l'aide du nom d'utilisateur et du mot de passe sadmin que vous avez utilisés pour la machine principale.


ÉTAPE 3 : Lorsque vous y êtes invité, saisissez l'ID de déploiement FileFlex et les clés de déploiement FileFlex puis cliquez sur « Vérifier » 

Info
titleREMARQUE

Vous trouverez vos clés dans le portail de FileFlex Enterprise >> Ajouter/Gérer des déploiements


ÉTAPE 4 : Choisissez l'option « Configurer un cluster haute disponibilité » et cliquez sur Suivant


ÉTAPE 5 : Configurez vos identifiants d'administrateur global pour la console de gestion des politiques et des utilisateurs


ÉTAPE 6 : Presque prêt à commencer à ajouter des machines.


ÉTAPE 7 : Cliquez sur OK pour commencer

Quelques minutes seront nécessaires pour configurer le serveur principal


ÉTAPE 8 : Lorsque vous y êtes invité, saisissez le nom d'hôte de la machine qui attend d'être ajoutée au cluster et son mot de passe sadmin 

REMARQUE : Le serveur principal configurera la confiance avec les serveurs secondaires et attribuera automatiquement leurs rôles dans le cluster.

REMARQUE : L'écran se mettra à jour sur la machine secondaire comme suit


ÉTAPE 9 : Et le serveur principal continue la configuration en attendant les prochains serveurs secondaires


ÉTAPE 10 : Suivez les invites OK et Oui



ÉTAPE 11 : Une fois la configuration terminée, certains services peuvent être arrêtés. Sélectionnez-les simplement et cliquez sur l'icône « Démarrer » pour les démarrer.

Info
titleREMARQUE

Le serveur ICP nécessitera tout d'abord l'installation d'un certificat SSL, alors ignorez l'avertissement indiquant qu'il est arrêté.



ÉTAPE 12 : Finalisez la configuration dans le panneau de configuration

  1. Configurez le serveur de messagerie utilisé pour envoyer des notifications, etc.
  2. Configurez le certificat SSL (AIDE sur l'installation automatisée du certificat SSL)





Sv translation
languageit

Table of Contents
stylesquare

Componenti della piattaforma FileFlex Enterprise

La piattaforma FileFlex Enterprise è costituita da 3 componenti principali.

  1. Il server di FileFlex Enterprise
  2. Il Connector Agent dati di FileFlex
  3. L'applicazione FileFlex per l'utente finale

Introduzione

Il server di FileFlex Enterprise può essere implementato come cluster con un requisito minimo di 4 macchine virtuali. Ciò consente alle aziende con un elevato volume di utenti che accedono al sistema di pianificare e implementare una soluzione FileFlex ad alta disponibilità. 

Scopo

Lo scopo di questo documento è quello di rendere altamente disponibile il componente enterprise server della piattaforma. 

Pianificazione e Requisiti

L’implementazione del cluster richiede un certo lavoro di preparazione. Di seguito sono elencati alcuni dei requisiti principali; il provisioning effettivo di questi elementi necessari avverrà in sequenza durante l’implementazione del cluster. 

Panel
bgColor#fff
titleRequisiti per la configurazione
  1. Configurazione nome dominio per 4 VM
    1. Esempio:
      1. VM#1 = fileflex.example.com 
      2. Si tratta del dominio principale/primario utilizzato dagli utenti per accedere a FileFlex Enterprise
    2. Esempio: Domini secondari che servono il traffico degli utenti
      1. VM#2 = ff2.example.com
      2. VM#3 = ff3.example.com
      3. VM#4 = ff4.example.com
  2. Indirizzi IP esterni/pubblici = 4 (uno per VM)
  3. Certificato SSL Wild Card (può essere acquistato all'interno dell'installazione del server una volta che la macchina primaria è stata configurata)

Nota sulle fasi di installazione

Una volta pianificati i nomi di dominio, si può procedere con le fasi successive dell'installazione.

Seguiremo una sequenza logica di fasi, ma in base ai fornitori di servizi cloud (CSP) come Azure, AWS Google Cloud ecc. la sequenza di fasi avrà fasi aggiuntive nelle rispettive sezioni.

  1. Fornitura IP
  2. Fornitura VM
  3. Configurazione DNS


Info
titleNOTA

Questo manuale presuppone che l'utente abbia familiarità con le fasi di installazione di una singola VM di FileFlex. 

In caso contrario, rivedere le fasi di installazione di un singolo server per comprendere i requisiti di base. 

È possibile scaricare la Guida all'installazione del server FileFlex qui: https://enport.fileflex.com/installing-enterprise-server/?platform=Other


Installazione di un cluster ad alta disponibilità su AWS

Accedere al portale AWS all’indirizzo https://console.aws.amazon.com/

FASE: Collegare l'account AWS

NOTA: se non si è ancora collegato l'ID dell'account AWS nel portale FileFlex Enterprise, farlo ora. In questo modo è possibile vedere l'immagine della VM di FileFlex nell'elenco delle AMI (Amazon Machine Image).

  1. accedere al portale: https://enport.fileflex.com/msp-control-panel/
  2. Passare alle implementazioni
    1. Fare clic su Connetti account servizi web     
    2. Trova il tuo ID AWS qui:
    3. Immettere l'ID Amazon e fare clic su Consenti
    4. Attendere la conferma dell'autorizzazione


FASE: Verifica e abilitazione degli attributi DNS

  1. Accedere a: https://console.aws.amazon.com/vpc/
  2. Spostarsi su "Il tuo VPC" dal menu di sinistra.
  3. È possibile utilizzare il VPC esistente o crearne uno separato per lo scopo.
  4. Verificare che gli attributi Risoluzione DNS e Nomi host DNS del cloud privato virtuale (VPC) siano abilitati come spiegato qui


FASE: Crea IP

Creare 4 (QUATTRO) IP elastici separati ("Rete e sicurezza" -> "IP elastici" -> "Allocare indirizzo IP elastico")

FASE: Crea gruppo di protezione

Andare in "Gruppi di protezione" -> "Crea gruppo di protezione"

  1. Consentire le seguenti porte "TCP personalizzate" per le "regole in entrata": 4007, 4010, 4011, 9443, 443, 22, 80, 61616, 27017, 7443 da "Ovunque".
  2. Consentire il tipo "Tutti i TCP" a "Ovunque" per l'uscita e associarlo alla VPC:
  3. Salvare con "Crea gruppo di protezione"

Modulo

Porte esterne

Porte interne

serveradmin

22.9443


webserver

22,80,443

7443

adattatore

22,80,443,4010,4011

7443

mongodb

22

27017

activemq

22

61616

pki

22,4007




FASE: Spool up delle istanze VM

Creare una VM dall'ultima immagine ("AMI" -> "Immagini"). 

Trovare l'immagine FileFlex

Se si è seguita la FASE 6.1 per collegare l'id AWS nel portale per i partner di FileFlex Enterprise, allora si troverà l'immagine FileFlex selezionando Immagini private nel filtro

Per avviare il processo, selezionare l'immagine e fare clic su "Avvia"


Implementare la VM

Scegliere un tipo di istanza con almeno 4GiB di memoria e 2 core, questa è la base di partenza:



Scegliere il numero di istanze

Digitare 4 per fornire il numero di istanze necessarie.

Fare clic fino a Configurazione gruppo di protezione

Assegnare gruppo di protezione

Accedere alla scheda "6. Configurazione gruppo di protezione", 

  1. Fare clic su "Seleziona un gruppo di protezione esistente" da "Assegnazione di un gruppo di protezione" e
  2. Fare clic sul gruppo di protezione creato in precedenza per selezionarlo
  3. Fare clic su "Revisione e avvio" per procedere con la revisione
  4. Verificare che tutto sia a posto e fare clic sul pulsante blu "Avvia" in basso a destra.

Creare una coppia di chiavi per accedere alle istanze del server

Verrà presentata la successiva finestra di dialogo sulle specifiche della coppia di chiavi

  1. Se si dispone già di una coppia di chiavi, è possibile selezionarla dall'elenco. In caso contrario, sarà necessario crearne una per poter accedere alla propria istanza. Scegliere "Crea una nuova coppia di chiavi" dal primo menu a tendina e inserire un nome per la coppia di chiavi.
  2. Per procedere, fare clic sul pulsante blu "Avvia istanze" in basso a destra della finestra di dialogo.


Fare clic sul pulsante blu "Visualizza istanze" in basso a destra. Verrà visualizzato un elenco delle istanze in esecuzione, compresa l'istanza di spooling appena avviata


FASE: Assegnare IP elastici alle istanze

  1. Andare su "Rete e sicurezza" -> "IP elastici"
  2. Selezionare ciascuno degli IP elastici già assegnati e associarli alle istanze in esecuzione. NOTA: questa operazione verrà eseguita quattro volte, un IP per istanza.


FASE: Copiare gli IP privati

  1. Ora torniamo alle istanze in esecuzione
  2. Selezionare l'"ID istanza" di ciascuna macchina (una per una)
  3. Copiare e annotare da qualche parte gli indirizzi IP privati:


FASE: Creazione di zone host

Route 53 è il servizio DNS di Amazon che verrà utilizzato per instradare il traffico interno.

  1. Andare a Route53 -> "Zona host" (https://console.aws.amazon.com/route53/v2/hostedzones)
  2. Selezionare "Crea zona host" sul lato destro della pagina per creare una zona DNS inversa
    a. Per il "Nome di dominio" aggiungere il record corrispondente XXX.in-addr.arpa , a seconda della configurazione. noi abbiamo usato 31.172.in-addr.arpa
    b. Selezionare "Zona host privata" per "Tipo"
    c. Selezionare la regione e l'ID VPC da "VPC da associare alla zona host". Confermare con "Creazione di zona hostata"
Info
titleUlteriori informazioni

Per ulteriori informazioni sulle zone DNS inverse, vedere qui


FASE: Creare record PTR (zone invertite) per istanza

Da "Dettagli zona host" selezionare "Crea record":

Dalla finestra "Creazione rapida di un record" aggiungere un record per ciascuno dei nodi utilizzando gli IP privati copiati in precedenza.

Compilare i dettagli come segue:
1. L'IP inverso per "Nome del record"
2. PTR come "Tipo di record"
3. Il nome dell'host effettivo per il "Valore"

4. Fare clic su crea record

5. Aggiungere un record PTR per ciascuna macchina (per un totale di 4).

Alla fine, la zona host dovrebbe avere un aspetto simile al seguente:

Qui abbiamo creato un record PTR per macchina


FASE: Creare zone di inoltro per istanza

  1. Tornare a "Route53" -> "Zone host" per creare una zona zona di inoltro
    a. Utilizzare il dominio principale che si intende utilizzare per "Nome di dominio"
    b. Usare di nuovo "Zona host privata" come tipo
    c. Selezionare la "Regione" e l'"ID VPC" appropriati
    Confermare con "Creazione di zona host"
  2. Selezionare "Crea record" per ognuna delle 4 macchine
    a. Aggiungere il sottodominio per "Nome record"
    b. Selezionare "A" come "Tipo di record"
    c. Inserire l'IP interno per "Valore"
  3. Aggiungere un record A per ciascuna macchina (per un totale di 4). Alla fine, la zona host dovrebbe avere un aspetto simile a:


FASE: Configurazione del DNS per un dominio esterno

A seconda di dove si ospita il dominio esistente, è il momento di configurare i record A che puntano agli IP esterni assegnati alle istanze.

  1. Aggiungere un record A per ciascuna istanza
  2. Utilizzare un IP come configurato in precedenza, assicurandosi di utilizzare l'IP corretto di ciascuna istanza.

Ad esempio, i record A per la configurazione del nostro dominio di esempio si presentano come segue nel gestore DNS di Network Solutions:

FASE: Avvio dell'installazione del server primario di FileFlex

Collegarsi con ssh a ciascuna macchina ed eseguire il processo di configurazione. 

Effettuare il login utilizzando la password predefinita (verrà richiesto di cambiarla più avanti nella configurazione)

Nome utente: sadmin

Password: Q!w2e3r4

Non appena si accede alla VM, viene visualizzata la seguente schermata.

Info
titleNOTA

Assicurarsi che la macchina primaria sia impostata per prima.


FASE 1 Scegliere la lingua desiderata 


FASE 2 Scegliere "Macchina primaria o singola"


FASE 3 Scegliere una password per l'account sadmin


FASE 4 IGNORARE questa fase


FASE 5 Immettere il dominio primario che verrà utilizzato dagli utenti finali per accedere al server di FileFlex


FASE 6 ASPETTARE!!!!!! questo richiederà un po' di tempo.....


Il server PRIMARY è pronto per essere configurato. Fare clic su Riavvia


FASE: Avvio dell'installazione del server secondario di FileFlex

SSH nelle macchine secondarie in sequenza per iniziare ad aggiungerle al cluster, cioè Vm n.2, poi n.3 e poi n.4 

Effettuare il login utilizzando la password predefinita (verrà richiesto di cambiarla più avanti nella configurazione)

Nome utente: sadmin

Password: Q!w2e3r4

Info
titleNOTA

La sequenza è importante per non creare confusione. La macchina primaria era la n. 1

Ripetere questi passaggi per aggiungere o sostituire qualsiasi macchina secondaria nel cluster.

Al primo accesso viene visualizzata la stessa schermata iniziale

FASE 1 Scegliere la lingua desiderata


FASE 2 Scegliere l'opzione Macchina secondaria in un cluster


FASE 3 Scegliere una password per sadmin 


FASE 4 IGNORARE questa fase


FASE 5 Inserire qui il dominio secondario corretto per la macchina designata


FASE 6 Ora la VM è pronta per essere aggiunta al cluster, è il momento di aprire il browser web per accedere alla macchina primaria

Info
titleNOTA

Abbiamo reso molto semplice l'aggiunta di macchine al cluster; a questo punto questa macchina è in attesa di connessione dal server primario. 

Il resto sarà gestito automaticamente.



NOTA: SE ciò accade e il timer scade dopo 30 minuti, eseguire il seguente comando

Code Block
languagebash
sudo /opt/ffs/setup.sh


FASE: Avviare la configurazione del cluster di FileFlex Server

FASE 1 Ora è possibile accedere a questa macchina utilizzando l'hostname configurato per il server primario: 

ESEMPIO: https://fileflex.orionwebware.net:9443 

Info
titleNOTA

A seconda del browser utilizzato, verrà visualizzato questo messaggio di avviso. 

Poiché non abbiamo ancora installato un certificato SSL valido, questo avviso è logico e si può ignorare e procedere all'accesso al server.



FASE 2 Accedere utilizzando il nome utente e la password sadmin usati per il computer primario.


FASE 3 Viene richiesto di inserire l'ID di implementazione di FileFlex e le chiavi di installazione client FileFlex e di fare clic su Verifica 

Info
titleNOTA

Le chiavi si trovano nel Portale FileFlex Enterprise >> Aggiungi/Gestisci implementazioni


FASE 4 Scegliere l’opzione "Configura un cluster ad alta disponibilità" e fare clic su avanti


FASE 5 Impostare le credenziali di amministratore globale per la console di gestione dei criteri e degli utenti


FASE 6 Quasi pronti per iniziare ad aggiungere macchine.


FASE 7 Fare clic su OK per iniziare

La configurazione del server primario richiederà alcuni minuti.


FASE 8 Quando viene richiesto, inserire il nome host della macchina che si sta aggiungendo al cluster e la password sadmin per quella macchina. 

NOTA: il server primario configurerà la fiducia con i server secondari e assegnerà automaticamente i loro ruoli nel cluster.

NOTA: la schermata si aggiorna sul computer secondario come segue


FASE 9 E il server primario mantiene la configurazione in attesa dei successivi server secondari


FASE 10 Seguire le indicazioni Ok e Sì



FASE 11 Una volta completata la configurazione. Alcuni servizi potrebbero essere interrotti. È sufficiente selezionarli e fare clic sull'icona di avvio per avviarli.

Info
titleNOTA

Il server PKI richiede prima l'installazione di un certificato SSL, quindi bisogna ignorare l'avviso di interruzione.



FASE 12 Concludere la configurazione nel pannello di controllo

  1. Impostare il server di posta elettronica utilizzato per inviare notifiche ecc.
  2. Configurazione del certificato SSL (GUIDA su Installazione automatica del certificato SSL)