Personal tools
You are here: Home Members marc blog Blog on OCFS2 OSR on OCFS2 System setup
Document Actions

System setup

How system is setup

Basicsetup

Xen Guest with RHEL5 U2 and ocfs2 from source (/root/src/ocfs2-1.3.9).

Sources in /root/src/ocfs2-1.3.9 from http://oss.oracle.com/projects/ocfs2/files/source/v1.3/ .

RPMS:

  • ocfs2-tools-debuginfo-1.3.9-0.1.el5
  • ocfs2-tools-1.3.9-0.1.el5
  • ocfs2-tools-devel-1.3.9-0.1.el5
  • ocfs2console-1.3.9-0.1.el5
  • comoonics-pythonosfix-py-0.1-1
  • comoonics-bootimage-listfiles-1.3-6.el5
  • SysVinit-comoonics-2.86-14.atix.1
  • comoonics-cluster-py-0.1-12
  • comoonics-cdsl-py-0.2-11
  • comoonics-bootimage-1.3-32
  • comoonics-release-0.1-1
  • comoonics-cs-py-0.1-54
  • comoonics-bootimage-initscripts-1.3-5.el6
  • comoonics-bootimage-extras-ocfs2-0.1-1
  • comoonics-bootimage-extras-xen-0.1-3 (Only needed for xen Guest)

Clusterconfig:

Redhat Cluster.conf

<?xml version="1.0"?>
<cluster config_version="3" name="clurhel5">
  <clusternodes>
          <clusternode name="ocfs2-node1" nodeid="1">
                  <com_info>
                          <syslog name="syslog-server"/>
                          <rootvolume name="/dev/xvdc" fstype="ocfs2"/>
                          <eth name="eth0" ip="dhcp" mac="00:16:3E:00:11:12"/>
                          <fenceackserver user="root" passwd="test123"/>
                  </com_info>
          </clusternode>
          <clusternode name="ocfs2-node2" nodeid="2">
                  <com_info>
                          <syslog name="syslog server"/>
                          <rootvolume name="/dev/xvdc" fstype="ocfs2"/>
                          <eth name="eth0" ip="dhcp" mac="00:16:3E:00:11:13"/>
                          <fenceackserver user="root" passwd="test123"/>
                  </com_info>
          </clusternode>
  </clusternodes>
</cluster>

OCFS2 Cluster.conf

The OCFS2 Cluster.conf will be automatically generated by the initrd from /etc/cluster/cluster.conf. To validate use com-queryclusterconf convert ocfs2 and you'll see the output. It should be somehow like as follows.

If so redirect the output to /etc/ocfs2/cluster.conf in order to setup the filesystem.

node:
      ip_port = 7777
      ip_address = 192.168.3.74
      number = 0
      name = ocfs2-node1
      cluster = ocfs2

node:
      ip_port = 7777
      ip_address = 192.168.3.75
      number = 1
      name = ocfs2-node2
      cluster = ocfs2

cluster:
      node_count = 2
      name = ocfs2
Blog on OCFS2
« May 2012 »
Su Mo Tu We Th Fr Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Blog on OCFS2:
More...
Categories:
OCFS2 (0)
OCFS2 Sharedroot (0)
Shared (0)
root (0)
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: