Documente Academic
Documente Profesional
Documente Cultură
Create /dev/sda3 lv
Fdisk /dev/sda3
Command (m for help): n
Command action
e extended
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table. The new table will be used at
Syncing disks.
[root@node1~]#
wget http://shapeblue.s3.amazonaws.com/ocfs2-kmod-1.5.0-1.el6.x86_64.rpm
rpm -i ocfs2-kmod-1.5.0-1.el6.x86_64.rpm
depmod -a
cd /etc/yum.repos.d
wget http://public-yum.oracle.com/public-yum-ol6.repo
cd /etc/pki/rpm-gpg/
wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle-ol6
cd /etc/ocfs2/
vim cluster.conf
o2cb cluster-status
output: offline
output:
cluster:
node_count = 0
heartbeat_mode = local
name = tclust
output:
heartbeat:
region = 8BE187A3EA304C77B52686E96F8CD289
cluster = tclust
node:
number = 0
name = node1.jkpoltel.com
ip_address = 192.168.0.60
ip_port = 7777
cluster = ocfs2
node:
number = 1
name = node2.jkpoltel.com
ip_address = 192.168.0.70
ip_port = 7777
cluster = ocfs2
cluster:
node_count = 2
heartbeat_mode = local
name = tclust
mkdir –p /san/primary/
rm /etc/udev/rules.d/70-persistent-net.rules