Installing Multi Server VERDE (RPM) 8.3.4 and Above with Postgres Database

Installing Multi Server VERDE (RPM) 8.3.4 and Above with Postgres Database

Product Line:  VERDE

***As A Reminder:  If you're planning to deploy VERDE using a clustered environment, for example: Cluster Master, Cluster Master Candidate, numerous VDI only servers then there are significant changes that need to be considered.

A database engineer familiar with Postgres installation and setup should be involved when deploying this type of environment.

It's highly recommended that Postgres be installed on a separate, dedicated server. This allows for the database to have it's own RAM and storage.

Furthermore, VERDE’s CM/CMC failover feature requires Postgres to be on a separate server. Shared storage is still required to support a VERDE clustered deployment.



Each server in the VERDE Cluster with exception of the Shared Storage Device needs to have the following installed:

Install the Centos 7 server as previously performed:

  • Burn Centos 7 Minimal to a CD/DVD or USB
    • Install the OS
    • Select your time zone
    • Enable the Network Interface
    • Modify Networking for Static or Manual IP
      • You can specify your Gateway IP
      • You can specify your DNS server IP
    • Use the entire storage area on the server
    • Create a root password
    • Allow a reboot and remove the CD/DVD or USB
On all servers EXCEPT for the server that will host the database (POSTGRES), perform the following (inside the quotes):
"
  • Create the following file via the vi command:
          vi /etc/security/limits.d/95-verde.conf
    Add the following lines of data:
    * - nproc -1
    * - nofile 65535

Run the following linux update.
    yum -y update


To Support Mounting Shared Storage:
 yum -y install nfs-utils nfs-utils-lib

"
On the server hosting POSTGRES, perform the following:

Run the following linux updates.
    yum -y update


NOW, this is where the database is installed.
      Access this article's attachment entitled install-postgresql.sh

SSH it to your Database server. 
      Once it copies, change it to an executable via the following command
            chmod a+x install-postgresql.sh 
     
      Run the install:
            ./install-postgresql.sh 

      The install will run and you'll see the following:
Running transaction
  Installing : pgdg-redhat-repo-42.0-32.noarch                                                                                                                                1/1
  Verifying  : pgdg-redhat-repo-42.0-32.noarch                                                                                                                                1/1

Installed:
  pgdg-redhat-repo.noarch 0:42.0-32

Complete!
Please enter the preferred posgresql version, or press Ctrl+C to exit
Supported versions [11|12|13|14|15]:

At this writing, our software is compatible with version 13.  Enter 13
The database installs then, you need to provide a password,  You'll see the following:


Enter a password... DON'T FORGET IT!  You'll need to enter it twice.
After entering the password twice, you'll see the following:
ALTER ROLE
Create a new DB that we will use for VERDE:
Enter a database name.  I'm typing in verde2


Then you're asked the IP to listen on.  Enter your DATABASE server's IP address.  Mine is 192.168.1.12
Then you're asked to set the IP range.  Mine is a class C so:   192.168.1.0/24

That part's done!

Back to the VERDE servers.  All Servers EXCEPT the server hosting the Database

Since this is a clustered VERDE environment, you now need to create the mount point.  Each of the VERDE servers have a userid of vb-verde.  Check to see that they all have the same numeric uid and gid.



You need to mount the /home/vb-verde directory of every VERDE server in the cluster so it shares the same mount point..  /home/vb-verde. 
An example of how important the shared mount point is:  Every server in the environment needs to know who the Cluster Master (a.k.a. boss) is.  That information is stored in the file /home/vb-verde/.verde-local/dbaddress

[root@localhost .verde-local]# pwd
/home/vb-verde/.verde-local
[root@localhost .verde-local]# cat dbaddress
WIN4_VERDE_CMADDR="192.168.1.12"
UUID=3f079c4a-96dc-420e-b843-d568b218f689
[root@localhost .verde-local]#



Here are some links that assist in creating your mount point.  There are hundreds of different shared storage devices, software and interfaces.  This results in the customer being responsible for ensuring this is create correctly.




Now, the Cluster Master and Cluster Master Candidates

You need to create a file on the VERDE Cluster Master and Cluster Master Candidate(s).  It needs to contain the settings you used to build the database.  The DB server's IP, the Port # (5432), the db name, userid, and the password.  Referring to my values in this document, I create a file entitled /tmp/dbsettings and input the values as follows:

vi /tmp/dbsettings


host = 192.168.1.12
port = 5432
dbname = verde2
dbuser = postgres
dbpass = pass



Now, export the file from the command line as follows:

export VERDE_DB_SETTINGS_FILE=/tmp/dbsettings

This file needs to be created on all Cluster Master and Cluster Master Candidates.

VERDE Install

Now, move your VERDE rpm's every VERDE server but NOT the database server and place them in the /root/ directory

And install the rpm's on the CM, CMC and VDI servers
                  yum -y install VERDE-*
      


Now, run the VERDE configuration as usual.

      /usr/lib/verde/bin/verde-config -i

Now, log into the Management Console (https://CM-IP-Address:8443/mc)