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.

  1. Login as user ‘oracle’ and shutdown all the database instances.
  2. Stop GSD

gsdctl stop

  1. Verify GSD has stopped

gsdctl stat (will indicate gsd is not running)

  1. Stop listener

lsnrctl stop

  1. Verify listener has stopped

lsnrctl status (will indicate no listener is running)

  1. Login as user ‘root’
  2. Shutdown ORACM processes

killall oracm

  1. 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.

  1. Login as user ‘root’
  2. Un-mount OCFS partitions

umount –t ocfs –a

  1. Remove ocfs module

rmmod ocfs

  1. Shutdown Power Path service.

service PowerPath stop

  1. 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.

  1. Login as ‘root’
  2. Restart Power Path service (if required)

service PowerPath start

  1. Load new ocfs module

load_ocfs

  1. Mount all ocfs partions

mount –t ocfs –a

Restarting Oracle services

  1. Login as ‘root’
  2. Start ORACM processes

/opt/oracle/product/9.2.0/oracm/bin/ocmstart.sh

  1. Verify all ORACM processes are up

ps –ef | grep oracm (should show multiple oracm processes)

  1. Login as ‘root’
  2. Start GSD

gsdctl start

  1. Verify GSD has started

gsdctl stat (will indicate gsd is running)

  1. Start Listener

lsnrctl start

  1. 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