Install Enterprise Edition Web Client

Before you begin

Note: Before installing the Plant Applications Enterprise Edition Web Client, ensure that you first perform the preinstallation tasks and then define your configuration in the silentinstaller.yml file. Once you are ready with the configuration you can start the installer. The silentinstaller.yml file can be found at: ~/your/path/plantapps-enterprise-webclient-<buildno>/silentinstaller.yml.

About this task

  • During the installation, the installer displays the installation tasks on the console and in a log file at ~/<Install file path>/plantapps-enterprise-webclient-<buildno>/log/ansible.log and ~/<Install file path>/plantapps-enterprise-webclient-<buildno>/log/sql_script.log.

Procedure

  1. From the ~/<Install file path>/plantapps-enterprise-webclient-<buildno> directory, update the silentinstaller.yml file by using a text editor. For example, $sudo nano silentinstaller.yml
  2. Using the text editor, update the following parameters in the silentinstaller.ymlfile by entering the values within the quotes ("")
    Note: Ensure that you:
    • Do not use short names for these parameters.
    • Use lower case when entering the server names.
    Parameter Description
    WEBCLIENT_SERVER: ""

    Enter the Linux node FQDN or hostname where you are going to install Plant Applications Enterprise Edition Web Client.

    For example, WEBCLIENT_SERVER: "linuxnode.digital.com"

    WEBCLIENT_SERVER_USERNAME: "" Enter the Linux node administrator account username. For example,

    WEBCLIENT_SERVER_USERNAME: "administrator"

    Note: Enter the Web Client Server user name. This field is required only during remote installation.
    WEBCLIENT_SERVER_PASSWORD: "" Enter the Linux node administrator account password.
    Note: Enter the Web Client Server password. This field is required only during remote installation.
    WEBCLIENT_INSTALLATION_PATH: "" Enter Web Client Installation path in which you want to install.

    For example,

    WEBCLIENT_INSTALLATION_PATH: "/home/administrator/install/"

    Note: If you are performing an upgrade, provide the absolute path of the directory in which Enterprise Edition Web Client was installed, and press Enter. Unless modified, the path appears as follows:

    /<buildpath>/PlantApplicationsDocker

    The path that you provide must be a valid one. The installer will not create the directories in the given path if they do not exist.

    DTR_URL: "" Enter the URL of your local Docker Registry that you created in Create and Configure Docker Registry.

    For example, DTR_URL:<IP address or hostname>:<port number>, where the default port number is 5000.

    For example, if you are using the GE repository, "registry.gear.ge.com/dig-plantapps".

    Note: If you are performing an upgrade, provide the Docker Registry URL that was used during the previous installation in the following format: <IP address or hostname>:<port number>.
    DTR_USERNAME: "" Enter the username that have access to the Docker Registry.
    Note: Enter none if using insecure registry.
    DTR_PASSWORD: "" Enter the password to the Docker Registry.
    Note: Enter none if using insecure registry.
    TARFILES_FOLDER_LOCATION: "" Enter the absolute path of the directory where the .tar files provided by GE are located. For example,

    TARFILES_FOLDER_LOCATION: "/plantapps-enterprise"

    If the .tar file located in a build folder under administrative account, then the path will be "administrator/build".
    WEBCLIENT_USERNAME: "" Enter the Plant Applications Web Client username to login into the application.

    For example, WEBCLIENT_USERNAME: "comxclient"

    WEBCLIENT_USERPASSWORD: "" Enter the Plant Applications Web Client password.
    PROFICY_AUTHENTICATION_SERVICE_ORIGIN: "" Enter the Proficy Authentication Server (UAA) hostname.
    PROFICY_AUTHENTICATION_SERVICE_PORT: "" Enter the Proficy Authentication Server port number. By default, the port number is 443.
    PROFICY_AUTHENTICATION_SERVICE_

    ADMIN_CLIENT_ID: ""

    Enter the admin Client ID to access the Proficy Authentication server instance.
    Note: The default username is admin.
    PROFICY_AUTHENTICATION_SERVICE_

    ADMIN_CLIENT_SECRET: ""

    Enter the Client Secret for the username you entered.
    PLANT_APPS_DB_SERVER: "" Enter the Plant Applications database server hostname that you want to connect with the Plant Applications Web Client.
    PLANT_APPS_DB_INSTANCE: "" Enter the name of the instance of the SQL server. You can leave this parameter empty if not using an instance.
    For example, PLANT_APPS_DB_INSTANCE: "sa"
    Note: Do not add a backslash (\) when entering the instance name.
    PLANT_APPS_DB_NAME: "" Enter the Plant Applications Database name.

    For example, PLANT_APPS_DB_NAME: "SOADB"

    PLANT_APPS_DB_USERNAME: "" Enter the username that has permissions to access the database you entered.
    PLANT_APPS_DB_PASSWORD: "" Enter the password for the username you entered.
    PLANT_APPS_MB_SERVER: "" Enter the host name or IP address of the Plant Applications Server.
    PLANT_APPS_MB_USERNAME: "" Enter the username that you set for Plant Applications Message Bridge during the Plant Applications Server installation.
    PLANT_APPS_MB_PASSWORD: "" Enter the password for the username you entered.
    COUCHDB_SERVER: "" Enter the Plant Applications CouchDB host name or IP address.
    COUCHDB_USERNAME: "" Enter the CouchDB username.
    COUCHDB_PASSWORD: "" Enter the CouchDB password.
    PLANT_APPS_API_CLIENT_ID Enter the user name that you want to use for accessing Plant Applications APIs.
    Note: It can be used to login to Swagger APIs. Default is 'hostname_mes'.
    PLANT_APPS_API_CLIENT_SECRET Enter the password.
    OPHUB_SERVER: "" Enter the hostname of Operations Hub server.
    OPHUB_SERVER_PORT: "" Enter the Operations Hub port number.

    For example, OPHUB_SERVER_PORT: "443"

    OPHUB_TENANT_USERNAME: "" Enter the tenant Hub username to access the Operations Hub server instance.

    For example, OPHUB_TENANT_USERNAME: "OphubAdmin".

    Note: The OPHUB_TENANT_USERNAME field is case sensitive. You must always enter the user name as OphubAdmin.
    OPHUB_TENANT_PASSWORD Enter the tenant Hub password.
    UPDATE_PASSWORDS:""

    This field must be set to true and should not be modified during the upgrade or clean installation.

    UPDATE_CERTS:""

    Default value is true. Set this to false if you want to use the OLD signed certificates during upgrade. If you do not set this to false, then:

    • The old signed certificates are replaced by the selfsigned certificates, and
    • You must run the certificate utility again to deploy the signed certificates.
    ENCRYPT_PASSWORDS: "" Set to true if you want to encrypt the password.

    For example, ENCRYPT_PASSWORDS: "false"

    SSL_CERT_PEM_PATH: ""

    Enter the path to the SSL certificate.

    For example, SSL_CERT_PEM_PATH: " /home/administrator/myca_certs/new_cert.pem"
    Note: Not required for Enterprise installation but is required only when applying the certificates using the utility.sh. Use this parameter only to replace the self-signed certificate with the trusted CA certificate.
    SSL_KEY_PEM_PATH: ""

    Enter the path where the valid CA key file is located.

    For example, SSL_KEY_PEM_PATH: "/home/administrator/myca_certs/new_key.pem"
    Note: Not required for Enterprise installation but is required only when applying the certificates using the utility.sh. Use this parameter only to replace the self-signed certificate with the trusted CA certificate.
    UAA_PEM_PATH: ""

    Enter the path where the valid UAA public key is located.

    For example, UAA_PEM_PATH: "/ home/administrator/myca_certs/new_uaa_cert.pem"
    Note: Not required for Enterprise installation but is required only when applying the certificates using the utility.sh. Use this parameter only to update the public keys of remote UAA services.
  3. Save the silentinstaller.yml file.
  4. Navigate to the installer folder and provide execute permission to the installer file by running following command.

    $ sudo chmod +x ./ setup.sh

  5. Depending on your deployment architecture, run one of the following commands to launch the installer:
    • If you want to run the Enterprise Edition Web Client Installer and install Enterprise Edition Web Client on a same Linux machine, navigate to your installer folder ~/your/path/plantapps-enterprise-webclient-<buildno> and run the following command at the terminal:

      $ sudo ./setup.sh

    • If you want to run the Enterprise Edition Web Client installer and install Enterprise Edition Web Client on a remote machine, run the following command at the terminal:

      $ sudo ./setup.sh -r

    The shell script setup.sh is launched, and Plant Application Web Client Installation console with a welcome message appears. If the installation is successful, the following message appears:

    • If the installer encounters any errors, the installation process stops at the failed task and details of the process are displayed both on the screen and in the log file at <installation path>/plantapps-enterprise-webclient-<buildno>/log/ansible.log of the installer directory.
    • Once the Web Client installation is complete, run the following two steps for configuring Message Bridge with Kafka details and import the Plant Applications into the Operations Hub.
  6. Run the Message Bridge Configuration Utility on the Plant Applications Server to update the Kafka details in the Message Bridge configuration.
  7. Once you have completed running Message Bridge Configuration, Verify the Installation if the Plant Applications Web Client applications are up and running.
  8. Access the Plant Applications REST APIs to access the REST APIs for Plant Applications Web Client.
  9. When installation is successful but posting apps into Operations Hub fail, then you must post the apps using utility. See Post Applications into Operations Hub Manually.