Psc Ubuntu 16.04

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Install

  • apt-get update
  • apt-get upgrade
  • apt-get install pacemaker corosync pcs
  • gem install orderedhash

Modify

  • sed -i.bak -e "/Host.*=>/s/::/*/" -e "/BindAddress.*=>/s/::/nil/" /usr/share/pcsd/ssl.rb
  • /usr/lib/python2.7/dist-packages/pcs/cluster.py

Zeile 1699

 os.system("find /var/lib -path '/var/lib/lxcfs' -prune -o -name '"+name+"' -exec rm -f \{\} \;") [Unbedingt das Leerzeichen mit kopieren]
                 #os.system("find /var/lib -name '"+name+"' -exec rm -f \{\} \;")

Create some Dirs

  • mkdir -p 777 /var/log/cluster
  • mkdir /etc/corosync/uidgid.d/