Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

CLUSTER "Oracle Linux 6.2" ON Oracle VIRTUAL BOX

952131Jul 27 2012 — edited Jul 30 2012
Hi there, i'm gonna create a Linux cluster on virtual box! can someone give me an advice or a guide to create it?! because i tryed it! but the services doesn't start when i launch the command " clusvcadm -e service_name -m node-name " !!!!!

here my cluster.conf:


<?xml version="1.0"?>
<cluster config_version="61" name="cluster">
<clusternodes>
<clusternode name="nodo-1.localdomain" nodeid="1"/>
<clusternode name="nodo-2.localdomain" nodeid="2"/>
</clusternodes>
<cman expected_votes="1" two_node="1"/>
<rm>
<failoverdomains>
<failoverdomain name="nagios" nofailback="1">
<failoverdomainnode name="nodo-1.localdomain"/>
<failoverdomainnode name="nodo-2.localdomain"/>
</failoverdomain>
</failoverdomains>
<resources>
<apache config_file="conf/httpd.conf" name="Apache" server_root="/etc/httpd" shutdown_wait="0"/>
<script file="/etc/init.d/nagios" name="Nagios"/>
<ip address="172.16.1.5/255.255.0.0" sleeptime="10"/>
<netfs export="/mnt/nagios" force_unmount="on" fstype="nfs" host="172.16.1.3" mountpoint="/usr/local/nagios" name="nfs_disk" options="rw"/>
<script file="/etc/init.d/httpd" name="HTTPD"/>
</resources>
<service autostart="0" domain="nagios" max_restarts="3" name="service_nagios" recovery="restart" restart_expire_time="3">
<ip ref="172.16.1.5/255.255.0.0">
<netfs ref="nfs_disk">
<script ref="HTTPD">
<script ref="Nagios"/>
</script>
</netfs>
</ip>
</service>
</rm>
</cluster>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 27 2012
Added on Jul 27 2012
3 comments
343 views