No binding virtualIP to a clustered node for a generic app service
I have 2 nodes cluster as follow:
- node1: 10.20.30.100 installed RHEL 7.2 pacemaker corosync myapp /etc/init.d/LA_myapp
- node2: 10.20.30.101 installed RHEL 7.2 pacemaker corosync myapp /etc/init.d/LA_myapp
- create and configure cluster: hacluster
- create resource group: myRG
- create resources as follow:
pcs resource create cc_fs Filesystem device="/dev/ccvg/cclv1" directory="/mnt/ccstor" fstype="ext4" --group myRG
pcs resource create VirtualIP IPaddr2 ip=10.20.30.105 cidr_netmask=24 --group myRG
pcs resource create mySvc LSB:LA_myapp --group myRG
I have several functional modules which run based on tomcat, they are supposed to launch by https://node_IP/appName from internet browser.
When I create and start "myapp" above, it should register all of my app modules using https://VirtualIP/appName.
My problem is:
1. I got an unknown host name error for "VirtualIP" for registering above.
2. No bind from "VirtualIP" to the running node.
Please help me out of these trouble.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
