May 2004
Procedure to upgrade Oracle Cluster File System (OCFS)to version 1.0.11-1
The purpose of this document is to describe the process of upgrading the OCFS 1.0.11 on an Oracle9iTMstack running on Linux® AS2.1.
Upgrade Process
The following procedure should only be performed on a node of a cluster at a given time. Once the first node has been updated the additional nodes should be updated.
Obtain the OCFS packages
You may obtain the latest kernel versions from Oracle.
- ocfs-2.4.21-EL-1.0.11-1
- ocfs-2.4.21-EL-smp-1.0.11-1
- ocfs-tools-1.0.10-1
- ocfs-support-1.0.10-1
Shutdown Oracle services
This will only stop Oracle services on the node currently being upgraded. The other nodes on the cluster will still be operational.
- Login as user ‘oracle’ and shutdown all the database instances.
- Stop GSD
gsdctl stop
- Verify GSD has stopped
gsdctl stat (will indicate gsd is not running)
- Stop listener
lsnrctl stop
- Verify listener has stopped
lsnrctl status (will indicate no listener is running)
- Login as user ‘root’
- Shutdown ORACM processes
killall oracm
- Verify all ORACM processes are dead
ps –ef | grep oracm (if oracm is alive will show processes)
Install OCFS
To upgrade to an updated version of OCFS, the previous version of OCFS must be removed. The following steps will remove the installed OCFS version, and upgrade to the latest version.
- Login as user ‘root’
- Un-mount OCFS partitions
umount –t ocfs –a
- Remove ocfs module
rmmod ocfs
- Shutdown Power Path service.
service PowerPath stop
- Intall new ocfs version
Ensure the directory with the new OCFS packages only contains the latest OCFS packages.
rpm –Uvh ocfs*.rpm
Loading your new OCFS version and restarting Oracle
With the new OCFS installed just reload the ocfs module and remount all the ocfs partitions.
- Login as ‘root’
- Restart Power Path service (if required)
service PowerPath start
- Load new ocfs module
load_ocfs
- Mount all ocfs partions
mount –t ocfs –a
Restarting Oracle services
- Login as ‘root’
- Start ORACM processes
/opt/oracle/product/9.2.0/oracm/bin/ocmstart.sh
- Verify all ORACM processes are up
ps –ef | grep oracm (should show multiple oracm processes)
- Login as ‘root’
- Start GSD
gsdctl start
- Verify GSD has started
gsdctl stat (will indicate gsd is running)
- Start Listener
lsnrctl start
- Verify Listener has stopped
lsnrctl status (will indicate listener whether the listener is running or not.)
THIS DOCUMENT IS FOR INFORMATIONAL PURPOSES ONLY, AND MAY CONTAIN TYPOGRAPHICAL ERRORS AND TECHNICAL INACCURACIES. THE CONTENT IS PROVIDED AS IS, WITHOUT EXPRESS OR IMPLIED WARRANTIES OF ANY KIND.
Dell and the Dell Logo are trademarks of Dell Inc. Oracle and Oracle9iare trademarks of Oracle Corporation. Red Hat is a registered trademark of Red Hat, Inc. Linux is a registered trademark of Linus Torvalds. Other trademarks and trade names may be used in this document to refer to either the entities claiming the marks of their products. Dell disclaims proprietary interest in these marks and names of others.
© Copyright 2004 Dell Inc. All rights reserved. Reproduction or translation of any part of this work beyond what is permitted by U.S. copyright laws without the written permission of Dell Inc. is unlawful and strictly forbidden.
DELL Proprietary & Confidential