-
Notifications
You must be signed in to change notification settings - Fork 3
Clustering 4.3.1 with CM
Mustafa Baser edited this page Mar 11, 2022
·
5 revisions
Add ip/host mappings to /etc/hosts
if no DNS
Note: For AWS use internal hostname and ip address for nodes, e.g., example ip-172-31-21-165.us-west-2.compute.internal
Generate key and pubkey
ssh-keygen -t rsa -b 4096 -m PEM
cat /root/.ssh/id_rsa.pub
Update repository apt update
write pubkey id_rsa.pub
to /root/.ssh/authorized_keys
echo "ssh-rsa AAAA....." > /root/.ssh/authorized_keys
Check if you can reach all nodes vi ssh
ssh root@<node1_hostname>
ssh root@<node2_hostname>
ssh root@<ngingx_hostname>
Install dependencies and CM
apt install -y python3-pip python3-dev libssl-dev libffi-dev git
apt install -y openjdk-11-jre-headless
apt install -y build-essential
pip3 install https://github.com/GluuFederation/cluster-mgr/archive/4.3.zip
start CM
clustermgr4-cli start
ssh -i /mnt/data/projects/qa_gluu_org.pem -L 5000:localhost:5000 ubuntu@<ip_of_cm>
Browse http://localhost:5000