-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
draft setup xcat MN HA using shared data steps #6
Comments
This is my steps command list, it is not official doc now, will start official doc based on these content in next plan. Take nfs based shared data as an examplenfs server:c910f05c01bc06 10.5.106.1 configure primary and secondary xcat mnon nfs server, export /HA:[root@c910f05c01bc06 /]# cat /etc/exports|grep HA on primary mn:1, configure shared data: [root@bybc0609 ~]# df -h 2, install xCAT based on xCAT doc, add the two management nodes into policy table: 3, switch database to postgresql 4, set up virtual ip address on primary mn, configure virtual ip address in /etc/hosts /etc/resolv.conf on primary mn, update /etc/nsswitch.conf 5, let xcat use virtual ip, change site table attribute master,nameserver,tftpserver etc, use following command to check; 6, configure xcatdb use postgresql. 7, restart db and xcatd service 8, check db, for example, node definition, replace all 10.5.106.9 to 10.5.106.100, 9, stop xcatd and db service, in order to setup standby MN on Standby MN node:1, install xcat using ip 10.5.106.5 3, change xcat use virtual ip 10.5.106.100, check site table attribute, then restart xcatd 4, Setup ssh authentication between the primary management node and standby management node. It should be setup as “passwordless ssh authentication” and it should work in both directions. The summary of this procedure is:
5, Make sure the time on the primary management node and standby management node is synchronized. 6, install postgresql: 7, stop xcatd 8, back to primary mn, start postgresql and xcatd, using primary xcat MN rsync ssh keys and /etc/hosts file FailoverOn the current primary management node:1, Stop the xCAT daemon 2, unexport the xCAT NFS directories 3, Unmount shared data 4, unconfigure virtual ip on new primary mn(original standby mn):1, Configure Virtual IP: 2, mount shared data: 3, start postgresql, xcatd, dhcpd etc Verification:1. provision diskless cn directlycopycds RHEL-7.4-20170711.0-Server-x86_64-dvd1.iso 2. provision sn[root@byrhmn xcat]# chtab key=nameservers site.value="" |
This task is in order to save setup xcat MN HA using shared data steps command list.
The text was updated successfully, but these errors were encountered: