Next revision
|
Previous revision
|
hypervisor:hpman1604 [2016/09/20 09:25] giancarlo created |
hypervisor:hpman1604 [2017/01/09 14:23] (current) giancarlo |
<WRAP prewrap center> | <WRAP prewrap center> |
<code> | <code> |
# nano -w /etc/apt/sources.list | # nano -w /etc/apt/sources.list.d/mcp.list |
| |
+ deb http://downloads.linux.hp.com/SDR/repo/mcp dist/project_ver non-free | + deb http://downloads.linux.hpe.com/SDR/repo/mcp xenial/current non-free |
| |
# wget http://downloads.linux.hp.com/SDR/repo/mcp/GPG-KEY-mcp | apt-key add - | # curl http://downloads.linux.hpe.com/SDR/hpPublicKey1024.pub | apt-key add - |
| # curl http://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | apt-key add - |
| # curl http://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | apt-key add - |
| # curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add - |
# apt-get update | # apt-get update |
</code> | </code> |
# /sbin/hplog -t -f -p | # /sbin/hplog -t -f -p |
| |
ID TYPE LOCATION STATUS CURRENT THRESHOLD | ID TYPE LOCATION STATUS CURRENT THRESHOLD |
1 Basic Sensor Ambient Normal 66F/ 19C 107F/ 42C | 1 Basic Sensor I/O Zone Normal 102F/ 39C 158F/ 70C |
2 Basic Sensor Processor Zone Normal 104F/ 40C 158F/ 70C | 2 Basic Sensor Ambient Normal 62F/ 17C 102F/ 39C |
3 Basic Sensor Processor Zone Normal 104F/ 40C 158F/ 70C | 3 Basic Sensor Processor Zone Normal 86F/ 30C 260F/127C |
4 Basic Sensor Processor Zone Normal 104F/ 40C 158F/ 70C | 4 Basic Sensor Processor Zone Normal 86F/ 30C 260F/127C |
5 Basic Sensor Processor Zone Normal 104F/ 40C 158F/ 70C | 5 Basic Sensor System Board Normal 105F/ 41C 170F/ 77C |
6 Basic Sensor Memory Board Normal ---F/---C 188F/ 87C | 6 Basic Sensor Processor Zone Normal 86F/ 30C 260F/127C |
7 Basic Sensor Memory Board Normal 91F/ 33C 188F/ 87C | 7 Basic Sensor Processor Zone Normal 86F/ 30C 260F/127C |
8 Basic Sensor Memory Board Normal ---F/---C 188F/ 87C | |
9 Basic Sensor Memory Board Normal 89F/ 32C 188F/ 87C | |
10 Basic Sensor Memory Board Normal ---F/---C 188F/ 87C | |
11 Basic Sensor Memory Board Normal 84F/ 29C 188F/ 87C | |
12 Basic Sensor Memory Board Normal ---F/---C 188F/ 87C | |
13 Basic Sensor Memory Board Normal 84F/ 29C 188F/ 87C | |
14 Basic Sensor System Board Normal 95F/ 35C 140F/ 60C | |
15 Basic Sensor System Board Normal 111F/ 44C 221F/105C | |
16 Basic Sensor Pwr. Supply Bay Normal 80F/ 27C ---F/---C | |
17 Basic Sensor Pwr. Supply Bay Normal 82F/ 28C ---F/---C | |
18 Basic Sensor Pwr. Supply Bay Normal 96F/ 36C 167F/ 75C | |
19 Basic Sensor System Board Normal 105F/ 41C 239F/115C | |
20 Basic Sensor System Board Normal 107F/ 42C 239F/115C | |
21 Basic Sensor System Board Normal 102F/ 39C 239F/115C | |
22 Basic Sensor System Board Normal 102F/ 39C 239F/115C | |
23 Basic Sensor System Board Normal 89F/ 32C 176F/ 80C | |
24 Basic Sensor System Board Normal 113F/ 45C 239F/115C | |
25 Basic Sensor System Board Normal 109F/ 43C 239F/115C | |
26 Basic Sensor System Board Normal 111F/ 44C 239F/115C | |
27 Basic Sensor System Board Normal 98F/ 37C 239F/115C | |
28 Basic Sensor System Board Normal 93F/ 34C 239F/115C | |
29 Basic Sensor System Board Normal 93F/ 34C 239F/115C | |
30 Basic Sensor System Board Normal 93F/ 34C 239F/115C | |
31 Basic Sensor System Board Normal 91F/ 33C 239F/115C | |
32 Basic Sensor System Board Normal 147F/ 64C 212F/100C | |
33 Basic Sensor System Board Normal 107F/ 42C 176F/ 80C | |
34 Basic Sensor I/O Zone Normal ---F/---C 212F/100C | |
35 Basic Sensor I/O Zone Normal ---F/---C 212F/100C | |
36 Basic Sensor I/O Zone Normal ---F/---C 212F/100C | |
37 Basic Sensor I/O Zone Normal ---F/---C 212F/100C | |
38 Basic Sensor I/O Zone Normal ---F/---C 212F/100C | |
39 Basic Sensor I/O Zone Normal ---F/---C 212F/100C | |
40 Basic Sensor I/O Zone Normal 89F/ 32C 149F/ 65C | |
41 Basic Sensor I/O Zone Normal 93F/ 34C 149F/ 65C | |
42 Basic Sensor I/O Zone Normal 93F/ 34C 149F/ 65C | |
43 Basic Sensor I/O Zone Normal 87F/ 31C 149F/ 65C | |
44 Basic Sensor I/O Zone Normal 89F/ 32C 149F/ 65C | |
45 Basic Sensor I/O Zone Normal 91F/ 33C 149F/ 65C | |
46 Basic Sensor I/O Zone Normal ---F/---C 212F/100C | |
47 Basic Sensor System Board Normal 109F/ 43C 176F/ 80C | |
48 Basic Sensor System Board Normal 71F/ 22C 149F/ 65C | |
49 Basic Sensor Chassis Normal 102F/ 39C 176F/ 80C | |
| |
ID TYPE LOCATION STATUS REDUNDANT FAN SPEED | ID TYPE LOCATION STATUS REDUNDANT FAN SPEED |
1 Var. Speed System Board Normal Yes Normal ( 6) | 1 Var. Speed I/O Zone Normal Yes Normal ( 45) |
2 Var. Speed System Board Normal Yes Normal ( 6) | 2 Var. Speed I/O Zone Normal Yes Normal ( 45) |
3 Var. Speed System Board Normal Yes Normal ( 6) | 3 Var. Speed I/O Zone Normal Yes Normal ( 45) |
4 Var. Speed System Board Normal Yes Normal ( 6) | 4 Var. Speed I/O Zone Normal Yes Normal ( 45) |
5 Var. Speed System Board Normal Yes Normal ( 6) | 5 Var. Speed Processor Zone Normal Yes Normal ( 41) |
6 Var. Speed System Board Normal Yes Normal ( 6) | 6 Var. Speed Processor Zone Normal Yes Normal ( 41) |
| 7 Var. Speed Processor Zone Normal Yes Normal ( 36) |
| 8 Var. Speed Processor Zone Normal Yes Normal ( 36) |
| 9 Var. Speed Processor Zone Normal Yes Normal ( 36) |
| 10 Var. Speed Processor Zone Normal Yes Normal ( 36) |
| 11 Var. Speed Processor Zone Normal Yes Normal ( 36) |
| 12 Var. Speed Processor Zone Normal Yes Normal ( 36) |
| |
ID TYPE LOCATION STATUS REDUNDANT | ID TYPE LOCATION STATUS REDUNDANT |
1 Standard Pwr. Supply Bay Normal Yes | 1 Standard Pwr. Supply Bay Normal Yes |
2 Standard Pwr. Supply Bay Normal Yes | 2 Standard Pwr. Supply Bay Normal Yes |
| |
</code> | </code> |
</WRAP> | </WRAP> |
<WRAP prewrap center> | <WRAP prewrap center> |
<code> | <code> |
# /usr/sbin/hpssacli ctrl slot=0 show config | # /usr/sbin/hpssacli ctrl slot=1 show config |
| |
Smart Array P420i in Slot 0 (Embedded) (sn: 00143803116F5A0) | Smart Array P400 in Slot 1 (sn: **************) |
| |
| |
| Port Name: 1I |
| |
| Port Name: 2I |
| |
Internal Drive Cage at Port 1I, Box 1, OK | Internal Drive Cage at Port 1I, Box 1, OK |
| |
Internal Drive Cage at Port 2I, Box 0, OK | Internal Drive Cage at Port 2I, Box 1, OK |
array A (SAS, Unused Space: 0 MB) | array A (SAS, Unused Space: 0 MB) |
| |
| |
logicaldrive 1 (279.4 GB, RAID 1, OK) | logicaldrive 1 (136.7 GB, RAID 1, OK) |
| |
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 300 GB, OK) | physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SAS, 146 GB, OK) |
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 300 GB, OK) | physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SAS, 146 GB, OK) |
| physicaldrive 1I:1:8 (port 1I:box 1:bay 8, SAS, 146 GB, OK, spare) |
| |
| array B (SAS, Unused Space: 0 MB) |
| |
| |
| logicaldrive 3 (136.7 GB, RAID 1, OK) |
| |
| physicaldrive 1I:1:5 (port 1I:box 1:bay 5, SAS, 146 GB, OK) |
| physicaldrive 1I:1:6 (port 1I:box 1:bay 6, SAS, 146 GB, OK) |
| physicaldrive 1I:1:8 (port 1I:box 1:bay 8, SAS, 146 GB, OK, spare) |
| |
SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 380 (WWID: 500143803116F5AF) | |
</code> | </code> |
</WRAP> | </WRAP> |
FILELOG2="/root/log/"$(date +%Y%m%d%H%M%S)_arr.txt | FILELOG2="/root/log/"$(date +%Y%m%d%H%M%S)_arr.txt |
touch $FILELOG2 | touch $FILELOG2 |
/usr/sbin/hpssacli ctrl slot=0 show config &>$FILELOG2 | /usr/sbin/hpssacli ctrl slot=1 show config &>$FILELOG2 |
#===== | #===== |
| |
sendemail -f kvm@myDomain -t giancarlo.birello@myDomain -u Status -m Status -a $FILELOG1 $FILELOG2 -s mail.myDomain -q | sendemail -f kvm@myDomain -t giancarlo.birello@myDomain -u Status -m Status -a $FILELOG1 $FILELOG2 -s mail.myDomain -q |
| </code> |
| </WRAP> |
| * HP Agentless Management Service (AMS) |
| <WRAP prewrap center> |
| <code> |
| # apt-get install hp-ams |
</code> | </code> |
</WRAP> | </WRAP> |
| |