OCFS2 패키지 설치
cd /media/cdrom/Enterprise/RPMS rpm -ivh ocfs2-tools-1.2.7-1.el4.x86_64.rpm rpm -ivh ocfs2-2.6.9-89.0.0.0.1.EL-1.2.9-1.el4.x86_64.rpm rpm -ivh ocfs2console-1.2.7-1.el4.x86_64.rpm rpm -ivh ocfs2-tools-devel-1.2.7-1.el4.x86_64.rpm
[root@rac1 ~]# cd /media/cdrom/Enterprise/RPMS [root@rac1 RPMS]# rpm -ivh ocfs2-tools-1.2.7-1.el4.x86_64.rpm 경고: ocfs2-tools-1.2.7-1.el4.x86_64.rpm: V3 DSA signature: NOKEY, key ID b38a8516 준비 중... ########################################### [100%] 1:ocfs2-tools ########################################### [100%] [root@rac1 RPMS]# rpm -ivh ocfs2-2.6.9-89.0.0.0.1.EL-1.2.9-1.el4.x86_64.rpm 경고: ocfs2-2.6.9-89.0.0.0.1.EL-1.2.9-1.el4.x86_64.rpm: V3 DSA signature: NOKEY, key ID b38a8516 준비 중... ########################################### [100%] 1:ocfs2-2.6.9-89.0.0.0.1.########################################### [100%] [root@rac1 RPMS]# rpm -ivh ocfs2console-1.2.7-1.el4.x86_64.rpm 경고: ocfs2console-1.2.7-1.el4.x86_64.rpm: V3 DSA signature: NOKEY, key ID b38a8516 준비 중... ########################################### [100%] 1:ocfs2console ########################################### [100%] [root@rac1 RPMS]# rpm -ivh ocfs2-tools-devel-1.2.7-1.el4.x86_64.rpm 경고: ocfs2-tools-devel-1.2.7-1.el4.x86_64.rpm: V3 DSA signature: NOKEY, key ID b38a8516 준비 중... ########################################### [100%] 1:ocfs2-tools-devel ########################################### [100%]
GUI 콘솔 실행
ocfs2console
chkconfig --add o2cb chkconfig --list o2cb
[root@rac1 ~]# chkconfig --add o2cb [root@rac1 ~]# chkconfig --list o2cb o2cb 0:해제 1:해제 2:활성 3:활성 4:활성 5:활성 6:해제
/etc/init.d/o2cb configure
[root@rac1 ~]# /etc/init.d/o2cb configure Configuring the O2CB driver. This will configure the on-boot properties of the O2CB driver. The following questions will determine whether the driver is loaded on boot. The current values will be shown in brackets ('[]'). Hitting <ENTER> without typing an answer will keep that current value. Ctrl-C will abort. Load O2CB driver on boot (y/n) [n]: y Cluster to start on boot (Enter "none" to clear) [ocfs2]: Specify heartbeat dead threshold (>=7) [31]: Specify network idle timeout in ms (>=5000) [30000]: Specify network keepalive delay in ms (>=1000) [2000]: Specify network reconnect delay in ms (>=2000) [2000]: Writing O2CB configuration: OK O2CB cluster ocfs2 already online
마운트 경로 생성
mkdir /FRA
ocfs2console
vi /etc/fstab
/dev/sdh1 /FRA ocfs2 _netdev,datavolume 0 0
vi /etc/rc.local 에 소유자, 권한 설정 등록
chown -R oracle:dba /FRA chmod -R 770 /FRA
{}