Operating System - HP-UX
1753515 Members
5315 Online
108795 Solutions
New Discussion юеВ

Re: Removing Service Guard Package in ORACLE environment.

 
Mike_305
Super Advisor

Removing Service Guard Package in ORACLE environment.

Hello,

Does anyone have detailed information on what needs to be done to remove Service Guard Package? If you have name of the configuration files that needs to address that will good also.

Appreciate your help.

Regards,

MJ
If there is problem then don't think as problem, think as opportunity.
8 REPLIES 8
Jannik
Honored Contributor

Re: Removing Service Guard Package in ORACLE environment.

Chapter 7 393
On the Serviceguard command line, you can (in most cases) delete a
package from all cluster nodes by using the cmdeleteconf command. To
delete one of the Veritas Cluster File System packages (on systems that
support CFS), use the cfscluster, cfsdgadm, or cfsmntadm command.
This removes the package information from the binary configuration file
on all the nodes in the cluster. The command can only be executed when
the package is down; the cluster can be up.
Cluster and Package Maintenance
Reconfiguring a Package
The following example halts the failover package mypkg and removes the
package configuration from the cluster:
cmhaltpkg mypkg
cmdeleteconf -p mypkg
The command prompts for a verification before deleting the files unless
you use the -f option. The directory /etc/cmcluster/mypkg is not
deleted by this command.

Then you have to import you vgs and mount them by hand on the system that you want to run it on. So before anything else you have to vgexport to map files.
jaton
Jeeshan
Honored Contributor

Re: Removing Service Guard Package in ORACLE environment.

Hi,

You can use cmdeleteconf command. See man page for cmdeleteconf for more info.

You should halt all packages and cluster to delete.

#cmdeleteconf -p
a warrior never quits
Asif Sharif
Honored Contributor

Re: Removing Service Guard Package in ORACLE environment.

Hi MJ,

1--> Halt the package

#cmhaltpkg -v package_name

2--> Delete the package from the cluster

#cmdeleteconf -p package_name

http://www12.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01028221-2

Regards,
Asif Sharif
Regards,
Asif Sharif
Siju Vadakkan
Trusted Contributor

Re: Removing Service Guard Package in ORACLE environment.

Failover cluster Package:

cmhaltpkg
cmdeleteconf -p

cmdeleteconf just deletes the binary configuration file. Package directory and including package ascii file is nit effected.


CFS cluster :

Halt the applications is using the file system.
1. Unmount the CFS mount points
# cfsumount
2. Delete the mount point.
# cfsmntadm delete
3. Delete the disk group
# cfsdgadm delete cfsdg1 : this will delete the disk group package
Siju Vadakkan
Trusted Contributor

Re: Removing Service Guard Package in ORACLE environment.

Failover cluster Package:

cmhaltpkg
cmdeleteconf -p

cmdeleteconf just deletes the binary configuration file. Package directory and including package ascii file is nit effected.


CFS cluster :



Halt the applications is using the file system.

Execute the following commands on Mater Node

to find the master node use the following command

#vxdctl -c mode


1. Unmount the CFS mount points
# cfsumount
2. Delete the mount point.
# cfsmntadm delete
3. Delete the disk group
# cfsdgadm delete cfsdg1 : this will delete the disk group package
Siju Vadakkan
Trusted Contributor

Re: Removing Service Guard Package in ORACLE environment.

Failover cluster Package:

cmhaltpkg
cmdeleteconf -p

cmdeleteconf just deletes the binary configuration file. Package directory and including package ascii file is nit effected.


CFS cluster :



Halt the applications is using the file system.

Execute the following commands on Mater Node.

To find the master node use the following command

#vxdctl -c mode


1. Unmount the CFS mount points
# cfsumount
2. Delete the mount point.
# cfsmntadm delete
3. Delete the disk group
# cfsdgadm delete cfsdg1 : this will delete the disk group package
Mike_305
Super Advisor

Re: Removing Service Guard Package in ORACLE environment.

Hello,

The steps I toolk to delete packageis as follows.

1, cmhaltpkg abc1234

2, cmdeletepkg abc1234

3, cmviewcl ( to verify package deleted)

4, Have SAN guys remove LUN

5, vgexport /dev/abc1234 (remove from lvmtab)

6, rmsf to remove H/W path

Thanks - Appreciate your help and feed back.

Regards,

MJ
If there is problem then don't think as problem, think as opportunity.
Mike_305
Super Advisor

Re: Removing Service Guard Package in ORACLE environment.

Hello,

Forgot to put ioscan options.

5a, ioscan -fnC disk (will show NO_HW)

then do rmsf on those device

Than ioscan back to make sure they are no their.

Regards,

Mike
If there is problem then don't think as problem, think as opportunity.