PDFs

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Controller and Events Service must reside on the same local network and communicate by internal network. Do not deploy the cluster to nodes on different networks, whether relative to each other or to the Controller and the Platform Administration ApplicationEnterprise Console. When identifying cluster hosts in the configuration, you will need to use the internal DNS name or IP address of the host, not the externally routable DNS name. 

...

If a port on the Events Service node is blocked, the Events Service installation command will fail for the node and the Platform Administration Application Enterprise Console command output and logs will include an error message similar to the following: 

...

For Linux deployments, you will use the Platform Administration Application the Enterprise Console to deploy and manage the Events Service cluster. 

The Platform Administration Application Enterprise Console needs to be able to access each cluster machine using passwordless SSH for a non-embedded Events Service. Before starting, enable key-based SSH access as described here.

...

On the host machine, follow these steps:

  1. Log in to the Platform Administration Application Enterprise Console host machine or switch to the user you will use to perform the deployment:

    No Format
    su - $USER
  2. Create a directory for SSH artifacts (if it doesn't already exist) and set permissions on the directory, as follows:

    No Format
    mkdir -p ~/.ssh 
    chmod 700 ~/.ssh
  3. Change to the directory:

    No Format
    cd .ssh 
  4. Generate PEM public and private keys in RSA format:

    No Format
    ssh-keygen -t rsa -b 2048 -v 
  5. Enter a name for the file in which to save the key when prompted, such as appd-analytics.
  6. Rename the key file by adding the .pem extension:  

    No Format
    mv appd-analytics appd-analytics.pem

    You will later configure the path to it as the sshKeyFile setting in the Platform Administration Application Enterprise Console configuration file, as described in Deploying an Events Service Cluster

  7. Transfer a copy of the public key to the cluster machines. For example, you can use scp to perform the transfer as follows: 

    No Format
    scp ~/.ssh/myserver.pub host1:/tmp
    scp ~/.ssh/myserver.pub host2:/tmp
    scp ~/.ssh/myserver.pub host3:/tmp

    Continuing with the example, myserver should be appd-analytics.
    The first time you connect you may need to confirm the connection to add the cluster machine to the list of known hosts and enter the user's password. 

  8. On each cluster node (host1, host2, and host3), create the .ssh directory in the user home directory, if not already there, and add the public key you just copied as an authorized key:

    No Format
    cat /tmp/appd-analytics.pub >> .ssh/authorized_keys
    chmod 600 ~/.ssh/authorized_keys
  9. Test the configuration from the host machine by trying to log in to a cluster node by ssh:

    No Format
    ssh host1

    If unable to connect, make sure that the cluster machines have the openssh-server package installed and that you have modified the operating system firewall rules to accept SSH connections. If successful, you can use the Platform Administration Application Enterprise Console to deploy the platform.

 If you encounter the following error, use the instructions in this section to double check your passwordless SSH configuration:

...