Owner's Manual

58 Configuring Database Storage on the Host
4
Change the O2CB_HEARTBEAT_THRESHOLD value on all the nodes:
a
Stop the O2CB service on all the nodes by typing:
/etc/init.d/o2cb stop
b
Edit the O2CB_HEARTBEAT_THRESHOLD value in
/etc/sysconfig/o2cb
to 81 on all the nodes.
c
Start the O2CB service on all the nodes by typing:
/etc/init.d/o2cb start
5
On the
first node
, for a Fibre Channel cluster, create one partition on each
of the other two external storage devices using
fdisk
:
a
Create a primary partition for the entire device by typing:
fdisk /dev/emcpowerX
NOTE: Type h for help within the fdisk utility.
b
Verify that the new partition exists by typing:
cat /proc/partitions
c
If you do not observe the new partition, type:
sfdisk -R /dev/<device name>
NOTE: The following steps use the sample values:
Mount points:
/u02,/u03
, and
/u04
Labels:
u02,u03
and
u04
Fibre Channel storage devices:
emcpowera, emcpowerb
, and
emcpowerc
6
On
any one node
, format the external storage devices with 4 K block size,
128 K cluster size, and 4 node slots by using the command line utility
mkfs.ocfs2
:
ocr.dbf and Voting Disk
mkfs.ocfs2-b 4K-C128K-N4-Lu01/dev/emcpowera1
Database Files
mkfs.ocfs2 -b 4K-C128K-N4-Lu02/dev/emcpowerb1
Flash Recovery Area
mkfs.ocfs2 -b 4K-C128K-N4-Lu03/dev/emcpowerc1
NOTE: Node slots refer to the number of cluster nodes.
Lnx_Stnwt.book Page 58 Jeudi, 16. juillet 2009 1:36 13