Amber Lights + Remote Servers


 
Thread Tools Search this Thread
Operating Systems Linux SuSE Amber Lights + Remote Servers
# 1  
Old 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
# 2  
Old 06-08-2007
I thin you mean with amber and red lights some warning led's on the server itself... and I think you mean with a "walk trhough" that they walk in the server room an check if warning lights are blinking on the severs...... correct?

To give you a good answer, please tell me what brand of server are you using? We have a large number of Compaq DL380 and DL360 servers up and running and Compaq is providing the hpasmcli command to check everthing on hardware level and check if there are lights blinking on your hardware.

"hpasmcli is a scriptable command line interface for interacting with the hpasmd or hpasmxld management daemons. It is used to view/set/modify BIOS settings such as hyperthreading, boot control, and UID LEDs. It can also be used to display hardware status, such as fans, power supplies, etc.

The CLI supports TAB completion of command names and has a history buffer that can be accessed using the up/down arrows.

In addition to the command line interface, hpasmcli also supports a mode that is usable for incorporating into basic shell scripts. The return value of hpasmcli in script mode can be used to verify a command executed successfully. If multiple commands are executed, only the status of the last command is returned to the shell. As an example, the following first executes the ´SHOW SERVER´ command to retrieve basic system information, and next reads the status of the UID."


prtdiag, is a tool from SUN that is working with SUN4U hardware....

So dependingon your hardware you have to find a tool that is working for you. If you provide me your hardware brand and type I might be able to find something for you.

Please let us know.

Regards,
Johan Louwers.


Quote:
Originally Posted by BOFH
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script for remote servers

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

2. UNIX for Dummies Questions & Answers

Help with Copying files between two remote servers

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

3. Shell Programming and Scripting

Help with script to reach remote servers

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

4. Shell Programming and Scripting

Executing scripts on remote servers

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

5. AIX

Connect HMC to remote servers

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

6. Shell Programming and Scripting

Find the lights which are turn on.

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

7. Shell Programming and Scripting

Status of remote servers

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

8. Shell Programming and Scripting

Copy a file on remote servers

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

9. Shell Programming and Scripting

Need advices on scripting for remote servers

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

10. Shell Programming and Scripting

Connecting to remote servers

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
Login or Register to Ask a Question