Re: [Linux-PowerEdge] Proxmox with PERCH H710

2019-12-24 Thread Jean-Daniel Tissot
Le 23/12/2019 à 19:51, Jerry Warner a écrit :
>
> [EXTERNAL EMAIL]
>
> I had tried running the commands after removing the sudo's but I still wasn't 
> successful.   Based on Jeff Palmer's point that my version Debian isn't 
> listed, I won't move forward with it.
>
> I don't have drac operational. This is my first experience with it so I don't 
> have anything loaded for that either.   So much to learn, so little time.  
> I'm trying to migrate three servers up to Windows 2016 and 2019 because of 
> the drop in Microsoft updates.  They run as VMs on Proxmox but my lack of 
> knowledge of Linux definatly slows me down.
>
> Jerry
>
>
> ___
> Linux-PowerEdge mailing list
> Linux-PowerEdge@dell.com
> https://lists.us.dell.com/mailman/listinfo/linux-poweredge

Hi,

You can't use Buster because Dell don't do packages for Buster. Use Stretch.

root@promox : cat 
/etc/apt/sources.list.d/linux.dell.com.sources.list
#
# Monitoring Dell serveur
#
deb http://linux.dell.com/repo/community/openmanage/910/stretch 
stretch main
deb http://linux.dell.com/repo/community/openmanage/911/stretch 
stretch main
deb 
http://linux.dell.com/repo/community/openmanage/iSM/340/stretch/stretch 
main

#
# Megacli
#
deb http://hwraid.le-vert.net/debianbuster  
main

root@proxmox : wget -O - 
http://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | apt-key add -
root@proxmox : apt update
root@proxmox : apt -y install snmp snmpd snmp-mibs-downloader megacli
root@proxmox : sed -i -e 's/^defaultMonitors/# defaultMonitors/' -e 
's/^linkUpDownNotifications/# linkUpDownNotifications/' -e 's/^smuxpeer/# 
smuxpeer/' /etc/snmp/snmpd.conf
root@proxmox : systemctl restart snmpd.service
root@proxmox : systemctl status snmpd.service
root@proxmox : apt-get -y install srvadmin-all srvadmin-idracadm7 
srvadmin-idracadm8 dcism srvadmin-cm
root@proxmox : chmod 644 /lib/systemd/system/dcismeng.service
root@proxmox : chmod 640 /opt/dell/srvadmin/etc/omarolemap
root@proxmox : /opt/dell/srvadmin/sbin/srvadmin-services.sh restart
root@proxmox : crontab -l

[SNIP]
00 1 * * 0 /root/bin/OmReport.bash > /dev/null 2>&1
00 0 * * 0 /root/bin/UpdateFirmware.bash
0 1 1 * * /root/bin/VerifyRAIDCoherence.bash | mail -s "Vérification de la 
cohérence des disques virtuels en RAID" sysadmin
[SNIP]

For firmware update :

root@proxmox : apt -y install libgpgme11 gawk
root@proxmox : wget 
https://downloads.dell.com/FOLDER05605556M/1/Systems-Management_Application_DVHNP_LN64_1.7.0_A00.BIN
root@proxmox : bash Systems-Management_Application_DVHNP_LN64_1.7.0_A00.BIN
root@proxmox : dsu --version
root@proxmox : dsu -u --import-public-key --source-type=repository 
--source-location=http://ftp.dell.com/catalog/

 

-- 
Jean-Daniel Tissot - IE CNRS http://chrono-environnement.univ-fcomte.fr
UMR 6249 - Laboratoire Chrono-environnementUMR CNRS-UFC
Université de Franche-Comté, 16 route de Gray, 25030 Besançon Cedex, FRANCE
mailto:jean-daniel.tis...@univ-fcomte.fr  tel: +33 3 81 666 440

#!/bin/bash
 
# ~
# Company name - Division name - Project name
# ~
# HallOfTips - 04/05/2012 - HardChk.bash - 1.8
# -
# This script use the dell omreport & omconfig to check hardware status
# ~
 
#
# HOW-TO
#
# This script print its results to a text file ($TmpFile), that is either sent 
as an email (default behaviour) or printed to stdout (using the "-p" option).
#+ It could also clear given logs with the "-c " option
#
# Each hardware components status are retrieved using the omreport dell 
utility, for each hardware component the status might of 4 kind :
#   1 - Ok   = The component is in perfect condition
#   2 - Non-Critical = The component is NOT in perfect condition but is also 
not about to fail
#   3 - Critical = The component might be about to fail, you should fix the 
reported problem ASAP !
#   4 - Not found= The component was not found, this is the standard 
behaviour from the omreport utility
 
#
# TODO
#
 
#
# ChangeLog
#
 
## V1.8 (30/07/12)
# - Modded most of the shitty construct ""while read" +"echo line" + "read 
$line""
# - Added tac command to reverse the log display
 
## V1.7 (25/07/12)
# - Added BIOS settings check (Maximum Performance as power management profile)
# - Added CPU settings check (Turbo Mode & HyperThreading)
 
## V1.6 (29/06/12)
# - Added "ESMLOG" domain (check the esmlog)
 
## V1.5 (25/06/12)
# - Added "-c" option (clear logs)
 
## V1.4 (14/0

Re: [Linux-PowerEdge] Proxmox with PERCH H710

2019-12-23 Thread Jerry Warner



[EXTERNAL EMAIL] 



I had tried running the commands after removing the sudo's but I 
still wasn't successful.   Based on Jeff Palmer's point that my 
version Debian isn't listed, I won't move forward with it.


I don't have drac operational. This is my first experience with it so 
I don't have anything loaded for that either.   So much to learn, so 
little time.  I'm trying to migrate three servers up to Windows 2016 
and 2019 because of the drop in Microsoft updates.  They run as VMs 
on Proxmox but my lack of knowledge of Linux definatly slows me down.


Jerry


___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge


Re: [Linux-PowerEdge] Proxmox with PERCH H710

2019-12-23 Thread Robert Jacobson


[EXTERNAL EMAIL] 


>-bash: sudo: command not found

Take the "sudo" out of that command.  You don't need it if you're running as
root.  i.e.:

gpg -a --export 1285491434D8786F | apt-key add -



-Original Message-
From: Linux-PowerEdge [mailto:linux-poweredge-boun...@dell.com] On Behalf Of
Jerry Warner
Sent: Monday, December 23, 2019 10:42 AM
To: linux-poweredge@dell.com
Subject: [Linux-PowerEdge] Proxmox with PERCH H710


[EXTERNAL EMAIL] 


I need step by step help to install the Dell software to monitor the RAID
health on a Poweredge T320 running Proxmox (based on Debian GNU/Linux 10
(buster))

I tried to follow the instructions at
http://linux.dell.com/repo/community/ubuntu/ but clearly I'm doing something
wrong and I'm not savy enough with Linux to know what it is.

root@pve:~# touch /etc/apt/sources.list.d/linux.dell.com.sources.list
root@pve:~# echo 'deb http://linux.dell.com/repo/community/ubuntu 
{release-name}openmanage'
deb http://linux.dell.com/repo/community/ubuntu {release-name} openmanage

root@pve:~# gpg --keyserver pool.sks-keyservers.net --recv-key
1285491434D8786F
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 1285491434D8786F: public key "Dell Inc., PGRE 2012 (PG 
Release Engineer   ing Build Group 2012) 
" imported
gpg: Total number processed: 1
gpg:   imported: 1
root@pve:~# gpg -a --export 1285491434D8786F | sudo apt-key add -
-bash: sudo: command not found
gpg: [stdout]: write error: Broken pipe
gpg: filter_flush failed on close: Broken pipe root@pve:~# gpg -a --export
1285491434D8786F | sudo apt-key add
-bash: sudo: command not found
gpg: [stdout]: write error: Broken pipe
gpg: filter_flush failed on close: Broken pipe root@pve:~# gpg --keyserver
hkp://pool.sks-keyservers.net:80 
--recv-key 12854914   34D8786F
gpg: key 1285491434D8786F: "Dell Inc., PGRE 2012 (PG Release 
Engineering Build G   roup 2012) " not
changed
gpg: Total number processed: 1
gpg:  unchanged: 1
root@pve:~#  gpg -a --export 1285491434D8786F | apt-key add - OK root@pve:~#
apt-get update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://ftp.us.debian.org/debian buster InRelease
Get:3 http://ftp.us.debian.org/debian buster-updates InRelease [49.3 kB]
Hit:4 http://download.proxmox.com/debian/pve buster InRelease Fetched 49.3
kB in 1s (44.8 kB/s) Reading package lists... Done root@pve:~# apt-get
install srvadmin-all Reading package lists... Done Building dependency tree
Reading state information... Done
E: Unable to locate package srvadmin-all


I could use some help.


___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge


[Linux-PowerEdge] Proxmox with PERCH H710

2019-12-23 Thread Jerry Warner



[EXTERNAL EMAIL] 



I need step by step help to install the Dell software to monitor the 
RAID health on a Poweredge T320 running Proxmox (based on Debian 
GNU/Linux 10 (buster))


I tried to follow the instructions at 
http://linux.dell.com/repo/community/ubuntu/ but clearly I'm doing 
something wrong and I'm not savy enough with Linux to know what it is.


root@pve:~# touch /etc/apt/sources.list.d/linux.dell.com.sources.list
root@pve:~# echo 'deb http://linux.dell.com/repo/community/ubuntu 
{release-name}openmanage'

deb http://linux.dell.com/repo/community/ubuntu {release-name} openmanage

root@pve:~# gpg --keyserver pool.sks-keyservers.net --recv-key 1285491434D8786F
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 1285491434D8786F: public key "Dell Inc., PGRE 2012 (PG 
Release Engineer   ing Build Group 2012) 
" imported

gpg: Total number processed: 1
gpg:   imported: 1
root@pve:~# gpg -a --export 1285491434D8786F | sudo apt-key add -
-bash: sudo: command not found
gpg: [stdout]: write error: Broken pipe
gpg: filter_flush failed on close: Broken pipe
root@pve:~# gpg -a --export 1285491434D8786F | sudo apt-key add
-bash: sudo: command not found
gpg: [stdout]: write error: Broken pipe
gpg: filter_flush failed on close: Broken pipe
root@pve:~# gpg --keyserver hkp://pool.sks-keyservers.net:80 
--recv-key 12854914   34D8786F
gpg: key 1285491434D8786F: "Dell Inc., PGRE 2012 (PG Release 
Engineering Build G   roup 2012) " not changed

gpg: Total number processed: 1
gpg:  unchanged: 1
root@pve:~#  gpg -a --export 1285491434D8786F | apt-key add -
OK
root@pve:~# apt-get update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://ftp.us.debian.org/debian buster InRelease
Get:3 http://ftp.us.debian.org/debian buster-updates InRelease [49.3 kB]
Hit:4 http://download.proxmox.com/debian/pve buster InRelease
Fetched 49.3 kB in 1s (44.8 kB/s)
Reading package lists... Done
root@pve:~# apt-get install srvadmin-all
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package srvadmin-all


I could use some help.


___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge