Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Installing IP/MPLSView in a Distributed Environment

 

This section describes how to install IP/MPLSView on your application servers and database servers.

Before you install IP/MPLSView, make sure your configuration meets all of the following prerequisites:

  • In a distributed environment where the database server and the application server are running on separate servers, follow the steps in Installing the Linux Operating System for IP/MPLSView High Availability and Configuring the Linux Operating System for IP/MPLSView High Availability for both the database server and the application server.

  • Apply all required patches for the network hardware (servers, HBAs, and storage) to the operating system.

  • Assign the same login ID and password for both the root user and the wandl user on all primary and backup servers.

  • Enable SSH login services on the servers.

  • Ensure that you can use SSH to log in to the application servers from the database servers without having to specify a password.

  • Use the yum –y update command to ensure that all servers have the same patch level installed.

Installing IP/MPLSView on Distributed Application and Database Servers

To install IP/MPLSView on the primary application and primary database servers:

  1. Make sure the cluster works with IP/GFS2 share. Do this by first failing back and forth to test the Linux high availability performance and reliability.
  2. Always install the application into a new application directory such as /home/wandl/ipmplsview_02_05_15/ and place the data into the shared storage GFS2 disk. For example: /data/wandldata/.
  3. Select Node 2 and click Leave Cluster.
    Figure 1: Join and Leave Cluster Selections
    Join and Leave Cluster Selections
  4. On Node1, start Application-SG with disk and VIP resources enabled only.
  5. Install the application on the first node from the server directory in the installation package. Run the install script as you do for a standard IP/MPLSView installation without high availability support. Do not start IP/MPLSView.
  6. Select Node1 and click Leave Cluster.
  7. Select Node 2 and click Join Cluster.
  8. On Node2, start the Application-SG with the disk and VIP resources enabled only.
  9. Install the application on the second node from the server directory in the installation package. Run the install script as you do for a standard IP/MPLSView installation without high availability support. Do not start IP/MPLSView.
  10. Enable a script resource in the Application-SG Service Group.
  11. Start on either node (this can take a while once the application is added).
  12. To test the installation, use the following command on both servers to verify how long the processes take to bring down and then restore and compare the results:
    #while true; do /u/wandl/bin/status_mplsview; sleep 5; done
  13. Repeat the installation on the backup application server and backup database server.

    Keep the following guidelines in mind when installing IP/MPLSView on your application and database servers:

    • Store the data in the /u/wandl/data directory in an external storage device that is accessible to both the primary and backup application and database servers.

    • When you configure the IP address settings, change the following parameters to the shared IP address, also known as the virtual IP address (VIP), of the application server to ensure that switchovers on the server do not affect the client application.

      • Server IP—Change to the shared IP address.

      • Webserver IP—Change to the shared IP address if you are in a distributed environment and using separate application and database servers.

      • Mongo DB—Used for the application server only.

      • Remote Database—Change to the shared IP address if you are using a remote database not hosted by the application server.

The following is an example of the installation script for a typical IP/MPLSView installation.

[root@db1-lha server]# ./install.sh