06-05-2007
Amber Lights + Remote Servers
Ok, so we get reports from operations after they do walk throughs about servers with amber or red lights showing. They want us to resolve the issues. On Solaris I can run prtdiag to identify the amber lights and clear them (replace hardware or "reboot" the daemon).
How do I remotely figure out what the amber light is telling me on a linux box (Red Hat and SuSE) so I can address the issue?
Thanks.
Carl
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please advise,
The previous thread asked about the automated transfer of files between two servers. The question is - is there any way of encrypting the password within the script or is it a matter of setting the permissions settings on the script so that it can only be executed and possibly... (1 Reply)
Discussion started by: rdbooth
1 Replies
2. Shell Programming and Scripting
Hi guys, I need some advice and recommendations for a work project I am doing. Let me state that security is not a concern as this is a closed network and the data is not sensitive.
Here's what I would like to do and how I was planning to accomplish it: I have an application on my remote... (1 Reply)
Discussion started by: blueicedrop2000
1 Replies
3. Shell Programming and Scripting
Hey Unix Gurus,
I'm having trouble in copying a file on 5 different servers, first how can you do it locally (i.e without the need to ssh to the server you want to copy the file) and if you need to ssh how do u run a command within that server. Please see my code below(it doesn't work somehow).... (10 Replies)
Discussion started by: sexyTrojan
10 Replies
4. Shell Programming and Scripting
hi,
Say me the command to check the status of server. whether its up or down (11 Replies)
Discussion started by: satheeshkr_cse
11 Replies
5. Shell Programming and Scripting
See the interview question from other site, that I'd like to implement by AWK.
The rules are:
There are 100 lamps, number from 1 to 100. Initially, all of them are returned off.
First time, if the number of lamp is multiple by one, switch the lamp status; that's mean, if it turn off, turn it... (4 Replies)
Discussion started by: rdcwayx
4 Replies
6. AIX
I'm trying to connect a few servers in different remote locations to my HMC. I added static IPs to the Service Processor through ASM, and did all the necessary network configurations, then connected those servers to our switch. Now my questions are:
- in our site, do I need to connect these... (4 Replies)
Discussion started by: Dardeer
4 Replies
7. Shell Programming and Scripting
Hello all,
I'm typing away a script that will send a script to a remote host and execute it.
This is what i have at the moment and i was wondering if i can improve that or thats basicly what everybody does.
Using bash on RHEL 5.5
To over simplify it...
#!/bin/bash
#
start_ () {
... (3 Replies)
Discussion started by: maverick72
3 Replies
8. Shell Programming and Scripting
new3=`cat /tmp/list3`
for pol in "$new3" $(su - dbadmin -c "ssh $new3 '/usr//llist'");
do export policy=`echo $pol`; su - dbadmin -c "ssh $x '/usr/policycmd $policy -L |grep -i active; echo $policy'">>/tmp/listxyz;done
I am having trouble with this testscript as the file list3 has two names... (1 Reply)
Discussion started by: newbie2010
1 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
Please help me for a shell. I am a New to unix
I am trying to DB dump file from one server and copying it to another server.
From My Local ServerA connecting to remote ServerB using ssh and taking dump of a instance. That Dump file i need to copy to ServerC.
I am able to connect... (6 Replies)
Discussion started by: maddyd2k
6 Replies
10. Shell Programming and Scripting
Hi ,
I have written a small script :
set -x
#!/bin/ksh
for i in `cat /tmp/list` ( list contains remove servers )
do
ssh -t $i << EOF
uname -a
cd ~user
echo "Enter the dir >"
read dir
path=`ll -ld /home/user/"$dir"`
if ; then
echo "Dir exists "
read
rm $path
else
echo "no such... (9 Replies)
Discussion started by: kpatel786
9 Replies
LEARN ABOUT OPENDARWIN
x_buttontest
x_buttontest(6) Games and Demos x_buttontest(6)
NAME
x_buttontest - Xview demonstration and test program for SunButtons
SYNOPSIS
/usr/demo/BUTTONBOX/x_buttontest
DESCRIPTION
x_buttontest is an Xview application that displays a window with thirty two buttons, corresponding to those on the SunButtons buttonbox.
To determine if the buttonbox has been set up correctly, select the Diagnostic button on the panel. If the buttonbox is functional and cor-
rectly interfaced, each of the buttons will light in sequence for about 1 second. Then "OK." is sent to the standard output of the demo
program. x_buttontest is now in its (default) interactive mode. Pressing a button on the buttonbox highlights the corresponding button on
the screen. Additionally, x_buttontest sends a BDIOBUTLITE ioctl to the buttonbox in response to each key press and key release, so that
the button light is illuminated while the button is held down.
If the serial communications become confused, as can happen when both the buttonbox and the dialbox are operated at the same time, one or
more button lights may remain on after the button is released. Clicking on the Reset button on the panel will unconditionally turn all the
button lights off.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |SPARC |
+-----------------------------+-----------------------------+
SEE ALSO
bdconfig(1M), attributes(5), x_dialtest(6), bd(7M), streamio(7I)
SunOS 5.10 1 Jan 1997 x_buttontest(6)