ubuntuusers.de

Linux Cluster

Status: Ungelöst | Ubuntu-Version: Server 20.04 (Focal Fossa)
Antworten |

ralle2k

Anmeldungsdatum:
11. Mai 2014

Beiträge: Zähle...

Hallo zusammen,

ich bin dabei einen Cluster mittels PCS aufzusetzen und habe die üblichen Anleitungen befolgt. Das auth command funktioniert noch, aber beim setup felt die folgende Datei oder wird/wurde nicht erstellt.

benutzte Anleitung → https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html/Clusters_from_Scratch/_configure_corosync.html

pcs cluster setup mycluster cn1 cn2
Warning: Unable to read the known-hosts file: No such file or directory: '/var/lib/pcsd/known-hosts'
Error: Hosts 'cn1', 'cn2' are not known to pcs, try to authenticate the hosts using 'pcs host auth cn1 cn2' command
Error: None of hosts is known to pcs.
Error: At least 1 and at most 8 addresses must be specified for a node, 0 address specified for node 'cn1'
Error: At least 1 and at most 8 addresses must be specified for a node, 0 address specified for node 'cn2'
Error: Errors have occurred, therefore pcs is unable to continue

Jemans eine Idee? Finde nichts was hilft und wundere mich, warum die Datei nicht existiert. Namensauflösung usw.. ist alles ok.

Danke

ralle2k

(Themenstarter)

Anmeldungsdatum:
11. Mai 2014

Beiträge: 6

Der Vollständigkeit halber noch der funktionierende auth command

root@cn1:/var/lib/pcsd# pcs host auth -u hacluster -p xxx cn1 cn2
cn1: Authorized
cn2: Authorized
Antworten |