Preparing for installation
Complete the following steps before you install Prescriptive Quality for Manufacturing Private.
Procedure
- On the system on which you will install Prescriptive Quality for Manufacturing Private, open the /etc/hosts file.
- 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 - Save and close the file.
- 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 - 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.
- 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.
- 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 - 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.
- 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 - 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.
- On the node where the KDC is installed, run the following commands:
Parent topic: Prerequisites and installation preparation