Hello everyone,
I'm doing an audit of all our servers here (there aren't that many maybe around 5-10) and one of the things I'm doing is taking note of each server's hardware specs (processor, memory, etc).
I can't seem to figure out how to get the information for the hard drives. The drives are in a hardware RAID5 array and are all SCSI types. I would like to get each physical SCSI drive's specifications (like, disk capacity).
Also, we have another server that also uses Hardware RAID and there's a RAID5 and a RAID1 array in there and I would also like to get as much information as I have on them.
How do I get this information from the console? Is this possible? I don't have physical access to the servers and can only log in remotely.
Thanks, Matt
Matt Arnilo S. Baluyos (Mailing Lists) wrote:
I'm doing an audit of all our servers here (there aren't that many maybe around 5-10) and one of the things I'm doing is taking note of each server's hardware specs (processor, memory, etc).
As a first task for your audit I'd recommend counting your servers :-p
I can't seem to figure out how to get the information for the hard drives. The drives are in a hardware RAID5 array and are all SCSI types. I would like to get each physical SCSI drive's specifications (like, disk capacity).
Hardware RAID cards are usually managed by third-party add-on programs. E.g. HP provides the tool called hpacucli which can determine everything regarding your RAID controller and discs.
What kind of hardware RAID solution do you have? If you can't determine, the output of lspci might help.
Zizi
PS: I hope it won't be a HTML mail :/
On 8/27/07, Mezei Zoltán mezei.zoltan@telefor.hu wrote:
Matt Arnilo S. Baluyos (Mailing Lists) wrote:
I'm doing an audit of all our servers here (there aren't that many maybe around 5-10) and one of the things I'm doing is taking note of each server's hardware specs (processor, memory, etc).
As a first task for your audit I'd recommend counting your servers :-p
Haha. Was too lazy to look at my notes. We currently have 8 servers.
Hardware RAID cards are usually managed by third-party add-on programs. E.g. HP provides the tool called hpacucli which can determine everything regarding your RAID controller and discs.
What kind of hardware RAID solution do you have? If you can't determine, the output of lspci might help.
It's a Dell 2550 PowerEdge server.
Below is the result of lspci:
00:00.0 Host bridge: Broadcom CNB20HE Host Bridge (rev 23) 00:00.1 Host bridge: Broadcom CNB20HE Host Bridge (rev 01) 00:00.2 Host bridge: Broadcom CNB20HE Host Bridge (rev 01) 00:00.3 Host bridge: Broadcom CNB20HE Host Bridge (rev 01) 00:0e.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) 00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 50) 00:0f.1 IDE interface: Broadcom OSB4 IDE Controller 00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 04) 01:08.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5700 Gigabit Ethernet (rev 10) 02:02.0 PCI bridge: Intel Corporation 80960RM [i960RM Bridge] (rev 01) 02:02.1 RAID bus controller: Dell PowerEdge Expandable RAID Controller 3/Di (rev 01) 02:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
On Monday 27 August 2007 09:19:16 Matt Arnilo S. Baluyos (Mailing Lists) wrote: [snip]
Hardware RAID cards are usually managed by third-party add-on programs. E.g. HP provides the tool called hpacucli which can determine everything regarding your RAID controller and discs.
What kind of hardware RAID solution do you have? If you can't determine, the output of lspci might help.
It's a Dell 2550 PowerEdge server.
Below is the result of lspci:
[snip]
02:02.1 RAID bus controller: Dell PowerEdge Expandable RAID Controller 3/Di (rev 01)
You might wont to install some Dell tools: http://linux.dell.com/repo/software/
Re
DELL had 2 main family of RAID hardware using 2 different drivers. Once is aacraid, and I manage them using afacli (command line tool)
Here is a getting started :-)
[root@max ~]# ls -l /dev/afa0 crw-r--r-- 1 root root 254, 0 Aug 27 13:30 /dev/afa0 [root@max ~]# afacli ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
DELL PowerEdge Expandable RAID Controller 2 Command Line Interface Copyright 1998-2004 Adaptec, Inc. All rights reserved ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CLI > open afa0 Executing: open "afa0"
AFA0> container list Executing: container list Num Total Oth Chunk Scsi Partition Label Type Size Ctr Size Usage B:ID:L Offset:Size ----- ------ ------ --- ------ ------- ------ ------------- 0 RAID-5 1.09TB 64KB Valid 0:00:0 64.0KB: 279GB /dev/sda RAID5_5x300 0:01:0 64.0KB: 279GB 0:05:0 64.0KB: 279GB 0:03:0 64.0KB: 279GB 0:04:0 64.0KB: 279GB
1 Volume 279GB Valid 0:02:0 64.0KB: 279GB /dev/sdb VOLUME_1X300
AFA0> disk show space Executing: disk show space
Scsi B:ID:L Usage Size ----------- ---------- ------------- 0:00:0 Container 64.0KB: 279GB 0:00:0 Free 279GB: 149MB 0:01:0 Container 64.0KB: 279GB 0:01:0 Free 279GB: 149MB 0:02:0 Container 64.0KB: 279GB 0:02:0 Free 279GB: 405MB 0:03:0 Container 64.0KB: 279GB 0:03:0 Free 279GB: 149MB 0:04:0 Container 64.0KB: 279GB 0:04:0 Free 279GB: 149MB 0:05:0 Container 64.0KB: 279GB 0:05:0 Free 279GB: 149MB
AFA0> help Executing: help close - Closes the currently opened controller when all access is completed. exit - Closes the currently opened controller and exits the CLI. open - Opens a controller for use in the CLI. The open command prepares a particular controller for access by the CLI. history_size - Set size of history buffer. reset_window - Reset the window. container - Container operation commands. container add_level - Creates a multilevel volume container which will contain the specified container as its only element. container create - Creates various containers and items. container create mirror - Creates a mirror set from a single entry volume set. container create mmirror - Creates a multilevel container of mirror sets from a multilevel container of single entry volume sets. .....
Manage RAID 5 is more than verify the container is ok ! You need to be active by checking the disk often for bad block and replace them. One I got bad block on 3 of a 4disk array another time it was 3disk on an array of 5 and this time I got lot of corrupted files (with bloc of 4k filled with random value). Now a check all my disk every month. Hope this help
Here all my own management script. You can run all these script when the system is running. Of course the disk verify will slow down the system :-)
# for file in *.afa *.sh ; do echo ======= $file =========== ; cat $file ; done ======= check.afa =========== open afa0 disk verify 0 disk verify 1 disk verify 2 disk verify 3 disk verify 4 disk verify 5 task list close exit
======= history.afa =========== open afa0 diagnostic show history close exit ======= status.afa =========== open afa0 disk list disk show space container list close exit ======= task.afa =========== open afa0 task list close exit ======= verify.afa =========== open afa0 task list diagnostic show history close exit ======= history.sh ===========
afacli @history.afa
======= start_check.sh =========== afacli @check.afa
echo "run verify.sh later (use task.sh to know if the task are done)"
======= status.sh ===========
afacli @status.afa
======= task.sh ===========
afacli @task.afa
======= verify.sh ===========
afacli @verify.afa | egrep "media_scan|ID(0:0.:0)|Periodic Time Display"
On 8/27/07, Matt Arnilo S. Baluyos (Mailing Lists) < matt.baluyos.lists@gmail.com> wrote:
On 8/27/07, Mezei Zoltán mezei.zoltan@telefor.hu wrote:
Matt Arnilo S. Baluyos (Mailing Lists) wrote:
I'm doing an audit of all our servers here (there aren't that many maybe around 5-10) and one of the things I'm doing is taking note of each server's hardware specs (processor, memory, etc).
As a first task for your audit I'd recommend counting your servers :-p
Haha. Was too lazy to look at my notes. We currently have 8 servers.
Hardware RAID cards are usually managed by third-party add-on programs. E.g. HP provides the tool called hpacucli which can determine everything regarding your RAID controller and discs.
What kind of hardware RAID solution do you have? If you can't determine, the output of lspci might help.
It's a Dell 2550 PowerEdge server.
Below is the result of lspci:
00:00.0 Host bridge: Broadcom CNB20HE Host Bridge (rev 23) 00:00.1 Host bridge: Broadcom CNB20HE Host Bridge (rev 01) 00:00.2 Host bridge: Broadcom CNB20HE Host Bridge (rev 01) 00:00.3 Host bridge: Broadcom CNB20HE Host Bridge (rev 01) 00:0e.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) 00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 50) 00:0f.1 IDE interface: Broadcom OSB4 IDE Controller 00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 04) 01:08.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5700 Gigabit Ethernet (rev 10) 02:02.0 PCI bridge: Intel Corporation 80960RM [i960RM Bridge] (rev 01) 02:02.1 RAID bus controller: Dell PowerEdge Expandable RAID Controller 3/Di (rev 01) 02:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
-- Stand before it and there is no beginning. Follow it and there is no end. Stay with the ancient Tao, Move with the present. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
if they are dells go to support.dell.com and input your system serial numbers. You'll get the information you need there.
Matt Arnilo S. Baluyos (Mailing Lists) wrote:
On 8/27/07, Mezei Zoltán mezei.zoltan@telefor.hu wrote:
Matt Arnilo S. Baluyos (Mailing Lists) wrote:
I'm doing an audit of all our servers here (there aren't that many maybe around 5-10) and one of the things I'm doing is taking note of each server's hardware specs (processor, memory, etc).
As a first task for your audit I'd recommend counting your servers :-p
Haha. Was too lazy to look at my notes. We currently have 8 servers.
Hardware RAID cards are usually managed by third-party add-on programs. E.g. HP provides the tool called hpacucli which can determine everything regarding your RAID controller and discs.
What kind of hardware RAID solution do you have? If you can't determine, the output of lspci might help.
It's a Dell 2550 PowerEdge server.
Below is the result of lspci:
00:00.0 Host bridge: Broadcom CNB20HE Host Bridge (rev 23) 00:00.1 Host bridge: Broadcom CNB20HE Host Bridge (rev 01) 00:00.2 Host bridge: Broadcom CNB20HE Host Bridge (rev 01) 00:00.3 Host bridge: Broadcom CNB20HE Host Bridge (rev 01) 00:0e.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) 00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 50) 00:0f.1 IDE interface: Broadcom OSB4 IDE Controller 00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 04) 01:08.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5700 Gigabit Ethernet (rev 10) 02:02.0 PCI bridge: Intel Corporation 80960RM [i960RM Bridge] (rev 01) 02:02.1 RAID bus controller: Dell PowerEdge Expandable RAID Controller 3/Di (rev 01) 02:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
Hi,
one solution which works for sure is to reboot your server, and then soon after the Dell logo disappears, a message is shown from the PERC (that's how the dell raids are called I think), where you can press <ctrl>-a or something like this. Then you are in the raid management tool where you get all the detailed infos about your disks as well as raid configurations.
Only if rebooting is an option for you, of course.
Regards, Sebastian
William Warren wrote:
if they are dells go to support.dell.com and input your system serial numbers. You'll get the information you need there.
Matt Arnilo S. Baluyos (Mailing Lists) wrote:
On 8/27/07, Mezei Zoltán mezei.zoltan@telefor.hu wrote:
Matt Arnilo S. Baluyos (Mailing Lists) wrote:
I'm doing an audit of all our servers here (there aren't that many maybe around 5-10) and one of the things I'm doing is taking note of each server's hardware specs (processor, memory, etc).
As a first task for your audit I'd recommend counting your servers :-p
Haha. Was too lazy to look at my notes. We currently have 8 servers.
Hardware RAID cards are usually managed by third-party add-on programs. E.g. HP provides the tool called hpacucli which can determine everything regarding your RAID controller and discs.
What kind of hardware RAID solution do you have? If you can't determine, the output of lspci might help.
It's a Dell 2550 PowerEdge server.
Below is the result of lspci:
00:00.0 Host bridge: Broadcom CNB20HE Host Bridge (rev 23) 00:00.1 Host bridge: Broadcom CNB20HE Host Bridge (rev 01) 00:00.2 Host bridge: Broadcom CNB20HE Host Bridge (rev 01) 00:00.3 Host bridge: Broadcom CNB20HE Host Bridge (rev 01) 00:0e.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) 00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 50) 00:0f.1 IDE interface: Broadcom OSB4 IDE Controller 00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 04) 01:08.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5700 Gigabit Ethernet (rev 10) 02:02.0 PCI bridge: Intel Corporation 80960RM [i960RM Bridge] (rev 01) 02:02.1 RAID bus controller: Dell PowerEdge Expandable RAID Controller 3/Di (rev 01) 02:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
On Mon, 2007-08-27 at 15:05 +0800, Matt Arnilo S. Baluyos (Mailing Lists) wrote:
Hello everyone,
I'm doing an audit of all our servers here (there aren't that many maybe around 5-10) and one of the things I'm doing is taking note of each server's hardware specs (processor, memory, etc).
I can't seem to figure out how to get the information for the hard drives. The drives are in a hardware RAID5 array and are all SCSI types. I would like to get each physical SCSI drive's specifications (like, disk capacity).
Also, we have another server that also uses Hardware RAID and there's a RAID5 and a RAID1 array in there and I would also like to get as much information as I have on them.
How do I get this information from the console? Is this possible? I don't have physical access to the servers and can only log in remotely.
Thanks, Matt
---- try this (as root naturally) wget -q -O - http://linux.dell.com/repo/software/bootstrap.cgi | bash yum install srvadmin-all modprobe ipmi_si modprobe ipmi_devintf srvadmin-services.sh start
then open a web browser and point it to the system in question...
https://ip_address_or_fqdn:1311
log in as root
otherwise, you can use 'omreport' commands also installed by above
Craig