Remove cluster package


 
Thread Tools Search this Thread
Operating Systems Solaris Remove cluster package
# 1  
Old 08-09-2010
Remove cluster package

Hi,

Is there an easy way to remove a cluster/meta cluster package (along with all the packages contained in the cluster package) in Solaris 10 ? I'm new to Solaris.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Unable to remove package in Solaris-10

I am installing a IBM package (ILMT) on Solaris-10 box, which is having few non global zones. It is not allowing me to remove old package and not allowing me to install new one. root@pqdb_s50:/root# pkgrm ILMT-TAD4D-agent ## Waiting for up to <300> seconds for package administration commands to... (18 Replies)
Discussion started by: solaris_1977
18 Replies

2. Red Hat

I can't remove rpm package

Hello!, I can't remove a rpm package with rpm -e net-snmp Nothing happened, and the process returns D status when i see with ps aux | grep rpm. When i say "Nothing Happened", the terminal don't return any message, and not remove the package. What can I do to remove? Ps: I work with Red... (1 Reply)
Discussion started by: Douglas Ramalho
1 Replies

3. Emergency UNIX and Linux Support

Problem when trying to remove a package using rpm command - error: package is not installed

Hello, i have installed a package by using the command sudo rpm -i filepackage.rpm package filepackage is already installed when i try to remove it, i get an error saying "is not installed": sudo rpm -e filepackage.rpm error: package filepackage is not installed How can... (4 Replies)
Discussion started by: g_p
4 Replies

4. HP-UX

Remove a package forcibly in HPUX

In HPUX, I want remove a package forcibly on which some other packages are depended. On Linux following command is used to remove a package forcibly. rpm -e package_name --nodeps I want the samething in HPUX through swremove command. (1 Reply)
Discussion started by: snreddy_gopu
1 Replies

5. Linux

How install a new package without remove old package?

Dear all, I would like to install a new version of package without remove old version on Centos and vice versa. Please give me advice! thanks much, (2 Replies)
Discussion started by: all4cfa
2 Replies

6. Shell Programming and Scripting

Remove version numbers from package lists

I just upgraded my laptop from Fedora 13 to 14, and normally, before I do the upgrade (Fresh install) I run an rpm command to make a list of all the packages I have installed, but without the version and architectures specified, so that I can just feed that list to yum after the upgrade to... (2 Replies)
Discussion started by: Tsuroerusu
2 Replies

7. Solaris

Shutdown the package in SUN cluster

Hi, I have a SUN cluster system. I want to know what script do when the SUN cluster shutdown the package as I may need to modify it ?? Where can I find out this information in the system?? In which directory and log file ??? Any suggestion ??? (5 Replies)
Discussion started by: chuikingman
5 Replies

8. Solaris

How to remove single node cluster

Hi Gurus, I am very new to clustering and for test i have created a single node cluster, now i want to remove the system from cluster. Did some googling however as a newbee in cluster unable to co related the info. Please help Thanks (1 Reply)
Discussion started by: kumarmani
1 Replies

9. Red Hat

Add/Remove package in RHEL 5 !

Friends , I cannot upgrade or add any package in RHEL 5 using 'package manager' GUI tools . When I run the 'package manager' tool then in BROWSE tab , it shows nothing . I try it inserting the RHEL5 DVD in the DVD-Rom . But the condition is the same . Would anybody plz tell me , How can I... (4 Replies)
Discussion started by: shipon_97
4 Replies

10. Solaris

Remove Cluster

sir, i want remove cluster 3.0 from tow sun server 280R shared with tow storadg A1000. please advise me. (1 Reply)
Discussion started by: shadi_mis
1 Replies
Login or Register to Ask a Question
cmgetconf(1m)															     cmgetconf(1m)

NAME
cmgetconf - Get cluster or package configuration information SYNOPSIS
cmgetconf [-v {0 | 1 | 2}] [[-K] -c cluster_name] [-p package_name] [output_filename] cmgetconf [-v {0 | 1 | 2}] [[-K] -c cluster_name] [-P dirname] cmgetconf [-v {0 | 1 | 2}] [-K] DESCRIPTION
cmgetconf obtains either the cluster configuration, not including the package configuration, and with or without the volume group informa- tion (-K option), or the specified package's configuration information (-p option), and writes to either the output_filename file, or to stdout. With the -P option, cmgetconf obtains the configuration information for all packages and writes to the directory specified by dirname. This command can be run whether the cluster is up or down. If -c , -p , or -P are not specified, cmgetconf will obtain the local cluster's configuration. Local cluster is the cluster containing the node where the cmgetconf command is issued. If both cluster_name and package_name are specified, the package must be configured in cluster_name, and only the package configuration for package_name will be written to output_filename or to stdout. The dirname parameter is required with the -P option. If cluster_name is specified with the -P option, the configuration of all the packages configured in the cluster_name will be written out to the directory specified by dirname. Each configured package configuration will be written out to the the specified dirname in a separate file named by appending the suffix .ascii to the name of the package. The -K option prevents probing of volume groups, reducing the time to get the cluster configuration file. NOTE: When this command is run by an authorized user who is not the superuser(UID=0), only those entries that match the user running the command and the node where the command is run are displayed. To view cluster or package information, a user must either be superuser(UID=0), or have an access policy of MONITOR allowed in the cluster configuration file, or have an access policy of PACKAGE_ADMIN allowed in one of the cluster package configuration files. See access policy in cmquerycl(1) or cmmakepkg(1). To modify the configuration of an existing cluster, the user needs to have the cluster's corresponding configuration file. To get the cur- rent cluster's configuration file, run cmgetconf first. Once created, the output_filename can be edited to add or delete nodes. The node configuration information should be retrieved from the cmquerycl command. Some cut and paste may be necessary. To modify the configuration of an existing package, the user needs to have the package's corresponding configuration file first. cmgetconf can be used to produce the package configuration file, then edit it to make the desired modifications, e.g. changing the list of nodes that can run the package, changing the subnet, etc. The modified configuration file can then be used in the cmapplyconf command to update either the cluster configuration or the package con- figuration. Options cmgetconf supports the following options: -v 0|1|2 Verbose output will be displayed. The -v option applies only when cmgetconf is used to obtain package configuration infor- mation. It is ignored if used to obtain cluster configuration information. 0 (data_only mode) The package configuration file will include only the configured attribute values. 1 (headline mode) The package configuration file will include the headline description and legal value for each con- figured and configurable attribute for the package. 2 (verbose mode) The package configuration file will include the full description and legal value for each configured and configurable attribute for the package. This is the default. -c cluster_name Name of the cluster for which to query cluster information. -K This option causes the probing of volume groups to be skipped, reducing the time for the command to complete. This option is not available for Linux. Note that if this option is used, cmgetconf will not add the list of cluster-aware volume groups to the resulting cluster configuration file. You must add the cluster-aware volume groups to the cluster configu- ration file before running cmapplyconf, or use the -K option of cmapplyconf when applying the generated configuration file. Failure to do so will result in all volume groups in the cluster being unusable in packages or for the cluster lock. -p package_name Name of an existing package for which to query package information. This option is mutually exclusive to the -P option. -P This option will write all package's configuration information to a specified output_filename. This option is mutually exclusive to the -p option. output_filename If -c and/or -p options are specified, the name of the file into which cmgetconf will copy cluster or package configura- tion information. If this parameter is not specified, the information will be directed to stdout. If the -P option is specified, the name of the directory into which cmgetconf will copy the configuration information for all packages. This parameter is required when -P option is specified. RETURN VALUE
Upon completion, cmgetconf returns one of the following values: 0 Successful completion. 1 Command failed. EXAMPLES
The high availability environment contains the cluster, clusterA , and packages pkg1 and pkg2. To generate the cluster configuration file for clusterA, and store the information in clusterA.conf, do the following: cmgetconf -c clusterA clusterA.conf To generate the cluster configuration file for clusterA, skipping disk probing, and store the information in clusterA.config, do the fol- lowing: cmgetconf -K -c clusterA clusterA.config To generate the package configuration file for pkg1, and store the information in pkg1.conf, do the following: cmgetconf -c clusterA -p pkg1 pkg1.conf To generate the package configuration files for all packages in the cluster, and store the information in the directory /tmp/pkgconfig, do the following: mkdir /tmp/pkgconfig cmgetconf -c clusterA -P /tmp/pkgconfig The directory /tmp/pkgconfig will contain two files, pkg1.ascii and pkg2.ascii. AUTHOR
cmgetconf was developed by HP. SEE ALSO
cmcheckconf(1m), cmapplyconf(1m), cmdeleteconf(1m), cmquerycl(1m), cmmakepkg(1m). Requires Optional Serviceguard Software cmgetconf(1m)