[Linux-PowerEdge] Proxmox with PERCH H710

Jean-Daniel Tissot Jean-Daniel.Tissot at univ-fcomte.fr
Tue Dec 24 02:22:56 CST 2019


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 at 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 at 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/debian                buster                  main

root at proxmox : wget -O - http://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | apt-key add -
root at proxmox : apt update
root at proxmox : apt -y install snmp snmpd snmp-mibs-downloader megacli
root at proxmox : sed -i -e 's/^defaultMonitors/# defaultMonitors/' -e 's/^linkUpDownNotifications/# linkUpDownNotifications/' -e 's/^smuxpeer/# smuxpeer/' /etc/snmp/snmpd.conf
root at proxmox : systemctl restart snmpd.service
root at proxmox : systemctl status snmpd.service
root at proxmox : apt-get -y install srvadmin-all srvadmin-idracadm7 srvadmin-idracadm8 dcism srvadmin-cm
root at proxmox : chmod 644 /lib/systemd/system/dcismeng.service
root at proxmox : chmod 640 /opt/dell/srvadmin/etc/omarolemap
root at proxmox : /opt/dell/srvadmin/sbin/srvadmin-services.sh restart
root at 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 at proxmox : apt -y install libgpgme11 gawk
root at proxmox : wget https://downloads.dell.com/FOLDER05605556M/1/Systems-Management_Application_DVHNP_LN64_1.7.0_A00.BIN
root at proxmox : bash Systems-Management_Application_DVHNP_LN64_1.7.0_A00.BIN
root at proxmox : dsu --version
root at 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-environnement                    UMR CNRS-UFC
Université de Franche-Comté, 16 route de Gray, 25030 Besançon Cedex, FRANCE
mailto:Jean-Daniel.Tissot at univ-fcomte.fr              tel: +33 3 81 666 440

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20191224/4c285827/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: OmReport.bash
URL: <http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20191224/4c285827/attachment-0001.ksh>
-------------- next part --------------
#!/bin/bash

#
# CopyLeft Jean-Daniel Tissot (JeanDaniel.Tissot at free.fr)
#
# Version 1.0.1
# 30 octobre 2018
#
# Adding PATH for OMSA command 02/11/2018
#

# omreport and omconfig are not in standard PATH
PATH=${PATH}:/opt/dell/srvadmin/bin:/opt/dell/srvadmin/sbin

# Search controllers

for controller in $(omreport storage controller | egrep '^ID' | awk -F : ' { print $2 } ' | sed -e 's/ //g')
do
echo "###########################################################################################"
echo "controller = $controller"

# Search vdisk on each controller
	for vdisk in $(omreport storage vdisk controller=$controller | egrep '^ID' | awk -F : ' { print $2 } ' | sed -e 's/ //g')
	do
		echo "vdisk = $vdisk"
		raid=$(omreport storage vdisk controller=$controller vdisk=$vdisk | grep Layout)
		if [ $(echo $raid | grep -c "RAID-0") = "1" ]; then
			echo "RAID 0 : Nothing to do"
			continue
		else
			echo $raid
			echo "omconfig storage vdisk action=checkconsistency controller=$controller vdisk=$vdisk";
			omconfig storage vdisk action=checkconsistency controller=$controller vdisk=$vdisk;
		fi
	done
	echo -e "###########################################################################################\n"
done
sudo -u logcheck logcheck 2>/dev/null
-------------- next part --------------
#!/bin/bash

#
# Make sure we're running as root
#
if (( $(id -u) != 0 )); then
        echo "Error: must be root. Exiting...";
        exit 1;
fi

umask 027

find /usr/libexec/dell_dup -type f ! -name "*.asc" -exec rm -f {} \;
rmdir /usr/libexec/dell_dup/* 2>/dev/null
(echo q | /usr/sbin/dsu -u --import-public-key --source-type=repository --source-location=http://ftp.dell.com/catalog) | mailx -s "Update FirmWare" sysadmin

rm -f /tmp/MvShareMemory0 /tmp/curlFile /tmp/null /tmp/qaucli* /tmp/vgname /tmp/pvinfo /tmp/diskList /tmp/updatehbaconf.sh.log
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3635 bytes
Desc: Signature cryptographique S/MIME
URL: <http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20191224/4c285827/attachment-0001.p7s>


More information about the Linux-PowerEdge mailing list