netzspezialist

Increase syslog and Tracking Center retention from 7 days to 31 days

nano /etc/logrotate.d/rsyslog

/var/log/syslog
 {
         rotate 31
         daily
         missingok
         notifempty
         delaycompress
         compress
         postrotate
                 /usr/lib/rsyslog/rsyslog-rotate
         endscript
 }
systemctl restart rsyslog.service

In case of a cluster, you have to do this Continue reading

Add package list:
nano /etc/apt/sources.list.d/mcp.list

Content:
# HPE Management Component Pack
deb http://downloads.linux.hpe.com/SDR/repo/mcp jessie/10.40 non-free

Note: stretch repo not working for DL120 G6 and use 10.40 version- Otherwise SMH won't connect to Lights-Out 100 

Add HPE public keys:
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 -

Install HP SMH and P410 Raid controller config

apt-get install hp-smh-templates cpqacuxe

Execute and Configure:
/sbin/hpsnmpconfig

public public public ....

Start Array Config tool:
cpqacuxe -R

Open: 
https://<server-ip>:2381

If user tries to login to user panel https://servername:2083 and login just refreshs, execute this script on cwp7 root shell:

sh /scripts/cwpsrv_rebuild_user_conf

If this does not help and the file system lock is active for this user, try this in Continue reading

Remove Amazon WebApp:

sudo apt purge ubuntu-web-launchers

Reduce red in Ubuntu comfort view:

gsettings set org.gnome.settings-daemon.plugins.color night-light-temperature <temperature>
  • 4000 Default night light temperature
  • 5500 More pleasant and less intense night light temperature
  • 6500 Default temperature (night light off)

Remmina RDP Continue reading

 

On Dell R720 with 2 x540 10GB Interfaces

lspci | grep Ethernet

does not show Virtual Function Interfaces

cat /sys/class/net/eth0/device/sriov_totalvfs

shows 63

cat /sys/class/net/eth0/device/sriov_numvfs

shows 0 and increase to 8 with

echo 8 > /sys/class/net/eth0/device/sriov_numvfs

Now lspci | grep Continue reading

XS72E017 contains
XS72E016
XS72E015
XS72E012
XS72E009
XS72E008
XS72E006
XS72E004
XS72E001

XS72E014

XS72E011

XS72E010

Generate certificates at sslforfree.

Install openssl.

openssl pkcs12 -export -out "host_domain_tld.pfx" -inkey "private.key" -in "certificate.crt" -certfile a_bundle.crt