06-14-2004
The hostname <NAME> command will not survive a reboot.. edit the nodename file..
/Peter
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I am new to Solaris.
I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies
2. HP-UX
Hi
swlist command is not displayed in HP-UX ..it displays
swlist: Command not found.
uname -a
HP-UX inccishh B.11.11 U 9000/800 4046719263 unlimited-user license
:b:
Best Regards
vasanthan (4 Replies)
Discussion started by: vasanthan
4 Replies
3. Shell Programming and Scripting
My shell script which runs on solaris has an execution in it.
Contents of shell script BEGIN :
Executable_filename username/password@DBinstance parameter2 parameter3
Contents of shell script END :
When i launch the shell script, it connects to database to gets few details..
In the... (3 Replies)
Discussion started by: shafi2all
3 Replies
4. Shell Programming and Scripting
Hi,
I am a newbie to both Linux and this forum.
I was trying to pull out the data from a database but it is not showing up in the multiple lines, with my limited knowledge i linux u tried to format this but wasn't exactly getting what i wanted.
The screenshot below shows my problem.
... (2 Replies)
Discussion started by: Ninjaa
2 Replies
5. UNIX for Advanced & Expert Users
Say there is a shell script named test.sh. I intentionally omit the #! line in test.sh for testing perpose. I did the following :
$ echo $0
-ksh ---> current shell
$ echo $$
12919 ---> PID of the current shell... (4 Replies)
Discussion started by: hongwei
4 Replies
6. UNIX for Dummies Questions & Answers
I want the date to be displayed in two digits.
I have written a script to calculate yesterday's date. I'm getting the yesterday's date as 2009085.
Desired output:
20090805
Find the script below:
#!/bin/ksh
### Script to get Yesterday Date #############
Y=`date +'%Y'`... (6 Replies)
Discussion started by: venkatesht
6 Replies
7. Shell Programming and Scripting
Hi
While doing the following command password is gettin dispalyed :
ssh <host> "sudo command ; exit"
....
while i type my password for 2nd its gettin displayed ...
i tried stty -echo and stty echo
...
still i am havin problem..:confused: (1 Reply)
Discussion started by: ningy
1 Replies
8. Emergency UNIX and Linux Support
Hi All,
So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says:
It should say:
What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies
9. SuSE
when i open a terminal session of my SUSE server using puTTy and type "who am i" then it displays my local pc ip address.
root@LinuxSUSE1> who am i
root pts/8 2012-03-28 16:02 (192.168.134.213)
But when i open a terminal session of my SUSE server using Xmanager's Xstart and type... (9 Replies)
Discussion started by: Arun_Linux
9 Replies
10. UNIX for Advanced & Expert Users
deleted (0 Replies)
Discussion started by: hce
0 Replies
LEARN ABOUT SUSE
crm_master
CRM_MASTER(8) [FIXME: manual] CRM_MASTER(8)
NAME
crm_master - determine which resource instance to promote to master
SYNOPSIS
crm_master [-V|-Q] -D [-l lifetime]
crm_master [-V|-Q] -G [-l lifetime]
crm_master [-V|-Q] -v string [-l string]
DESCRIPTION
crm_master is called from inside the resource agent scripts to determine which resource instance should be promoted to master mode. It
should never be used from the command line and is just a helper utility for the resource agents. RAs use crm_master to promote a particular
instance to master mode or to remove this preference from it. By assigning a lifetime, determine whether this setting should survive a
reboot of the node (set lifetime to forever) or whether it should not survive a reboot (set lifetime to reboot).
A resource agent needs to determine on which resource crm_master should operate. These queries must be handled inside the resource agent
script. The actual calls of crm_master follow a syntax similar to those of the crm_attribute command.
OPTIONS
--help, -?
Print a help message.
--verbose, -V
Turn on debug information.
Note
Increase the level of verbosity by providing additional instances.
--quiet, -Q
When doing an attribute query using -G, print just the value to stdout. Use this option with -G.
--get-value, -G
Retrieve rather than set the preference to be promoted.
--delete-attr, -D
Delete rather than set the attribute.
--attr-value string, -v string
Value to set. This is ignored when used with -G.
--lifetime string, -l string
Specify how long the preference lasts. Possible values are reboot or forever.
ENVIRONMENT VARIABLES
OCF_RESOURCE_INSTANCE--the name of the resource instance
FILES
/var/lib/heartbeat/crm/cib.xml--the CIB (minus status section) on disk.
SEE ALSO
???, ???
AUTHOR
crm_master was written by Andrew Beekhof.
[FIXME: source] 07/05/2010 CRM_MASTER(8)