%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E18.Here%20is%20the%20modified%20version%3C%2FP%3E%0A%3CP%3E%3CPRIMITIVE%20class%3D%22%26quot%3Bocf%26quot%3B%22%20id%3D%22%26quot%3Bvip1%26quot%3B%22%20provider%3D%22%26quot%3Bheartbeat%26quot%3B%22%20type%3D%22%26quot%3BIPaddr2%26quot%3B%22%3E%3C%2FPRIMITIVE%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet1-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%20boolean-op%3D%22%26quot%3Bor%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred1%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node2%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred2%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.2.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes2%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet2-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet2-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred3%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip2%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.4.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes3%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet3-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet3-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred4%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip3%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.5.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2219%22%3E%0A%3CLI%3ERun%20following%20command%20to%20import%20the%20modified%20CIB%20and%20reconfigure%20Pacemaker.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20cib-push%20%3CFILENAME%3E%3C%2FFILENAME%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_6-1595628373856.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207743i73988AE608219A12%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_6-1595628373856.png%22%20alt%3D%22Liwei_6-1595628373856.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20are%20the%20takeaway%20points%3A%3C%2FP%3E%0A%3CP%3E1).All%20nodes%20in%20same%20subnet%20should%20be%20in%20the%20same%20%3CINSTANCE_ATTRIBUTES%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_7-1595628373858.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207745i048D87D930F3ABDF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_7-1595628373858.png%22%20alt%3D%22Liwei_7-1595628373858.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2).If%20there%20are%20more%20than%20one%20servers%20in%20the%20subnet%2C%20the%20keyword%20%E2%80%98%3CSTRONG%3Eboolean-op%3D%22or%22%3C%2FSTRONG%3E%E2%80%99%20is%20a%20must%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_8-1595628373859.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207744iFAD06EC89338B39E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_8-1595628373859.png%22%20alt%3D%22Liwei_8-1595628373859.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3).The%20IP%20address%20of%20Alwayson%20Listener%20is%20addressed%20in%20%3CNVPAIR%3E%20.%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_9-1595628373861.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207747iBCF841E68DA57744%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_9-1595628373861.png%22%20alt%3D%22Liwei_9-1595628373861.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4).The%20id%20property%20must%20be%20unique%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_10-1595628373864.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207746iADD2297ACF3596B0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_10-1595628373864.png%22%20alt%3D%22Liwei_10-1595628373864.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOptional%2C%20you%20can%20create%20three%20entries%20for%20the%20three%20IP%20addresses%20in%20the%20DNS%20server.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_11-1595628373866.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207748iE01CB51C12BC6407%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_11-1595628373866.png%22%20alt%3D%22Liwei_11-1595628373866.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20an%20screenshot%20of%20using%20SQLCMD%20to%20connect%20the%20AGListener%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_12-1595628373877.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207749i82F7D12469C5D107%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_12-1595628373877.png%22%20alt%3D%22Liwei_12-1595628373877.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E18.Here%20is%20the%20modified%20version%3C%2FP%3E%0A%3CP%3E%3CPRIMITIVE%20class%3D%22%26quot%3Bocf%26quot%3B%22%20id%3D%22%26quot%3Bvip1%26quot%3B%22%20provider%3D%22%26quot%3Bheartbeat%26quot%3B%22%20type%3D%22%26quot%3BIPaddr2%26quot%3B%22%3E%3C%2FPRIMITIVE%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet1-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%20boolean-op%3D%22%26quot%3Bor%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred1%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node2%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred2%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.2.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes2%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet2-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet2-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred3%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip2%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.4.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes3%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet3-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet3-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred4%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip3%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.5.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2219%22%3E%0A%3CLI%3ERun%20following%20command%20to%20import%20the%20modified%20CIB%20and%20reconfigure%20Pacemaker.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20cib-push%20%3CFILENAME%3E%3C%2FFILENAME%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_6-1595628373856.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207743i73988AE608219A12%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_6-1595628373856.png%22%20alt%3D%22Liwei_6-1595628373856.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20are%20the%20takeaway%20points%3A%3C%2FP%3E%0A%3CP%3E1).All%20nodes%20in%20same%20subnet%20should%20be%20in%20the%20same%20%3CINSTANCE_ATTRIBUTES%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_7-1595628373858.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207745i048D87D930F3ABDF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_7-1595628373858.png%22%20alt%3D%22Liwei_7-1595628373858.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2).If%20there%20are%20more%20than%20one%20servers%20in%20the%20subnet%2C%20the%20keyword%20%E2%80%98%3CSTRONG%3Eboolean-op%3D%22or%22%3C%2FSTRONG%3E%E2%80%99%20is%20a%20must%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_8-1595628373859.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207744iFAD06EC89338B39E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_8-1595628373859.png%22%20alt%3D%22Liwei_8-1595628373859.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3).The%20IP%20address%20of%20Alwayson%20Listener%20is%20addressed%20in%20%3CNVPAIR%3E%20.%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_9-1595628373861.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207747iBCF841E68DA57744%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_9-1595628373861.png%22%20alt%3D%22Liwei_9-1595628373861.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4).The%20id%20property%20must%20be%20unique%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_10-1595628373864.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207746iADD2297ACF3596B0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_10-1595628373864.png%22%20alt%3D%22Liwei_10-1595628373864.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOptional%2C%20you%20can%20create%20three%20entries%20for%20the%20three%20IP%20addresses%20in%20the%20DNS%20server.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_11-1595628373866.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207748iE01CB51C12BC6407%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_11-1595628373866.png%22%20alt%3D%22Liwei_11-1595628373866.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20an%20screenshot%20of%20using%20SQLCMD%20to%20connect%20the%20AGListener%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_12-1595628373877.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207749i82F7D12469C5D107%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_12-1595628373877.png%22%20alt%3D%22Liwei_12-1595628373877.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E18.Here%20is%20the%20modified%20version%3C%2FP%3E%0A%3CP%3E%3CPRIMITIVE%20class%3D%22%26quot%3Bocf%26quot%3B%22%20id%3D%22%26quot%3Bvip1%26quot%3B%22%20provider%3D%22%26quot%3Bheartbeat%26quot%3B%22%20type%3D%22%26quot%3BIPaddr2%26quot%3B%22%3E%3C%2FPRIMITIVE%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet1-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%20boolean-op%3D%22%26quot%3Bor%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred1%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node2%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred2%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.2.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes2%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet2-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet2-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred3%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip2%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.4.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes3%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet3-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet3-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred4%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip3%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.5.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2219%22%3E%0A%3CLI%3ERun%20following%20command%20to%20import%20the%20modified%20CIB%20and%20reconfigure%20Pacemaker.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20cib-push%20%3CFILENAME%3E%3C%2FFILENAME%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_6-1595628373856.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207743i73988AE608219A12%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_6-1595628373856.png%22%20alt%3D%22Liwei_6-1595628373856.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20are%20the%20takeaway%20points%3A%3C%2FP%3E%0A%3CP%3E1).All%20nodes%20in%20same%20subnet%20should%20be%20in%20the%20same%20%3CINSTANCE_ATTRIBUTES%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_7-1595628373858.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207745i048D87D930F3ABDF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_7-1595628373858.png%22%20alt%3D%22Liwei_7-1595628373858.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2).If%20there%20are%20more%20than%20one%20servers%20in%20the%20subnet%2C%20the%20keyword%20%E2%80%98%3CSTRONG%3Eboolean-op%3D%22or%22%3C%2FSTRONG%3E%E2%80%99%20is%20a%20must%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_8-1595628373859.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207744iFAD06EC89338B39E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_8-1595628373859.png%22%20alt%3D%22Liwei_8-1595628373859.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3).The%20IP%20address%20of%20Alwayson%20Listener%20is%20addressed%20in%20%3CNVPAIR%3E%20.%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_9-1595628373861.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207747iBCF841E68DA57744%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_9-1595628373861.png%22%20alt%3D%22Liwei_9-1595628373861.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4).%3CSPAN%3EThe%20value%20of%20id%20property%20does%20not%20matter%2C%20you%20can%20specify%20any%20value%20as%20long%20as%20the%20value%20is%26nbsp%3B%20unique.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_10-1595628373864.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207746iADD2297ACF3596B0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_10-1595628373864.png%22%20alt%3D%22Liwei_10-1595628373864.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOptional%2C%20you%20can%20create%20three%20entries%20for%20the%20three%20IP%20addresses%20in%20the%20DNS%20server.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_11-1595628373866.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207748iE01CB51C12BC6407%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_11-1595628373866.png%22%20alt%3D%22Liwei_11-1595628373866.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20an%20screenshot%20of%20using%20SQLCMD%20to%20connect%20the%20AGListener%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_12-1595628373877.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207749i82F7D12469C5D107%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_12-1595628373877.png%22%20alt%3D%22Liwei_12-1595628373877.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E18.Here%20is%20the%20modified%20version%3C%2FP%3E%0A%3CP%3E%3CPRIMITIVE%20class%3D%22%26quot%3Bocf%26quot%3B%22%20id%3D%22%26quot%3Bvip1%26quot%3B%22%20provider%3D%22%26quot%3Bheartbeat%26quot%3B%22%20type%3D%22%26quot%3BIPaddr2%26quot%3B%22%3E%3C%2FPRIMITIVE%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet1-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%20boolean-op%3D%22%26quot%3Bor%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred1%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node2%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred2%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.2.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes2%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet2-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet2-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred3%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip2%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.4.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes3%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet3-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet3-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred4%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip3%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.5.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2219%22%3E%0A%3CLI%3ERun%20following%20command%20to%20import%20the%20modified%20CIB%20and%20reconfigure%20Pacemaker.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20cib-push%20%3CFILENAME%3E%3C%2FFILENAME%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_6-1595628373856.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207743i73988AE608219A12%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_6-1595628373856.png%22%20alt%3D%22Liwei_6-1595628373856.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20are%20the%20takeaway%20points%3A%3C%2FP%3E%0A%3CP%3E1).All%20nodes%20in%20same%20subnet%20should%20be%20in%20the%20same%20%3CINSTANCE_ATTRIBUTES%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_7-1595628373858.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207745i048D87D930F3ABDF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_7-1595628373858.png%22%20alt%3D%22Liwei_7-1595628373858.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2).If%20there%20are%20more%20than%20one%20servers%20in%20the%20subnet%2C%20the%20keyword%20%E2%80%98%3CSTRONG%3Eboolean-op%3D%22or%22%3C%2FSTRONG%3E%E2%80%99%20is%20a%20must%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_8-1595628373859.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207744iFAD06EC89338B39E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_8-1595628373859.png%22%20alt%3D%22Liwei_8-1595628373859.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3).The%20IP%20address%20of%20Alwayson%20Listener%20is%20addressed%20in%20%3CNVPAIR%3E%20.%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_9-1595628373861.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207747iBCF841E68DA57744%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_9-1595628373861.png%22%20alt%3D%22Liwei_9-1595628373861.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4).%3CSPAN%3EThe%20value%20of%20id%20property%20does%20not%20matter%2C%20you%20can%20specify%20any%20value%20as%20long%20as%20the%20value%20is%26nbsp%3B%20unique.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_10-1595628373864.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207746iADD2297ACF3596B0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_10-1595628373864.png%22%20alt%3D%22Liwei_10-1595628373864.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOptional%2C%20you%20can%20create%20three%20entries%20for%20the%20three%20IP%20addresses%20in%20the%20DNS%20server.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_11-1595628373866.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207748iE01CB51C12BC6407%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_11-1595628373866.png%22%20alt%3D%22Liwei_11-1595628373866.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20an%20screenshot%20of%20using%20SQLCMD%20to%20connect%20the%20AGListener%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_12-1595628373877.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207749i82F7D12469C5D107%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_12-1595628373877.png%22%20alt%3D%22Liwei_12-1595628373877.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E18.Here%20is%20the%20modified%20version%3C%2FP%3E%0A%3CP%3E%3CPRIMITIVE%20class%3D%22%26quot%3Bocf%26quot%3B%22%20id%3D%22%26quot%3Bvip1%26quot%3B%22%20provider%3D%22%26quot%3Bheartbeat%26quot%3B%22%20type%3D%22%26quot%3BIPaddr2%26quot%3B%22%3E%3C%2FPRIMITIVE%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet1-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%20boolean-op%3D%22%26quot%3Bor%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred1%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node2%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred2%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.2.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes2%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet2-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet2-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred3%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip2%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.4.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes3%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet3-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet3-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred4%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip3%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.5.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2219%22%3E%0A%3CLI%3ERun%20following%20command%20to%20import%20the%20modified%20CIB%20and%20reconfigure%20Pacemaker.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20cib-push%20%3CFILENAME%3E%3C%2FFILENAME%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_6-1595628373856.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207743i73988AE608219A12%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_6-1595628373856.png%22%20alt%3D%22Liwei_6-1595628373856.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20are%20the%20takeaway%20points%3A%3C%2FP%3E%0A%3CP%3E1).All%20nodes%20in%20same%20subnet%20should%20be%20in%20the%20same%20%3CINSTANCE_ATTRIBUTES%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_7-1595628373858.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207745i048D87D930F3ABDF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_7-1595628373858.png%22%20alt%3D%22Liwei_7-1595628373858.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2).If%20there%20are%20more%20than%20one%20servers%20in%20the%20subnet%2C%20the%20keyword%20%E2%80%98%3CSTRONG%3Eboolean-op%3D%22or%22%3C%2FSTRONG%3E%E2%80%99%20is%20a%20must%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_8-1595628373859.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207744iFAD06EC89338B39E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_8-1595628373859.png%22%20alt%3D%22Liwei_8-1595628373859.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3).The%20IP%20address%20of%20Alwayson%20Listener%20is%20addressed%20in%20%3CNVPAIR%3E%20.%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_9-1595628373861.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207747iBCF841E68DA57744%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_9-1595628373861.png%22%20alt%3D%22Liwei_9-1595628373861.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4).%3CSPAN%3EThe%20value%20of%20id%20property%20does%20not%20matter%2C%20you%20can%20specify%20any%20value%20as%20long%20as%20the%20value%20is%26nbsp%3B%20unique.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_10-1595628373864.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207746iADD2297ACF3596B0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_10-1595628373864.png%22%20alt%3D%22Liwei_10-1595628373864.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOptional%2C%20you%20can%20create%20three%20entries%20for%20the%20three%20IP%20addresses%20in%20the%20DNS%20server.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_11-1595628373866.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207748iE01CB51C12BC6407%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_11-1595628373866.png%22%20alt%3D%22Liwei_11-1595628373866.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20an%20screenshot%20of%20using%20SQLCMD%20to%20connect%20the%20AGListener%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_12-1595628373877.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207749i82F7D12469C5D107%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_12-1595628373877.png%22%20alt%3D%22Liwei_12-1595628373877.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E18.Here%20is%20the%20modified%20version%3C%2FP%3E%0A%3CP%3E%3CPRIMITIVE%20class%3D%22%26quot%3Bocf%26quot%3B%22%20id%3D%22%26quot%3Bvip1%26quot%3B%22%20provider%3D%22%26quot%3Bheartbeat%26quot%3B%22%20type%3D%22%26quot%3BIPaddr2%26quot%3B%22%3E%3C%2FPRIMITIVE%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet1-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%20boolean-op%3D%22%26quot%3Bor%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred1%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node2%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred2%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.2.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes2%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet2-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet2-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred3%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip2%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.4.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes3%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet3-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet3-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred4%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip3%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.5.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2219%22%3E%0A%3CLI%3ERun%20following%20command%20to%20import%20the%20modified%20CIB%20and%20reconfigure%20Pacemaker.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20cib-push%20%3CFILENAME%3E%3C%2FFILENAME%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_6-1595628373856.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207743i73988AE608219A12%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_6-1595628373856.png%22%20alt%3D%22Liwei_6-1595628373856.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20are%20the%20takeaway%20points%3A%3C%2FP%3E%0A%3CP%3E1).All%20nodes%20in%20same%20subnet%20should%20be%20in%20the%20same%20%3CINSTANCE_ATTRIBUTES%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_7-1595628373858.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207745i048D87D930F3ABDF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_7-1595628373858.png%22%20alt%3D%22Liwei_7-1595628373858.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2).If%20there%20are%20more%20than%20one%20servers%20in%20the%20subnet%2C%20the%20keyword%20%E2%80%98%3CSTRONG%3Eboolean-op%3D%22or%22%3C%2FSTRONG%3E%E2%80%99%20is%20a%20must%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_8-1595628373859.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207744iFAD06EC89338B39E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_8-1595628373859.png%22%20alt%3D%22Liwei_8-1595628373859.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3).The%20IP%20address%20of%20Alwayson%20Listener%20is%20addressed%20in%20%3CNVPAIR%3E%20.%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_9-1595628373861.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207747iBCF841E68DA57744%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_9-1595628373861.png%22%20alt%3D%22Liwei_9-1595628373861.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4).%3CSPAN%3EThe%20value%20of%20id%20property%20does%20not%20matter%2C%20you%20can%20specify%20any%20value%20as%20long%20as%20the%20value%20is%26nbsp%3B%20unique.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_10-1595628373864.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207746iADD2297ACF3596B0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_10-1595628373864.png%22%20alt%3D%22Liwei_10-1595628373864.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOptional%2C%20you%20can%20create%20three%20entries%20for%20the%20three%20IP%20addresses%20in%20the%20DNS%20server.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_11-1595628373866.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207748iE01CB51C12BC6407%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_11-1595628373866.png%22%20alt%3D%22Liwei_11-1595628373866.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20an%20screenshot%20of%20using%20SQLCMD%20to%20connect%20the%20AGListener%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_12-1595628373877.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207749i82F7D12469C5D107%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_12-1595628373877.png%22%20alt%3D%22Liwei_12-1595628373877.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E18.Here%20is%20the%20modified%20version%3C%2FP%3E%0A%3CP%3E%3CPRIMITIVE%20class%3D%22%26quot%3Bocf%26quot%3B%22%20id%3D%22%26quot%3Bvip1%26quot%3B%22%20provider%3D%22%26quot%3Bheartbeat%26quot%3B%22%20type%3D%22%26quot%3BIPaddr2%26quot%3B%22%3E%3C%2FPRIMITIVE%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet1-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%20boolean-op%3D%22%26quot%3Bor%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred1%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node2%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred2%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.2.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes2%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet2-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet2-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred3%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip2%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.4.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes3%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet3-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet3-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred4%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip3%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.5.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2219%22%3E%0A%3CLI%3ERun%20following%20command%20to%20import%20the%20modified%20CIB%20and%20reconfigure%20Pacemaker.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20cib-push%20%3CFILENAME%3E%3C%2FFILENAME%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_6-1595628373856.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207743i73988AE608219A12%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_6-1595628373856.png%22%20alt%3D%22Liwei_6-1595628373856.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20are%20the%20takeaway%20points%3A%3C%2FP%3E%0A%3CP%3E1).All%20nodes%20in%20same%20subnet%20should%20be%20in%20the%20same%20%3CINSTANCE_ATTRIBUTES%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_7-1595628373858.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207745i048D87D930F3ABDF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_7-1595628373858.png%22%20alt%3D%22Liwei_7-1595628373858.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2).If%20there%20are%20more%20than%20one%20servers%20in%20the%20subnet%2C%20the%20keyword%20%E2%80%98%3CSTRONG%3Eboolean-op%3D%22or%22%3C%2FSTRONG%3E%E2%80%99%20is%20a%20must%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_8-1595628373859.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207744iFAD06EC89338B39E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_8-1595628373859.png%22%20alt%3D%22Liwei_8-1595628373859.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3).The%20IP%20address%20of%20Alwayson%20Listener%20is%20addressed%20in%20%3CNVPAIR%3E%20.%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_9-1595628373861.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207747iBCF841E68DA57744%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_9-1595628373861.png%22%20alt%3D%22Liwei_9-1595628373861.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4).%3CSPAN%3EThe%20value%20of%20id%20property%20does%20not%20matter%2C%20you%20can%20specify%20any%20value%20as%20long%20as%20the%20value%20is%26nbsp%3B%20unique.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_10-1595628373864.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207746iADD2297ACF3596B0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_10-1595628373864.png%22%20alt%3D%22Liwei_10-1595628373864.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOptional%2C%20you%20can%20create%20three%20entries%20for%20the%20three%20IP%20addresses%20in%20the%20DNS%20server.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_11-1595628373866.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207748iE01CB51C12BC6407%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_11-1595628373866.png%22%20alt%3D%22Liwei_11-1595628373866.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20an%20screenshot%20of%20using%20SQLCMD%20to%20connect%20the%20AGListener%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_12-1595628373877.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207749i82F7D12469C5D107%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_12-1595628373877.png%22%20alt%3D%22Liwei_12-1595628373877.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E18.Here%20is%20the%20modified%20version%3C%2FP%3E%0A%3CP%3E%3CPRIMITIVE%20class%3D%22%26quot%3Bocf%26quot%3B%22%20id%3D%22%26quot%3Bvip1%26quot%3B%22%20provider%3D%22%26quot%3Bheartbeat%26quot%3B%22%20type%3D%22%26quot%3BIPaddr2%26quot%3B%22%3E%3C%2FPRIMITIVE%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet1-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%20boolean-op%3D%22%26quot%3Bor%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred1%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node2%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred2%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.2.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes2%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet2-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet2-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred3%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip2%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.4.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes3%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet3-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet3-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred4%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip3%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.5.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2219%22%3E%0A%3CLI%3ERun%20following%20command%20to%20import%20the%20modified%20CIB%20and%20reconfigure%20Pacemaker.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20cib-push%20%3CFILENAME%3E%3C%2FFILENAME%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_6-1595628373856.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207743i73988AE608219A12%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_6-1595628373856.png%22%20alt%3D%22Liwei_6-1595628373856.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20are%20the%20takeaway%20points%3A%3C%2FP%3E%0A%3CP%3E1).All%20nodes%20in%20same%20subnet%20should%20be%20in%20the%20same%20%3CINSTANCE_ATTRIBUTES%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_7-1595628373858.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207745i048D87D930F3ABDF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_7-1595628373858.png%22%20alt%3D%22Liwei_7-1595628373858.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2).If%20there%20are%20more%20than%20one%20servers%20in%20the%20subnet%2C%20the%20keyword%20%E2%80%98%3CSTRONG%3Eboolean-op%3D%22or%22%3C%2FSTRONG%3E%E2%80%99%20is%20a%20must%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_8-1595628373859.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207744iFAD06EC89338B39E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_8-1595628373859.png%22%20alt%3D%22Liwei_8-1595628373859.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3).The%20IP%20address%20of%20Alwayson%20Listener%20is%20addressed%20in%20%3CNVPAIR%3E%20.%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_9-1595628373861.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207747iBCF841E68DA57744%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_9-1595628373861.png%22%20alt%3D%22Liwei_9-1595628373861.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4).%3CSPAN%3EThe%20value%20of%20id%20property%20does%20not%20matter%2C%20you%20can%20specify%20any%20value%20as%20long%20as%20the%20value%20is%26nbsp%3B%20unique.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_10-1595628373864.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207746iADD2297ACF3596B0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_10-1595628373864.png%22%20alt%3D%22Liwei_10-1595628373864.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOptional%2C%20you%20can%20create%20three%20entries%20for%20the%20three%20IP%20addresses%20in%20the%20DNS%20server.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_11-1595628373866.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207748iE01CB51C12BC6407%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_11-1595628373866.png%22%20alt%3D%22Liwei_11-1595628373866.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20an%20screenshot%20of%20using%20SQLCMD%20to%20connect%20the%20AGListener%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_12-1595628373877.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207749i82F7D12469C5D107%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_12-1595628373877.png%22%20alt%3D%22Liwei_12-1595628373877.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E18.Here%20is%20the%20modified%20version%3C%2FP%3E%0A%3CP%3E%3CPRIMITIVE%20class%3D%22%26quot%3Bocf%26quot%3B%22%20id%3D%22%26quot%3Bvip1%26quot%3B%22%20provider%3D%22%26quot%3Bheartbeat%26quot%3B%22%20type%3D%22%26quot%3BIPaddr2%26quot%3B%22%3E%3C%2FPRIMITIVE%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet1-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%20boolean-op%3D%22%26quot%3Bor%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred1%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node2%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred2%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.2.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes2%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet2-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet2-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred3%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip2%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.4.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes3%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet3-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet3-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred4%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip3%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.5.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2219%22%3E%0A%3CLI%3ERun%20following%20command%20to%20import%20the%20modified%20CIB%20and%20reconfigure%20Pacemaker.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20cib-push%20%3CFILENAME%3E%3C%2FFILENAME%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_6-1595628373856.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207743i73988AE608219A12%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_6-1595628373856.png%22%20alt%3D%22Liwei_6-1595628373856.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20are%20the%20takeaway%20points%3A%3C%2FP%3E%0A%3CP%3E1).All%20nodes%20in%20same%20subnet%20should%20be%20in%20the%20same%20%3CINSTANCE_ATTRIBUTES%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_7-1595628373858.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207745i048D87D930F3ABDF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_7-1595628373858.png%22%20alt%3D%22Liwei_7-1595628373858.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2).If%20there%20are%20more%20than%20one%20servers%20in%20the%20subnet%2C%20the%20keyword%20%E2%80%98%3CSTRONG%3Eboolean-op%3D%22or%22%3C%2FSTRONG%3E%E2%80%99%20is%20a%20must%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_8-1595628373859.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207744iFAD06EC89338B39E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_8-1595628373859.png%22%20alt%3D%22Liwei_8-1595628373859.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3).The%20IP%20address%20of%20Alwayson%20Listener%20is%20addressed%20in%20%3CNVPAIR%3E%20.%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_9-1595628373861.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207747iBCF841E68DA57744%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_9-1595628373861.png%22%20alt%3D%22Liwei_9-1595628373861.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4).%3CSPAN%3EThe%20value%20of%20id%20property%20does%20not%20matter%2C%20you%20can%20specify%20any%20value%20as%20long%20as%20the%20value%20is%26nbsp%3B%20unique.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_10-1595628373864.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207746iADD2297ACF3596B0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_10-1595628373864.png%22%20alt%3D%22Liwei_10-1595628373864.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOptional%2C%20you%20can%20create%20three%20entries%20for%20the%20three%20IP%20addresses%20in%20the%20DNS%20server.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_11-1595628373866.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207748iE01CB51C12BC6407%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_11-1595628373866.png%22%20alt%3D%22Liwei_11-1595628373866.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20an%20screenshot%20of%20using%20SQLCMD%20to%20connect%20the%20AGListener%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_12-1595628373877.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207749i82F7D12469C5D107%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_12-1595628373877.png%22%20alt%3D%22Liwei_12-1595628373877.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E18.Here%20is%20the%20modified%20version%3C%2FP%3E%0A%3CP%3E%3CPRIMITIVE%20class%3D%22%26quot%3Bocf%26quot%3B%22%20id%3D%22%26quot%3Bvip1%26quot%3B%22%20provider%3D%22%26quot%3Bheartbeat%26quot%3B%22%20type%3D%22%26quot%3BIPaddr2%26quot%3B%22%3E%3C%2FPRIMITIVE%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet1-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%20boolean-op%3D%22%26quot%3Bor%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred1%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node2%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred2%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.2.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes2%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet2-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet2-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred3%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip2%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.4.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes3%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet3-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet3-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred4%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip3%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.5.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2219%22%3E%0A%3CLI%3ERun%20following%20command%20to%20import%20the%20modified%20CIB%20and%20reconfigure%20Pacemaker.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20cib-push%20%3CFILENAME%3E%3C%2FFILENAME%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_6-1595628373856.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207743i73988AE608219A12%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_6-1595628373856.png%22%20alt%3D%22Liwei_6-1595628373856.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20are%20the%20takeaway%20points%3A%3C%2FP%3E%0A%3CP%3E1).All%20nodes%20in%20same%20subnet%20should%20be%20in%20the%20same%20%3CINSTANCE_ATTRIBUTES%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_7-1595628373858.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207745i048D87D930F3ABDF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_7-1595628373858.png%22%20alt%3D%22Liwei_7-1595628373858.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2).If%20there%20are%20more%20than%20one%20servers%20in%20the%20subnet%2C%20the%20keyword%20%E2%80%98%3CSTRONG%3Eboolean-op%3D%22or%22%3C%2FSTRONG%3E%E2%80%99%20is%20a%20must%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_8-1595628373859.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207744iFAD06EC89338B39E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_8-1595628373859.png%22%20alt%3D%22Liwei_8-1595628373859.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3).The%20IP%20address%20of%20Alwayson%20Listener%20is%20addressed%20in%20%3CNVPAIR%3E%20.%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_9-1595628373861.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207747iBCF841E68DA57744%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_9-1595628373861.png%22%20alt%3D%22Liwei_9-1595628373861.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4).%3CSPAN%3EThe%20value%20of%20id%20property%20does%20not%20matter%2C%20you%20can%20specify%20any%20value%20as%20long%20as%20the%20value%20is%26nbsp%3B%20unique.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_10-1595628373864.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207746iADD2297ACF3596B0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_10-1595628373864.png%22%20alt%3D%22Liwei_10-1595628373864.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOptional%2C%20you%20can%20create%20three%20entries%20for%20the%20three%20IP%20addresses%20in%20the%20DNS%20server.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_11-1595628373866.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207748iE01CB51C12BC6407%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_11-1595628373866.png%22%20alt%3D%22Liwei_11-1595628373866.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20an%20screenshot%20of%20using%20SQLCMD%20to%20connect%20the%20AGListener%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_12-1595628373877.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207749i82F7D12469C5D107%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_12-1595628373877.png%22%20alt%3D%22Liwei_12-1595628373877.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1544838%22%20slang%3D%22en-US%22%3EConfigure%20multiple-subnet%20AlwaysOn%20Availability%20Group%20by%20modifying%20CIB%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1544838%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20the%20Windows%20world%2C%20a%20Windows%20Server%20Failover%20Cluster%20(WSFC)%20natively%20supports%20multiple%20subnets%20and%20handles%20multiple%20IP%20addresses%20via%20an%20OR%20dependency%20on%20the%20IP%20address.%20On%20Linux%2C%20there%20is%20no%20OR%20dependency%2C%20but%20there%20is%20a%20way%20to%20achieve%20a%20proper%20multi-subnet%20natively%20with%20Pacemaker%2C%20as%20shown%20by%20the%20following.%20You%20cannot%20do%20this%20by%20simply%20using%20the%20normal%20Pacemaker%20command%20line%20to%20modify%20a%20resource.%20You%20need%20to%20modify%20the%20cluster%20information%20base%20(CIB).%20The%20CIB%20is%20an%20XML%20file%20with%20the%20Pacemaker%20configuration.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20an%20example%20to%20create%20a%20SQL%20Server%20Linux%20Availability%20group%20in%204%20nodes%20in%203%20subnets%20in%20RHEL%207.6%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_0-1595705602371.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207916i7775E410BFA90FF5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_0-1595705602371.png%22%20alt%3D%22Liwei_0-1595705602371.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20already%20familiar%20with%20the%20AG%20Group%20setup%20process%2C%20please%20just%20jump%20to%20step%2016.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1.Register%20your%20subscription%20on%20for%20all%20servers%20(red1%2Cred2%2Cred3%20and%20red4%20in%20this%20case)%3C%2FP%3E%0A%3CP%3E%3CEM%3Esubscription-manager%20register%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2.List%20all%20available%20subscription%2C%20pick%20the%20one%20with%20High%20Availabiilty%20%2C%20notedown%20the%20pool%20id%3C%2FP%3E%0A%3CP%3E%3CEM%3Esubscription-manager%20list%20--available%20--all%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3.Register%20the%20subscription%20for%20all%20nodes%20(red1%2Cred2%2Cred3%20and%20red4%20in%20this%20case)%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20subscription-manager%20attach%26nbsp%3B%20--pool%3Dxxxxx%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4.Enable%20the%20repository(red1%2Cred2%2Cred3%20and%20red4%20in%20this%20case)%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20subscription-manager%20repos%20--enable%3Drhel-ha-for-rhel-7-server-rpms%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E5.Install%20Pacemaker%20packages%20on%20all%20nodes.%20(red1%2Cred2%2Cred3%20and%20red4%20in%20this%20case)%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20yum%20install%20pacemaker%20pcs%20fence-agents-all%20resource-agents%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E6.Install%20SQL%20Server%20resource%20agent%20(red1%2Cred2%2Cred3%20and%20red4%20in%20this%20case)%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20yum%20install%20mssql-server-ha%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E7.Set%20the%20password%20for%20the%20default%20user%20that%20is%20created%20when%20installing%20Pacemaker%20and%20Corosync%20packages.%20All%20the%20password%20should%20be%20exactly%20same%20(red1%2Cred2%2Cred3%20and%20red4%20in%20this%20case)%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20passwd%20hacluster%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E8.Update%20%2Fetc%2Fhosts%20file%20in%20all%20servers%2C%20add%20IP%20and%20node%20name.%20All%20the%20servers%20should%20have%20the%20same%20entries.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CU%3E%3CEM%3E192.168.2.103%20red1%3C%2FEM%3E%3C%2FU%3E%3CBR%20%2F%3E%3CU%3E%3CEM%3E192.168.2.104%20red2%3C%2FEM%3E%3C%2FU%3E%3CBR%20%2F%3E%3CU%3E%3CEM%3E192.168.4.100%20red3%3C%2FEM%3E%3C%2FU%3E%3CBR%20%2F%3E%3CU%3E%3CEM%3E192.168.5.101%20red4%3C%2FEM%3E%3C%2FU%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E9.Run%20following%20commands%20to%20Enable%20and%20start%20pcsd%20service%20and%20Pacemaker%20in%20all%20nodes.%20(red1%2Cred2%20and%20red3%20and%20red4%20%26nbsp%3Bin%20this%20case)%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20systemctl%20enable%20pcsd%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20systemctl%20start%20pcsd%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20systemctl%20enable%20pacemaker%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E10.Run%20following%20commands%20to%20Create%20Cluster%20in%20primary%20replica%20node%20(red1%20in%20this%20case)%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20auth%20red1%20red2%20red3%20red4%20-u%20hacluster%20-p%20%3CSTRONG%3EYouPasswordUsedinStep7%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20setup%20--name%20sqlcluster1%26nbsp%3B%20red1%20red2%20%26nbsp%3Bred3%20red4%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20start%20--all%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20enable%20--all%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E11.Run%20following%20command%20to%20Enable%20cluster%20feature%20in%20all%20nodes(red1%2Cred2%20%2C%20red3%20and%20red4%20in%20this%20case)%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20%2Fopt%2Fmssql%2Fbin%2Fmssql-conf%20set%20hadr.hadrenabled%26nbsp%3B%201%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20systemctl%20restart%20mssql-server%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%226%22%3E%3CSTRONG%3ECreate%20AG%20and%20Listener%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E1.Run%20following%20queries%20in%20red1%20to%20create%20certificate%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3Euse%20master%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3Ego%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3ECREATE%20MASTER%20KEY%20ENCRYPTION%20BY%20PASSWORD%20%3D%20'**%3CMASTER_KEY_PASSWORD%3E**'%3B%3C%2FMASTER_KEY_PASSWORD%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3Ego%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3ECREATE%20CERTIFICATE%20dbm_certificate%20WITH%20SUBJECT%20%3D%20'dbm'%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3Ego%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EBACKUP%20CERTIFICATE%20dbm_certificate%20TO%20FILE%20%3D%20'%2Fvar%2Fopt%2Fmssql%2Fdata%2Fdbm_certificate.cer'%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EWITH%20PRIVATE%20KEY%20(%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EFILE%20%3D%20'%2Fvar%2Fopt%2Fmssql%2Fdata%2Fdbm_certificate.pvk'%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EENCRYPTION%20BY%20PASSWORD%20%3D%20'**%3CPRIVATE_KEY_PASSWORD%3E**'%3C%2FPRIVATE_KEY_PASSWORD%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E)%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2.Run%20following%20commands%20in%20red1%20to%20copy%20the%20certificate%20to%20rest%20of%20the%20servers(red2%2Cred3%20and%20red4%20in%20this%20case)%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3Ecd%20%2Fvar%2Fopt%2Fmssql%2Fdata%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3Escp%20dbm_certificate.*%20root%40red2%3A%2Fvar%2Fopt%2Fmssql%2Fdata%2F%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3Escp%20dbm_certificate.*%20root%40red3%3A%2Fvar%2Fopt%2Fmssql%2Fdata%2F%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3Escp%20dbm_certificate.*%20root%40red4%3A%2Fvar%2Fopt%2Fmssql%2Fdata%2F%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FFONT%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3.Give%20permission%20to%20the%20mssql%20user%20to%20access%20the%20certificate%20files%20in%20rest%20of%20the%20servers(red2%2Cred3%20and%20red4%20in%20this%20case)%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3Ecd%20%2Fvar%2Fopt%2Fmssql%2Fdata%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3Echown%20mssql%3Amssql%20dbm_certificate.*%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4.Run%20following%20T-SQL%20queries%20to%20create%20the%20certificate%20in%20rest%20of%20the%20nodes%20by%20restoring%20the%20certificate%20backup%20file%20(red2%2Cred3%20and%20red4%20in%20this%20case)%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3Euse%20master%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3Ego%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3ECREATE%20MASTER%20KEY%20ENCRYPTION%20BY%20PASSWORD%20%3D%20'**%3CMASTER_KEY_PASSWORD%3E**'%3C%2FMASTER_KEY_PASSWORD%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3Ego%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3ECREATE%20CERTIFICATE%20dbm_certificate%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%20FROM%20FILE%20%3D%20'%2Fvar%2Fopt%2Fmssql%2Fdata%2Fdbm_certificate.cer'%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%20WITH%20PRIVATE%20KEY%20(%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%20FILE%20%3D%20'%2Fvar%2Fopt%2Fmssql%2Fdata%2Fdbm_certificate.pvk'%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%20DECRYPTION%20BY%20PASSWORD%20%3D%20'**%3CPRIVATE_KEY_PASSWORD%3E**'%3C%2FPRIVATE_KEY_PASSWORD%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E5.Create%20endpoint%20in%20all%20servers%20(red1%2Cred2%2Cred3%20and%20red4)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3ECREATE%20ENDPOINT%20%5BHadr_endpoint%5D%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20AS%20TCP%20(LISTENER_PORT%20%3D%205022)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20FOR%20DATABASE_MIRRORING%20(%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20ROLE%20%3D%20ALL%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20AUTHENTICATION%20%3D%20CERTIFICATE%20dbm_certificate%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20ENCRYPTION%20%3D%20REQUIRED%20ALGORITHM%20AES%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E)%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EALTER%20ENDPOINT%20%5BHadr_endpoint%5D%20STATE%20%3D%20STARTED%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E6.Run%20following%20query%20in%20primary%20replica%20(red1)%20to%20create%20Availability%20group(Please%20note%2C%20it%20works%20for%20SQL%202019.%20If%20you%20are%20using%20SQL%202017%2C%20you%20need%20to%20change%20AVAILABILITY_MODE%20of%20one%20the%20replica%20to%20ASYNCHRONOUS_COMMIT)%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3ECREATE%20AVAILABILITY%20GROUP%20%5Bag1%5D%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20WITH%20(DB_FAILOVER%20%3D%20ON%2C%20CLUSTER_TYPE%20%3D%20EXTERNAL)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20FOR%20REPLICA%20ON%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20N'red1'%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20WITH%20(%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20ENDPOINT_URL%20%3D%20N'tcp%3A%2F%2Fred1%3A5022'%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20AVAILABILITY_MODE%20%3D%20SYNCHRONOUS_COMMIT%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20FAILOVER_MODE%20%3D%20EXTERNAL%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20SEEDING_MODE%20%3D%20AUTOMATIC)%20%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20N'red2'%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20WITH%20(%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20ENDPOINT_URL%20%3D%20N'tcp%3A%2F%2Fred2%3A5022'%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20AVAILABILITY_MODE%20%3D%20SYNCHRONOUS_COMMIT%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20FAILOVER_MODE%20%3D%20EXTERNAL%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20SEEDING_MODE%20%3D%20AUTOMATIC)%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20N'red3'%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20WITH%20(%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20ENDPOINT_URL%20%3D%20N'tcp%3A%2F%2Fred3%3A5022'%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20AVAILABILITY_MODE%20%3D%20SYNCHRONOUS_COMMIT%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20FAILOVER_MODE%20%3D%20EXTERNAL%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20SEEDING_MODE%20%3D%20AUTOMATIC)%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3BN'red4'%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20WITH%20(%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20ENDPOINT_URL%20%3D%20N'tcp%3A%2F%2Fred4%3A5022'%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20AVAILABILITY_MODE%20%3D%20SYNCHRONOUS_COMMIT%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20FAILOVER_MODE%20%3D%20EXTERNAL%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20SEEDING_MODE%20%3D%20AUTOMATIC)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EALTER%20AVAILABILITY%20GROUP%20%5Bag1%5D%20GRANT%20CREATE%20ANY%20DATABASE%3B--grant%20create%20any%20database%20permission%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%227%22%3E%0A%3CLI%3EJoin%20the%20AG%20group%2C%20run%20the%20following%20T-SQL%20queries%20in%20all%20the%20secondary%20servers%20(red2%2Cred3%20and%20red4%20in%20this%20case)%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EALTER%20AVAILABILITY%20GROUP%20%5Bag1%5D%20JOIN%20WITH%20(CLUSTER_TYPE%20%3D%20EXTERNAL)%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EALTER%20AVAILABILITY%20GROUP%20%5Bag1%5D%20GRANT%20CREATE%20ANY%20DATABASE%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E8.Run%20following%20T-SQL%20Queries%20to%20create%20database%20and%20add%20it%20to%20AG%20group%20in%20primary%20replica%20(red1%20in%20this%20case).%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3ECREATE%20DATABASE%20%5Bdb1%5D%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EALTER%20DATABASE%20%5Bdb1%5D%20SET%20RECOVERY%20FULL%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EBACKUP%20DATABASE%20%5Bdb1%5D%20TO%20DISK%20%3D%20N'%2Fvar%2Fopt%2Fmssql%2Fdata%2Fdb1.bak'%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EBACKUP%20log%20%5Bdb1%5D%20TO%20DISK%20%3D%20N'%2Fvar%2Fopt%2Fmssql%2Fdata%2Fdb1.trn'%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EGO%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EALTER%20AVAILABILITY%20GROUP%20%5Bag1%5D%20ADD%20DATABASE%20%5Bdb1%5D%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E9.Create%20SQL%20login%20pacemaker%20in%20all%20servers%20(red1%2Cred2%2Cred3%20and%20red4%20in%20this%20case).%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3ECREATE%20LOGIN%20%5BpacemakerLogin%5D%20with%20PASSWORD%3D%20N'ComplexP%40%24%24w0rd!'%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EGO%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EALTER%20SERVER%20ROLE%20%5Bsysadmin%5D%20ADD%20MEMBER%20%5BpacemakerLogin%5D%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E10.Run%20following%20bash%20command%20in%20red1%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20property%20set%20stonith-enabled%3Dfalse%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2211%22%3E%0A%3CLI%3EIn%20all%20SQL%20Server%20Linux%20servers%20%2C%20run%20following%20bash%20commands%20to%20save%20the%20credentials%20for%20the%20SQL%20Server%20login.(red1%2Cred2%2Cred3%20and%20red4)%20(The%20password%20is%20as%20same%20as%20the%20one%20used%20in%20step%209)%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3Eecho%20'pacemakerLogin'%20%26gt%3B%26gt%3B%20~%2Fpacemaker-passwd%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3Eecho%20'ComplexP%40%24%24w0rd!'%20%26gt%3B%26gt%3B%20~%2Fpacemaker-passwd%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20mv%20~%2Fpacemaker-passwd%20%2Fvar%2Fopt%2Fmssql%2Fsecrets%2Fpasswd%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20chown%20root%3Aroot%20%2Fvar%2Fopt%2Fmssql%2Fsecrets%2Fpasswd%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20chmod%20400%20%2Fvar%2Fopt%2Fmssql%2Fsecrets%2Fpasswd%20%23%20Only%20readable%20by%20root%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E12.Create%20availability%20group%20resource%20at%20cluster%20level%2C%20run%20following%20command%20on%20any%20one%20of%20the%20nodes%20(just%20in%20one%20server%20and%20run%20just%20one%20time).%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20resource%20create%20ag_cluster1%20ocf%3Amssql%3Aag%20ag_name%3Dag1%20meta%20failure-timeout%3D60s%20master%20notify%3Dtrue%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%23%23check%20the%20status%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_0-1595628373845.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207739i69AC6172724F57B7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_0-1595628373845.png%22%20alt%3D%22Liwei_0-1595628373845.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E13.Run%20following%20bash%20command%20in%20primary%20replica%20red1%20to%20create%20one%20virtual%20IP%20resources.%20The%20resource%20name%20is%20'vip1'%2C%20and%20IP%20address%20is%20192.168.2.111%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEM%3Esudo%20pcs%20resource%20create%20vip1%20ocf%3Aheartbeat%3AIPaddr2%20ip%3D192.168.2.111%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_1-1595628373846.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207738i202AEA2529FB9E01%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_1-1595628373846.png%22%20alt%3D%22Liwei_1-1595628373846.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%23%23check%20the%20status%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_2-1595628373847.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207737i160F2628C255C48B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_2-1595628373847.png%22%20alt%3D%22Liwei_2-1595628373847.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2214%22%3E%0A%3CLI%3ECreate%20Availability%20group%20listener%20for%20Availability%20group%20ag1.%20Run%20following%20T-SQL%20query%20in%20primary%20replica%20(red1%20in%20this%20case).%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EALTER%20AVAILABILITY%20GROUP%20%5Bag1%5D%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EADD%20LISTENER%20'aglistener'%20(WITH%20IP%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E(%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E('192.168.2.111'%2C'255.255.255.0')%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E('192.168.4.111'%2C'255.255.255.0')%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E('192.168.5.111'%2C'255.255.255.0')%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E)%2CPORT%20%3D%201433)%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_3-1595628373853.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207742i6145BC794DC1E7DF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_3-1595628373853.png%22%20alt%3D%22Liwei_3-1595628373853.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2215%22%3E%0A%3CLI%3ERun%20following%20bash%20commands%20to%20create%20constraints%3A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20constraint%20colocation%20add%20vip1%20ag_cluster1-master%20INFINITY%20with-rsc-role%3DMaster%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20constraint%20order%20promote%20ag_cluster1-master%20then%20start%20vip1%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_4-1595628373855.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207741i410359FBF1D83F94%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_4-1595628373855.png%22%20alt%3D%22Liwei_4-1595628373855.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E16.Run%20following%20bash%20command%20to%20export%20the%20CIB.(you%20can%20run%20the%20command%20in%20any%20node)%3C%2FP%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20cib%20%3CFILENAME%3E%3C%2FFILENAME%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_5-1595628373855.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207740iC83755B395F9A6AF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_5-1595628373855.png%22%20alt%3D%22Liwei_5-1595628373855.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E17.You%20will%20find%20following%20similar%20entries%3C%2FP%3E%0A%3CP%3E%3CPRIMITIVE%20class%3D%22%26quot%3Bocf%26quot%3B%22%20id%3D%22%26quot%3Bvip1%26quot%3B%22%20provider%3D%22%26quot%3Bheartbeat%26quot%3B%22%20type%3D%22%26quot%3BIPaddr2%26quot%3B%22%3E%3C%2FPRIMITIVE%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.2.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E18.Here%20is%20the%20modified%20version%3C%2FP%3E%0A%3CP%3E%3CPRIMITIVE%20class%3D%22%26quot%3Bocf%26quot%3B%22%20id%3D%22%26quot%3Bvip1%26quot%3B%22%20provider%3D%22%26quot%3Bheartbeat%26quot%3B%22%20type%3D%22%26quot%3BIPaddr2%26quot%3B%22%3E%3C%2FPRIMITIVE%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet1-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%20boolean-op%3D%22%26quot%3Bor%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred1%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet1-Node2%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred2%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.2.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes2%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet2-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet2-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred3%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip2%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.4.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CINSTANCE_ATTRIBUTES%20id%3D%22%26quot%3Bvip1-instance_attributes3%26quot%3B%22%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CRULE%20id%3D%22%26quot%3BSubnet3-IP%26quot%3B%22%20score%3D%22%26quot%3BINFINITY%26quot%3B%22%3E%3C%2FRULE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CEXPRESSION%20id%3D%22%26quot%3BSubnet3-Node1%26quot%3B%22%20attribute%3D%22%26quot%3B%23uname%26quot%3B%22%20operation%3D%22%26quot%3Beq%26quot%3B%22%20value%3D%22%26quot%3Bred4%26quot%3B%2F%22%3E%3C%2FEXPRESSION%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNVPAIR%20id%3D%22%26quot%3Bvip1-instance_attributes-ip3%26quot%3B%22%20name%3D%22%26quot%3Bip%26quot%3B%22%20value%3D%22%26quot%3B192.168.5.111%26quot%3B%2F%22%3E%3C%2FNVPAIR%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COPERATIONS%3E%3C%2FOPERATIONS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-monitor-interval-10s%26quot%3B%22%20interval%3D%22%26quot%3B10s%26quot%3B%22%20name%3D%22%26quot%3Bmonitor%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-start-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstart%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COP%20id%3D%22%26quot%3Bvip1-stop-interval-0s%26quot%3B%22%20interval%3D%22%26quot%3B0s%26quot%3B%22%20name%3D%22%26quot%3Bstop%26quot%3B%22%20timeout%3D%22%26quot%3B20s%26quot%3B%2F%22%3E%3C%2FOP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2219%22%3E%0A%3CLI%3ERun%20following%20command%20to%20import%20the%20modified%20CIB%20and%20reconfigure%20Pacemaker.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3Esudo%20pcs%20cluster%20cib-push%20%3CFILENAME%3E%3C%2FFILENAME%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_6-1595628373856.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207743i73988AE608219A12%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_6-1595628373856.png%22%20alt%3D%22Liwei_6-1595628373856.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20are%20the%20takeaway%20points%3A%3C%2FP%3E%0A%3CP%3E1).All%20nodes%20in%20same%20subnet%20should%20be%20in%20the%20same%20%3CINSTANCE_ATTRIBUTES%3E%3C%2FINSTANCE_ATTRIBUTES%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_7-1595628373858.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207745i048D87D930F3ABDF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_7-1595628373858.png%22%20alt%3D%22Liwei_7-1595628373858.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2).If%20there%20are%20more%20than%20one%20servers%20in%20the%20subnet%2C%20the%20keyword%20%E2%80%98%3CSTRONG%3Eboolean-op%3D%22or%22%3C%2FSTRONG%3E%E2%80%99%20is%20a%20must%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_8-1595628373859.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207744iFAD06EC89338B39E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_8-1595628373859.png%22%20alt%3D%22Liwei_8-1595628373859.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3).The%20IP%20address%20of%20Alwayson%20Listener%20is%20addressed%20in%20%3CNVPAIR%3E%20.%3C%2FNVPAIR%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_9-1595628373861.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207747iBCF841E68DA57744%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_9-1595628373861.png%22%20alt%3D%22Liwei_9-1595628373861.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4).%3CSPAN%3EThe%20value%20of%20id%20property%20does%20not%20matter%2C%20you%20can%20specify%20any%20value%20as%20long%20as%20the%20value%20is%26nbsp%3B%20unique.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_10-1595628373864.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207746iADD2297ACF3596B0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_10-1595628373864.png%22%20alt%3D%22Liwei_10-1595628373864.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOptional%2C%20you%20can%20create%20three%20entries%20for%20the%20three%20IP%20addresses%20in%20the%20DNS%20server.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_11-1595628373866.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207748iE01CB51C12BC6407%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_11-1595628373866.png%22%20alt%3D%22Liwei_11-1595628373866.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20an%20screenshot%20of%20using%20SQLCMD%20to%20connect%20the%20AGListener%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liwei_12-1595628373877.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207749i82F7D12469C5D107%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Liwei_12-1595628373877.png%22%20alt%3D%22Liwei_12-1595628373877.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1544838%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22sql-loves-linux_2_twitter-002-640x358-100648879-large.png%22%20style%3D%22width%3A%20579px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207752i132F6B9455EBDB3C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22sql-loves-linux_2_twitter-002-640x358-100648879-large.png%22%20alt%3D%22sql-loves-linux_2_twitter-002-640x358-100648879-large.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1544838%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHigh%20Availability%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELinux%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Esql%202017%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESQL%202019%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

In the Windows world, a Windows Server Failover Cluster (WSFC) natively supports multiple subnets and handles multiple IP addresses via an OR dependency on the IP address. On Linux, there is no OR dependency, but there is a way to achieve a proper multi-subnet natively with Pacemaker, as shown by the following. You cannot do this by simply using the normal Pacemaker command line to modify a resource. You need to modify the cluster information base (CIB). The CIB is an XML file with the Pacemaker configuration.

 

 

Here is an example to create a SQL Server Linux Availability group in 4 nodes in 3 subnets in RHEL 7.6

Liwei_0-1595705602371.png

 

If you are already familiar with the AG Group setup process, please just jump to step 16.

 

1.Register your subscription on for all servers (red1,red2,red3 and red4 in this case)

subscription-manager register

 

2.List all available subscription, pick the one with High Availabiilty , notedown the pool id

subscription-manager list --available --all

 

3.Register the subscription for all nodes (red1,red2,red3 and red4 in this case)

sudo subscription-manager attach  --pool=xxxxx

 

4.Enable the repository(red1,red2,red3 and red4 in this case)

sudo subscription-manager repos --enable=rhel-ha-for-rhel-7-server-rpms

 

5.Install Pacemaker packages on all nodes. (red1,red2,red3 and red4 in this case)

sudo yum install pacemaker pcs fence-agents-all resource-agents

 

6.Install SQL Server resource agent (red1,red2,red3 and red4 in this case)

sudo yum install mssql-server-ha

 

7.Set the password for the default user that is created when installing Pacemaker and Corosync packages. All the password should be exactly same (red1,red2,red3 and red4 in this case)

sudo passwd hacluster

 

8.Update /etc/hosts file in all servers, add IP and node name. All the servers should have the same entries. 

192.168.2.103 red1
192.168.2.104 red2
192.168.4.100 red3
192.168.5.101 red4

 

9.Run following commands to Enable and start pcsd service and Pacemaker in all nodes. (red1,red2 and red3 and red4  in this case)

sudo systemctl enable pcsd

sudo systemctl start pcsd

sudo systemctl enable pacemaker

 

10.Run following commands to Create Cluster in primary replica node (red1 in this case)

sudo pcs cluster auth red1 red2 red3 red4 -u hacluster -p YouPasswordUsedinStep7

sudo pcs cluster setup --name sqlcluster1  red1 red2  red3 red4

sudo pcs cluster start --all

sudo pcs cluster enable --all

 

11.Run following command to Enable cluster feature in all nodes(red1,red2 , red3 and red4 in this case)

sudo /opt/mssql/bin/mssql-conf set hadr.hadrenabled  1

sudo systemctl restart mssql-server

 

Create AG and Listener

1.Run following queries in red1 to create certificate

use master

go

CREATE MASTER KEY ENCRYPTION BY PASSWORD = '**<Master_Key_Password>**';

go

CREATE CERTIFICATE dbm_certificate WITH SUBJECT = 'dbm';

go

BACKUP CERTIFICATE dbm_certificate TO FILE = '/var/opt/mssql/data/dbm_certificate.cer'

WITH PRIVATE KEY (

FILE = '/var/opt/mssql/data/dbm_certificate.pvk',

ENCRYPTION BY PASSWORD = '**<Private_Key_Password>**'

);

 

2.Run following commands in red1 to copy the certificate to rest of the servers(red2,red3 and red4 in this case)

cd /var/opt/mssql/data

scp dbm_certificate.* root@red2:/var/opt/mssql/data/

scp dbm_certificate.* root@red3:/var/opt/mssql/data/     

scp dbm_certificate.* root@red4:/var/opt/mssql/data/     

 

 

3.Give permission to the mssql user to access the certificate files in rest of the servers(red2,red3 and red4 in this case) 

cd /var/opt/mssql/data

chown mssql:mssql dbm_certificate.* 

 

4.Run following T-SQL queries to create the certificate in rest of the nodes by restoring the certificate backup file (red2,red3 and red4 in this case)

use master

go

CREATE MASTER KEY ENCRYPTION BY PASSWORD = '**<Master_Key_Password>**'

go

CREATE CERTIFICATE dbm_certificate

   FROM FILE = '/var/opt/mssql/data/dbm_certificate.cer' 

   WITH PRIVATE KEY (

   FILE = '/var/opt/mssql/data/dbm_certificate.pvk',

   DECRYPTION BY PASSWORD = '**<Private_Key_Password>**'

)

 

5.Create endpoint in all servers (red1,red2,red3 and red4)

 

CREATE ENDPOINT [Hadr_endpoint]

    AS TCP (LISTENER_PORT = 5022)

    FOR DATABASE_MIRRORING (

    ROLE = ALL,

    AUTHENTICATION = CERTIFICATE dbm_certificate,

    ENCRYPTION = REQUIRED ALGORITHM AES

);

ALTER ENDPOINT [Hadr_endpoint] STATE = STARTED;

 

6.Run following query in primary replica (red1) to create Availability group(Please note, it works for SQL 2019. If you are using SQL 2017, you need to change AVAILABILITY_MODE of one the replica to ASYNCHRONOUS_COMMIT)

CREATE AVAILABILITY GROUP [ag1]

    WITH (DB_FAILOVER = ON, CLUSTER_TYPE = EXTERNAL)

    FOR REPLICA ON

    N'red1'

        WITH (

        ENDPOINT_URL = N'tcp://red1:5022',

        AVAILABILITY_MODE = SYNCHRONOUS_COMMIT,

        FAILOVER_MODE = EXTERNAL,

        SEEDING_MODE = AUTOMATIC) ,

    N'red2'

        WITH (

        ENDPOINT_URL = N'tcp://red2:5022',

        AVAILABILITY_MODE = SYNCHRONOUS_COMMIT,

        FAILOVER_MODE = EXTERNAL,

        SEEDING_MODE = AUTOMATIC),

    N'red3'

        WITH (

        ENDPOINT_URL = N'tcp://red3:5022',

        AVAILABILITY_MODE = SYNCHRONOUS_COMMIT,

        FAILOVER_MODE = EXTERNAL,

        SEEDING_MODE = AUTOMATIC),

        N'red4'

        WITH (

        ENDPOINT_URL = N'tcp://red4:5022',

        AVAILABILITY_MODE = SYNCHRONOUS_COMMIT,

        FAILOVER_MODE = EXTERNAL,

        SEEDING_MODE = AUTOMATIC)

ALTER AVAILABILITY GROUP [ag1] GRANT CREATE ANY DATABASE;--grant create any database permission

 

  1. Join the AG group, run the following T-SQL queries in all the secondary servers (red2,red3 and red4 in this case)

ALTER AVAILABILITY GROUP [ag1] JOIN WITH (CLUSTER_TYPE = EXTERNAL);

ALTER AVAILABILITY GROUP [ag1] GRANT CREATE ANY DATABASE

 

8.Run following T-SQL Queries to create database and add it to AG group in primary replica (red1 in this case).

CREATE DATABASE [db1];

ALTER DATABASE [db1] SET RECOVERY FULL;

BACKUP DATABASE [db1] TO DISK = N'/var/opt/mssql/data/db1.bak';

BACKUP log [db1] TO DISK = N'/var/opt/mssql/data/db1.trn';

GO

ALTER AVAILABILITY GROUP [ag1] ADD DATABASE [db1];

 

9.Create SQL login pacemaker in all servers (red1,red2,red3 and red4 in this case).

CREATE LOGIN [pacemakerLogin] with PASSWORD= N'ComplexP@$$w0rd!'

GO

ALTER SERVER ROLE [sysadmin] ADD MEMBER [pacemakerLogin]

 

10.Run following bash command in red1

sudo pcs property set stonith-enabled=false

 

  1. In all SQL Server Linux servers , run following bash commands to save the credentials for the SQL Server login.(red1,red2,red3 and red4) (The password is as same as the one used in step 9)

echo 'pacemakerLogin' >> ~/pacemaker-passwd

echo 'ComplexP@$$w0rd!' >> ~/pacemaker-passwd

sudo mv ~/pacemaker-passwd /var/opt/mssql/secrets/passwd

sudo chown root:root /var/opt/mssql/secrets/passwd

sudo chmod 400 /var/opt/mssql/secrets/passwd # Only readable by root

 

12.Create availability group resource at cluster level, run following command on any one of the nodes (just in one server and run just one time).

sudo pcs resource create ag_cluster1 ocf:mssql:ag ag_name=ag1 meta failure-timeout=60s master notify=true

##check the status

Liwei_0-1595628373845.png

 

 

13.Run following bash command in primary replica red1 to create one virtual IP resources. The resource name is 'vip1', and IP address is 192.168.2.111

              sudo pcs resource create vip1 ocf:heartbeat:IPaddr2 ip=192.168.2.111

Liwei_1-1595628373846.png

 

##check the status

Liwei_2-1595628373847.png

 

 

  1. Create Availability group listener for Availability group ag1. Run following T-SQL query in primary replica (red1 in this case).

ALTER AVAILABILITY GROUP [ag1]

ADD LISTENER 'aglistener' (WITH IP

(

('192.168.2.111','255.255.255.0'),

('192.168.4.111','255.255.255.0'),

('192.168.5.111','255.255.255.0')

),PORT = 1433);

Liwei_3-1595628373853.png

 

 

  1. Run following bash commands to create constraints:

sudo pcs constraint colocation add vip1 ag_cluster1-master INFINITY with-rsc-role=Master

sudo pcs constraint order promote ag_cluster1-master then start vip1

Liwei_4-1595628373855.png

 

 

16.Run following bash command to export the CIB.(you can run the command in any node)

sudo pcs cluster cib <filename>

      

Liwei_5-1595628373855.png

 

 

17.You will find following similar entries

<primitive class="ocf" id="vip1" provider="heartbeat" type="IPaddr2">

        <instance_attributes id="vip1-instance_attributes">

          <nvpair id="vip1-instance_attributes-ip" name="ip" value="192.168.2.111"/>

        </instance_attributes>

        <operations>

          <op id="vip1-monitor-interval-10s" interval="10s" name="monitor" timeout="20s"/>

          <op id="vip1-start-interval-0s" interval="0s" name="start" timeout="20s"/>

          <op id="vip1-stop-interval-0s" interval="0s" name="stop" timeout="20s"/>

        </operations>

      </primitive>

 

18.Here is the modified version

<primitive class="ocf" id="vip1" provider="heartbeat" type="IPaddr2">

        <instance_attributes id="vip1-instance_attributes">

          <rule id="Subnet1-IP" score="INFINITY" boolean-op="or">

            <expression id="Subnet1-Node1" attribute="#uname" operation="eq" value="red1"/>

            <expression id="Subnet1-Node2" attribute="#uname" operation="eq" value="red2"/>

          </rule>

          <nvpair id="vip1-instance_attributes-ip" name="ip" value="192.168.2.111"/>

        </instance_attributes>

        <instance_attributes id="vip1-instance_attributes2">

          <rule id="Subnet2-IP" score="INFINITY">

            <expression id="Subnet2-Node1" attribute="#uname" operation="eq" value="red3"/>

          </rule>

          <nvpair id="vip1-instance_attributes-ip2" name="ip" value="192.168.4.111"/>

        </instance_attributes>

        <instance_attributes id="vip1-instance_attributes3">

          <rule id="Subnet3-IP" score="INFINITY">

            <expression id="Subnet3-Node1" attribute="#uname" operation="eq" value="red4"/>

          </rule>

          <nvpair id="vip1-instance_attributes-ip3" name="ip" value="192.168.5.111"/>

        </instance_attributes>

        <operations>

          <op id="vip1-monitor-interval-10s" interval="10s" name="monitor" timeout="20s"/>

          <op id="vip1-start-interval-0s" interval="0s" name="start" timeout="20s"/>

          <op id="vip1-stop-interval-0s" interval="0s" name="stop" timeout="20s"/>

        </operations>

      </primitive>

 

  1. Run following command to import the modified CIB and reconfigure Pacemaker.

sudo pcs cluster cib-push <filename>

Liwei_6-1595628373856.png

 

Here are the takeaway points:

1).All nodes in same subnet should be in the same <Instance_attributes>

Liwei_7-1595628373858.png

 

2).If there are more than one servers in the subnet, the keyword ‘boolean-op="or"’ is a must

Liwei_8-1595628373859.png

 

3).The IP address of Alwayson Listener is addressed in <nvpair> .

Liwei_9-1595628373861.png

 

4).The value of id property does not matter, you can specify any value as long as the value is  unique.

Liwei_10-1595628373864.png

 

Optional, you can create three entries for the three IP addresses in the DNS server.

Liwei_11-1595628373866.png

 

 

Here is an screenshot of using SQLCMD to connect the AGListener

Liwei_12-1595628373877.png