Download WiDirect User Manual

Transcript
chkconfig httpd off
rm -rf /etc/rc3.d/*awicp*
4.24.6 Create Shared Drive
Both WiDirects are going to share storage space for data that will be shared between them.
There is empty space available on the hard drive for the shared drive. Run these commands on both WiDirects to
create the partitions:
lvm
lvcreate --size 8G -n LogVol02 VolGroup00
exit
emacs /etc/drbd.conf
Below is an example DRBD configuration file.
resource drbd0 {
protocol C;
handlers {
split-brain "/usr/lib/drbd/notify-split-brain.sh [email protected]";
fence-peer "/usr/lib/drbd/crm-fence-peer.sh";
after-resync-target "/usr/lib/drbd/crm-unfence-peer.sh";
}
startup {
degr-wfc-timeout 120;
wfc-timeout 120;
}
disk {
on-io-error detach;
fencing resource-only;
}
net {
timeout 120;
connect-int 20;
ping-int 20;
max-buffers 2048;
max-epoch-size 2048;
ko-count 30;
cram-hmac-alg "sha1";
shared-secret "MakeThisSecretSecure";
}
syncer {
rate 10M;
al-extents 257;
}
on f1.awi6.net {
device /dev/drbd0;
disk /dev/VolGroup00/LogVol02;
address 10.8.9.123:7788;
meta-disk internal;
}
on f2.awi6.net {
87