High Availability Pre-install Setup
The pre-install setup varies depending on the deployment option chosen. The details with respect to each option is provided below.
Deployment Options | Option 1 | Option 2 | Option 3 |
---|---|---|---|
Purplecube installation User Group | It is recommended to create a user group to include all the Purplecube installation users. Recommended: Purplecube | It is recommended to create a user group to include all the Purplecube installation users. Recommended: Purplecube | It is recommended to create a user group to include all the Purplecube installation users. Recommended: Purplecube |
Controller Installation User | Create users with same user name and UID on both the servers. This is required to avoid permission issues while writing on shared location. Recommended: dictrl | Create users with same user name and UID on both the servers. This is required to avoid permission issues while writing on shared location. Recommended: dictrl | Create two different users. Recommended: dictrl1, dictrl2 |
Controller User home directory | On both servers create home directory with same fully qualified path Recommended: /app/dictrl | The home directory for both users will be same and it would be location on common mount point. It is required that fully qualified path from both servers are same. | Assign different home directory for the user. Recommended: For dictrl1 - /app/dictrl1 For dictrl2 - app/dictrl2 |
Default file permission | Set default file permission mask in bash profile for the Controller user umask 007 | Set default file permission mask in bash profile for the Controller user umask 007 | Set default file permission mask in bash profile for the Controller user umask 007 |
PostgreSQL Installation User | Not applicable (external PostgreSQL database is used) | Not applicable (embedded metadata is used) | It is preferred to install PostgreSQL under root user. Alternately, create a user for PostgreSQL installation. Recommended: dipostgres |
Common Application directory | If common mount is available then create application directory on it and point the Purplecube application folder to it. Recommended: /app/diapps | Not applicable | Create common application directory and point the Purplecube application folder to it. Recommended: /app/diapps |
Ports | It is recommended to use same set of ports required for Purplecube communication on both servers. Recommended: 9000 - 9010 | Same set of ports required for Purplecube communication should be used on both servers. Recommended: 9000 - 9010 | Different series of ports should be used for ports required for Purplecube communication. Recommended: For dictrl1 - 9000 - 9010 For dictrl2 - 9100 - 9110 |