Sponsored Content
Operating Systems Solaris Sun Cluster query for enable/disable Post 302547518 by hergp on Tuesday 16th of August 2011 02:29:42 AM
Old 08-16-2011
clrs controls a single resource within a resource group, it's not ment to control a resource-group.

To start or stop a resource-group, use the clrg command, like:
Code:
clrg online -n nodename resource-group
clrg offline resource-group


Last edited by hergp; 08-16-2011 at 03:47 AM..
 

10 More Discussions You Might Find Interesting

1. Linux

Enable and disable ttyS0

I have a modem connect it to ttyS0 , in unix sco i know i can disable and enable the port , how can i do this , is there a command that will allow me to do this. **** I'm running Redhat 9 *****External Usrobotics 56k Thanks a lot guys (1 Reply)
Discussion started by: josramon
1 Replies

2. Solaris

Enable/Disable rlogin and rcopy

How can i disable rlogin or rcopy from being running as a services in my system ? is there a way ? and is it gonna affect other remote services like ssh and telnet ? (3 Replies)
Discussion started by: XP_2600
3 Replies

3. UNIX for Advanced & Expert Users

Disable and Enable Backspace or Ctrl^H in vi

Could anybody tell me how I can disable or enable the backspace key in vi editor. I would like to feel the essence of the commands of vi editor but as I have the latest version and it is supporting the backspace key. I do it on promp using the command stty erase - This command stops the... (5 Replies)
Discussion started by: mobile01
5 Replies

4. Shell Programming and Scripting

Enable & disable cronjob

Hi All, I am new to cronjob and need some guidance on this. 1) How do i enable a cronjob ? Can it be done by "crontab mycronfile" or "crontab -e mycronfile" 2) How can i disable the cronjob? Can deleting of the "mycronfile" disable the cron or do i need to perform "crontab -r mycronfile"... (7 Replies)
Discussion started by: Raynon
7 Replies

5. Cybersecurity

How to disable RIP and enable EGP

Hello, We recently had a Nessus scan done of our system and the solution to one of the findings was this: disable the RIP agent and use an EGP routing protocol I have been unable to find any specific instruction on how to do either. We are running Solaris 8. Any help would be greatly... (3 Replies)
Discussion started by: stringman
3 Replies

6. Solaris

SSH enable, Telnet disable ...

Hi... How do I enable SSH and disable telnet.. Also - is there anything special I need to do to ensure that a new user can use ssh and su but not telnet? Adel (15 Replies)
Discussion started by: ArabOracle.com
15 Replies

7. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

8. UNIX for Dummies Questions & Answers

crontab: disable/enable

since i don't have root access, i have been doing: crontab -l > /tmp/username.crontab crontab -r vi /tmp/username.crontab and copy page crontab -e, and paste sometimes, /tmp/username.crontab has more than 1 page, so i have to copy twice. how do i copy all contents from... (2 Replies)
Discussion started by: tjmannonline
2 Replies

9. HP-UX

FTP service Enable/Disable

hi everybody, I can easily enable /disable the FTP service from SAM, how can I do this via command line? using inetd? how? cheers, messi (1 Reply)
Discussion started by: messi777
1 Replies

10. Solaris

Sun cluster 4.0 - zone cluster failover doubt

Hello experts - I am planning to install a Sun cluster 4.0 zone cluster fail-over. few basic doubts. (1) Where should i install the cluster s/w binaries ?. ( global zone or the container zone where i am planning to install the zone fail-over) (2) Or should i perform the installation on... (0 Replies)
Discussion started by: NVA
0 Replies
Intro(1CL)						 Sun Cluster Maintenance Commands						Intro(1CL)

NAME
Intro, intro - introduction to Sun Cluster maintenance commands DESCRIPTION
This section describes the object-oriented command set for Sun Cluster. Although the original Sun Cluster command set is still available, use the object-oriented commands for more intuitive configuration of your cluster. In addition, future new features might not be available in the original command set. The object-oriented command set uses a common prefix cl. The original command set used the prefix sc. Both the sc and cl commands are located in /usr/cluster/bin. Many commands in this command set have both a long form and a short form. For example, clresource(1CL) and clrs(1CL) are identical. Each object-oriented command is designed to manage a single type of cluster object. The command name indicates the type of object that it manages. For example, the clresource command manages Sun Cluster data service resources. Within a command, subcommands define operations that are allowed on the specific cluster object. The general form of commands in the object-oriented command set is as follows: cmdname [subcommand] [option...] [operand ...] Options that you use with the object-oriented commands also have a long form and a short form. You specify the short form of an option with a single dash (-) followed by a single character. You specify the long form of an option with two dashes (--) followed by an option word. For example, -p is the short form of the property option. --property is the long form. Some options accept an option argument while others do not. If an option accepts an option argument, the option argument is required. The -? option requires no arguments. However, the --property option requires an option argument that identifies the property being operated on. You can group the short form of options without arguments behind a single dash (-). For example, -emM. You must separate groups of option- arguments following an option either by commas, or by a tab or a space character. When using a tab or space, surround the option-arguments with quotation marks (-o xxx,z,yy or -o "xxx z yy"). To specify option arguments with long option names, use either the --input=configurationfile format or the --input configurationfile for- mat. All commands in this command set accept the -? or --help option. If you provide these options without a subcommand, summary help for the command is displayed. If you provide a subcommand, help for that subcommand only is displayed. Certain commands work in conjunction with a configuration file. For information on the required format of this file, see the clconfigura- tion(5CL) man page. Many subcommands in this command set accept + as an operand to indicate all applicable objects. LIST OF COMMANDS
This section describes, in alphabetical order, the object-oriented commands that are available with the Sun Cluster product. claccess(1CL) Manage Sun Cluster access policies for adding nodes cldevice(1CL), cldev(1CL) Manage Sun Cluster devices cldevicegroup(1CL), cldg(1CL) Manage Sun Cluster device groups clinterconnect(1CL), clintr(1CL) Manage the Sun Cluster interconnect clnasdevice(1CL), clnas(1CL) Manage access to NAS devices for Sun Cluster clnode(1CL) Manage Sun Cluster nodes clquorum(1CL), clq(1CL) Manage Sun Cluster quorum clreslogicalhostname(1CL), clrslh(1CL) Manage Sun Cluster resources for logical host names clresource(1CL), clrs(1CL) Manage resources for Sun Cluster data services clresourcegroup(1CL), clrg(1CL) Manage resource groups for Sun Cluster data services clresourcetype(1CL), clrt(1CL) Manage resource types for Sun Cluster data services clressharedaddress(1CL), clrssa(1CL) Manage Sun Cluster resources for shared addresses clsetup(1CL) Configure Sun Cluster interactively clsnmphost(1CL) Administer Sun Cluster SNMP hosts clsnmpmib(1CL), clmib(1CL) Administer Sun Cluster SNMP MIB clsnmpuser(1CL) Administer Sun Cluster SNMP users cltelemetryattribute(1CL) Configure system resource monitoring. cluster(1CL) Manage the global configuration and the global status of Sun Cluster clvxvm(1CL) Configure Veritas Volume Manager for Sun Cluster MAPPING ORIGINAL SUN CLUSTER COMMANDS TO OBJECT-ORIENTED COMMANDS Because the newer command set is object oriented, a clear one-to-one mapping from the original command set does not exist. The following list provides some common Sun Cluster commands from the original set and their object-oriented set equivalents. scstat cluster status You can also use the status subcommands that are available with many of the object-oriented commands. scinstall Use cluster create to create a cluster from an XML configuration file. To create a cluster interactively, use scinstall. scrgadm o clresource o clresourcetype o clresourcegroup clressharedaddress and clreslogicalhostname provide additional conveniences when you work with those particular resource types. scswitch o clresource o clresourcetype o clresourcegroup o clreslogicalhostname o clressharedaddress o clnode evacuate (to move off a node all resource groups and device groups) scconf o cldevicegroup o clinterconnect o clquorum o clnode o claccess Use cluster show instead of scconf -p. scdidadm cldevice scgdevs cldevice populate scdpm cldevice scvxinstall clvxvm scnas, scnasdir clnasdevice scsetup clsetup EXIT STATUS
If an object-oriented Sun Cluster command is successful for all specified operands, the command returns zero (CL_NOERR). If an error occurs for an operand, the command processes the next operand in the operand list. The returned exit code always reflects the error that occurred first. These exit codes are shared across this set of commands. 0 CL_NOERR No error The command that you issued completed successfully. 1 CL_ENOMEM Not enough swap space A cluster node ran out of swap memory or ran out of other operating system resources. 3 CL_EINVAL Invalid argument You typed the command incorrectly, or the syntax of the cluster configuration information that you supplied with the -i option was incorrect. 5 CL_ERECONF Cluster is reconfiguring The cluster is reconfiguring. 6 CL_EACCESS Permission denied The object that you specified is inaccessible. You might need superuser or RBAC access to issue the command. See the su(1M) and rbac(5) man pages for more information. 9 CL_ESTATE Object is in wrong state You tried to modify a property, a resource group, or other object that you cannot modify at that particular time or at any time. 10 CL_EMETHOD Resource method failed A method of a resource failed. The method failed for one of the following reasons: o The validate method failed when you tried to create a resource or modify the properties of a resource. o A method other than validate failed when you tried to enable, disable, or delete a resource. 15 CL_EPROP Invalid property The property or value that you specified with the -p, -y, or -x option does not exist or is not allowed. 18 CL_EINTERNAL Internal error was encountered An internal error indicates a software defect or other defect. 35 CL_EIO I/O error A physical input/output error has occurred. 36 CL_ENOENT No such object The object that you specified cannot be found for one of the following reasons: o The object does not exist. o A directory in the path to the configuration file that you attempted to create with the -o option does not exist. o The configuration file that you attempted to access with the -i option contains errors. 37 CL_EOP Operation not allowed You tried to perform an operation on an unsupported configuration, or you performed an unsupported operation. 38 CL_EBUSY Object busy You attempted to remove a cable from the last cluster interconnect path to an active cluster node. Or, you attempted to remove a node from a cluster configuration from which you have not removed references. 39 CL_EEXIST Object exists The device, device group, cluster interconnect component, node, cluster, resource, resource type, or resource group that you specified already exists. 41 CL_ETYPE Invalid type The type that you specified with the -t or -p option does not exist. 50 CL_ECLMODE Node is in cluster mode You attempted to perform an operation on a node that is booted in cluster mode. However, you can perform this operation only on a node that is booted in noncluster mode. 51 CL_ENOTCLMODE Node is not in cluster mode You attempted to perform an operation on a node that is booted in noncluster mode. However, you can perform this operation only on a node that is booted in cluster mode. SEE ALSO
getopt(1) ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE | |VALUE | | +-----------------------------+-----------------------------+ |Availability |SUNWsczu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ Sun Cluster 3.2 31 Oct 2005 Intro(1CL)
All times are GMT -4. The time now is 11:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy