https://dhvlab.gwi.uni-muenchen.de/wiki/index.php?title=Cluster_Resources&feed=atom&action=historyCluster Resources - Revision history2024-03-29T14:01:00ZRevision history for this page on the wikiMediaWiki 1.31.1https://dhvlab.gwi.uni-muenchen.de/wiki/index.php?title=Cluster_Resources&diff=3285&oldid=prevWiki admin: Created page with "Category:OVirt Engine Cluster == IP Addresses == Create virtual IP addresses the cluster is reachable at, despite which node the services are running on.<br/> They are cre..."2016-09-08T14:17:15Z<p>Created page with "<a href="/wiki/Category:OVirt_Engine_Cluster" title="Category:OVirt Engine Cluster">Category:OVirt Engine Cluster</a> == IP Addresses == Create virtual IP addresses the cluster is reachable at, despite which node the services are running on.<br/> They are cre..."</p>
<p><b>New page</b></p><div>[[Category:OVirt Engine Cluster]]<br />
== IP Addresses ==<br />
Create virtual IP addresses the cluster is reachable at, despite which node the services are running on.<br/><br />
They are created for every network the cluster is available in.<br />
<syntaxhighlight lang="bash"><br />
pcs resource create ClusterIP ocf:heartbeat:IPaddr2 ip=CLUSTER_IP \<br />
cidr_netmask=24 nic=NIC1 op monitor interval=10s start interval=0s stop \<br />
interval=0s<br />
pcs resource create ClusterRepIP ocf:heartbeat:IPaddr2 ip=CLUSTERLAN_CLUSTER_IP\<br />
cidr_netmask=24 nic=NIC3 op monitor interval=10s start interval=0s stop \<br />
interval=0s<br />
pcs resource create ClusterMgmtIP ocf:heartbeat:IPaddr2 ip=CLUSTER_MGMT_IP \<br />
cidr_netmask=24 nic=b_mgmt op monitor interval=10s start interval=0s stop \<br />
interval=0s \<br />
#create a resource group containing all IP addresses so that they always run on the same node<br />
pcs resource group add IP-Group ClusterIP ClusterRepIP ClusterMgmtIP<br />
</syntaxhighlight></div>Wiki admin