Product SiteDocumentation Site

4.2.2. Setup Pacemaker Remote

On the HOST machine run these commands to generate an authkey and copy it to the /etc/pacemaker folder on both the host and guest.
# mkdir /etc/pacemaker
# dd if=/dev/urandom of=/etc/pacemaker/authkey bs=4096 count=1
# scp -r /etc/pacemaker root@
Now on the GUEST install pacemaker-remote package and enable the daemon to run at startup. In the commands below you will notice the pacemaker and pacemaker_remote packages are being installed. The pacemaker package is not required. The only reason it is being installed for this tutorial is because it contains the a Dummy resource agent we will be using later on to test the remote-node.
# yum install -y pacemaker pacemaker-remote resource-agents
# systemctl enable pacemaker_remote.service
Now start pacemaker_remote on the guest and verify the start was successful.
# systemctl start pacemaker_remote.service

# systemctl status pacemaker_remote

  pacemaker_remote.service - Pacemaker Remote Service
          Loaded: loaded (/usr/lib/systemd/system/pacemaker_remote.service; enabled)
          Active: active (running) since Thu 2013-03-14 18:24:04 EDT; 2min 8s ago
        Main PID: 1233 (pacemaker_remot)
          CGroup: name=systemd:/system/pacemaker_remote.service
                  └─1233 /usr/sbin/pacemaker_remoted

  Mar 14 18:24:04 guest1 systemd[1]: Starting Pacemaker Remote Service...
  Mar 14 18:24:04 guest1 systemd[1]: Started Pacemaker Remote Service.
  Mar 14 18:24:04 guest1 pacemaker_remoted[1233]: notice: lrmd_init_remote_tls_server: Starting a tls listener on port 3121.