07-23-2007
VRTSvcs is a Veritas package, where you are dealing with Sun Cluster. I think what you are wanting is more along the lines of:
vxclustadm -m <cluster monitor> startnode
As always, RTM is a good idea. See what the manpage for vxclustadm says.
Thanks,
Keith
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I am trying to schedule a one time job using the at command with the help of shell script for my project. The shell script should take a parameter as a command line argument from the at command itself. Is it possible to take a command line parameter for a shell script in the command... (3 Replies)
Discussion started by: Mohanraj
3 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
3. UNIX and Linux Applications
hi,
I have
* an IBM P550 machine,
* an AIX 5.3 running on it and
* an oracle database, already installed on it.
The problem (or question of my own) is:
Oracle tns listener, "CT_LISTENER", and the enterprise manager (EM) of the instance, which is uniq instance and called... (0 Replies)
Discussion started by: talipk
0 Replies
4. UNIX for Advanced & Expert Users
hi,
I have a problem about the Oracle related components. I'm not able to find any answer yet, and waiting for your responses...
Here is the configuration of my system:
* an IBM P550 machine,
* an AIX 5.3 running on it and
* an oracle database, already installed on it.
The problem (or... (1 Reply)
Discussion started by: talipk
1 Replies
5. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
6. Shell Programming and Scripting
I want to list all files/lines which except those which contain the pattern ' /proc/' OR ' /sys/' (mind the leading blank).
In a first approach I coded:
find / -exec ls -ld {} | grep -v ' /proc/| /sys/' \; > /tmp/list.txt
But this doesn't work. I got an error (under Ubuntu):
grep:... (5 Replies)
Discussion started by: pstein
5 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT OPENSOLARIS
scshutdown
scshutdown(1M) System Administration Commands scshutdown(1M)
NAME
scshutdown - shut down a cluster
SYNOPSIS
scshutdown [-y] [-g grace-period] [message]
DESCRIPTION
Note -
Beginning with the Sun Cluster 3.2 release, Sun Cluster software includes an object-oriented command set. Although Sun Cluster software
still supports the original command set, Sun Cluster procedural documentation uses only the object-oriented command set. For more infor-
mation about the object-oriented command set, see the Intro(1CL) man page.
The scshutdown utility shuts down an entire cluster in an orderly fashion.
Before starting the shutdown, scshutdown sends a warning message, then a final message asking for confirmation.
Only run the scshutdown command from one node.
The scshutdown command performs the following actions when it shuts down a cluster:
o Changes all functioning resource groups on the cluster to an offline state. If any transitions fail, scshutdown does not com-
plete and displays an error message.
o Unmounts all cluster file systems. If any unmounts fail, scshutdown does not complete and displays an error message.
o Shuts down all active device services. If any transition of a device fails, scshutdown does not complete and displays an error
message.
o Runs /usr/sbin/init 0 on all nodes. See init(1M) for more information.
You can use this command only in the global zone.
You need solaris.cluster.system.admin RBAC authorization to use this command. See rbac(5).
OPTIONS
The following options are supported:
-g grace-period Changes the number of seconds from the 60-second default to the time specified by grace-period.
-y Pre-answers the confirmation question so the command can be run without user intervention.
OPERANDS
The following operands are supported:
message Is a string that is issued after the standard warning message The system will be shut down in ... is issued. If message
contains more than one word, delimit it with single (') or double (") quotation marks. The warning message and the
user-provided message are output when there are 7200, 3600, 1800, 1200, 600, 300, 120, 60, and 30 seconds remaining
before scshutdown begins.
EXAMPLES
Example 1 Shutting Down a Cluster
phys-palindrome-1# scshutdown
EXIT STATUS
The following exit values are returned:
0 The command completed successfully.
nonzero An error occurred. Error messages are displayed on the standard output.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsczu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
Intro(1CL), cluster(1CL), shutdown(1M), init(1M), attributes(5)
Sun Cluster 3.2 10 Apr 2006 scshutdown(1M)