1.在master01,master02,master03主机上安装pcs和fence-agents-all sudo yum install pcs fence-agents-all 注:安装后会自动创建hacluster用户