Preparing for installation

Complete the following steps before you install Prescriptive Quality for Manufacturing Private.

Procedure

  1. On the system on which you will install Prescriptive Quality for Manufacturing Private, open the /etc/hosts file.
  2. Ensure that your Hortonworks Data Platform nodes are listed in the file, for example:
    127.0.0.1 localhost.localdomain localhost
    ##.##.##.## hdpmgmt01.domain.com hdpmgmt01
    ##.##.##.## hdpmgmt02.domain.com hdpmgmt02
    ##.##.##.## hdpslave01.domain.com hdpslave01
    ##.##.##.## hdpslave02.domain.com hdpslave02
    ##.##.##.## hdpslave03.domain.com hdpslave03
  3. Save and close the file.
  4. Access the Ambari web user interface from a web browser by using the server name (the fully qualified domain name) on which you installed the Ambari server, and port 8080. For example, enter the following string in your browser:
    HTTP://node1.example.com:8080
  5. Select Add New Hosts and go to the Install Options page. In Target Hosts, list the node where you will install Prescriptive Quality for Manufacturing Private.
  6. In Host Registration Information, select one of the following options:
    • Provide your SSH Private Key to automatically register the host:

      Click SSH Private Key. The private key file is /root/.ssh/id_rsa, if the root user installed the Ambari server. If you installed as a non-root user, then the default private key is in the .ssh directory in the non-root user's home directory.

      Click Register and Confirm.

    • Register the host manually and do not use SSH.

  7. On each Hortonworks Data Platform management node and slave node, create OS-level users and groups by using the following commands:

    groupadd pq
    groupadd qews
    useradd -g pq -s /bin/bash pq
    echo "pq:pw@pq" | chpasswd
    useradd -g qews -s /bin/bash qews
    echo "qews:pw@qews" | chpasswd
  8. If Kerberos is enabled in the Hortonworks Data Platform cluster, you must create a principal for Prescriptive Quality for Manufacturing Private in the Kerberos Key Distribution Center (KDC), generate a related keytab file, and distribute the keytab file to all of Hortonworks Data Platform cluster nodes and the Prescriptive Quality for Manufacturing Private node.
    1. On the node where the KDC is installed, run the following commands:
      kadmin.local
      kadmin.local: addprinc -pw pw@pq pq
      kadmin.local: ktadd -k /etc/security/keytabs/pq.keytab -norandkey pq
      kadmin.local: addprinc -pw pw@qews qews
      kadmin.local: ktadd -k /etc/security/keytabs/qews.keytab -norandkey qews
      kadmin.local: exit
    2. Copy the /etc/security/keytabs/pq.keytab file and the /etc/security/keytabs/qews.keytab file to the /etc/security/keytabs directory on all of Hortonworks Data Platform cluster nodes and the Prescriptive Quality for Manufacturing Private node.