0% found this document useful (0 votes)
125 views

Procedure For Installing VXVM and Vxfs Patches in Sfrac: Stopping Oracle

This document outlines the steps to install VxVM and VxFS patches in an SFRAC environment which includes stopping Oracle and applications, unmounting CFS file systems, stopping VCS, stopping SFRAC drivers, installing patches, and starting applications. The key steps are to stop Oracle and applications using CFS, unmount CFS file systems, stop VCS, stop SFRAC drivers, install patches on each node, and then start applications.

Uploaded by

akkati123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
125 views

Procedure For Installing VXVM and Vxfs Patches in Sfrac: Stopping Oracle

This document outlines the steps to install VxVM and VxFS patches in an SFRAC environment which includes stopping Oracle and applications, unmounting CFS file systems, stopping VCS, stopping SFRAC drivers, installing patches, and starting applications. The key steps are to stop Oracle and applications using CFS, unmount CFS file systems, stop VCS, stop SFRAC drivers, install patches on each node, and then start applications.

Uploaded by

akkati123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Procedure for Installing VxVM and VxFS Patches in

SFRAC
Perform the following steps to install the VxVM and VxFS patches in the SFRAC environment.

Stopping Oracle
To stop Oracle 9i

1 Stop the gsd processes running on all nodes in the SFRAC cluster:

a Log in as oracle user.

b Determine if gsd processes are running:


$ $ORACLE_HOME/bin/gsdctl stat

c Stop the processes:


$ $ORACLE_HOME/bin/gsdctl stop

2 Take the Oracle and Netlsnr resources offline:

a Log in as superuser.

b On each node, take the Oracle and Netlsnr resources in the VCS configuration offline. For example:
# hares -offline <database-resource-name> -sys <node>
# hares -offline <netlistener-resource-name> -sys <node>
These commands stop the Oracle resources running on the specified nodes.

To stop Oracle 10g

u Stop all the CRS resources including Oracle instances on all the nodes.

a Log in as superuser on one of the cluster nodes.

b Stop all the CRS resources:


# $CRS_HOME/bin/crs_stop -all

Stopping Applications Using CFS (Outside of VCS Control)


Stop all applications using the CFS mounts not under VCS control.
1 Log in as superuser.

2 Ensure that no processes are using the CFS mount point:


# fuser -c <mount_point>
3 Stop any processes using a CFS mount point:
# fuser -ck <mount_point>

Unmounting CFS File Systems (Outside of VCS Control)


On all nodes, unmount any CFS file systems not under VCS control:
1 Log in as superuser.

2 Determine the file systems to unmount by checking the /etc/mnttab file.


For example:
# cat /etc/mnttab | grep vxfs | grep cluster
The output shows each line of the /etc/mnttab file that contains an entry for a VxFS file system mounted in the
cluster mode.

3 Unmount each file system listed in the output:


# umount <mount_point>

Stopping VCS
Stop VCS to take the service groups offline on all nodes:
1 Log in as superuser on one cluster node.

2 Stop VCS on all nodes:


# hastop -all

Stopping SFRAC Drivers


1 On each of the cluster nodes, close all GAB ports. Use the following sequence of commands:
# /sbin/init.d/odm stop
# /sbin/vcsmmconfig -U
# /sbin/vxfenconfig -U
# /sbin/lmxconfig -U

2 Verify that the ports are closed, with the exception of GAB port a:
# /sbin/gabconfig -a

3 Unconfigure GAB and LLT, and unload all the VRTSdbac modules:
# /sbin/gabconfig -U
# kcmodule lmx=unused vcsmm=unused vxfen=unused vxglm=unused vxgms=unused
odm=unused gab=unused
# echo "y" | /sbin/lltconfig -U
# kcmodule llt=unused
Installing Patches
1 Log in as superuser on each of the cluster nodes.

2 Change to the directory containing the patches:


# cd <patches depot directory>

3 Install the patches:


# swinstall -x mount_all_filesystems=false -x autoreboot=true -s ‘pwd‘ <patch
list>

Starting Applications
After the reboot, the nodes will form the cluster and VCS will start the applications which are under its control. If
the applications are outside the VCS control, then you must manually start the applications.

You might also like