« Adding a block device online to an Oracle VM | Main | Mass deployment for the Oracle Enterprise Manager Agent »

Sharing your OVS OCFS2 dir on more then four nodes


For a real Oracle Grid environment with 7 Oracle Virtual Servers, today I had to configure a shared "/OVS" directory on OCFS2.


Oracle VM Server provides a great option to share the Oracle VM guest images on a shared location with a shared filesystem.


With that, you can do live migrations and/or make the guests available on other machines.
Also with a shared filesystem an Oracle VM can be made high available.


All went well, but after four nodes I received a message about the maximum number of slots being used.


Because of that I was not able to mount the filesystem on nodes 5,6 and 7.


In order to mount the shared filesystems, I had to:
- unmount the filesystem on all nodes
- execute tunefs.ocfs2 -N [number of nodes] /dev/my-block
- and mount the flesystem


Below you can see the number of slots is changed from 4 to 7.



[root@nlblade07 ~]# tunefs.ocfs2 -q -Q "%N" /dev/sda
4

[root@nlblade07 ~]# tunefs.ocfs2 -N 7 /dev/sda
tunefs.ocfs2 1.2.7
Changing number of node slots from 4 to 7
Proceed (y/N): y
Changed node slots
Resized journals
Wrote Superblock


[root@nlblade07 ~]# tunefs.ocfs2 -q -Q "%N" /dev/sda
7


Rene Kundersma
Oracle Expert Services, The Netherlands

TrackBack

TrackBack URL for this entry:
http://blogs.oracle.com/mte1521/mt-tb.cgi/9570

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on January 20, 2009 1:47 PM.

The previous post in this blog was Adding a block device online to an Oracle VM.

The next post in this blog is Mass deployment for the Oracle Enterprise Manager Agent.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle