Main menu:

Site search

Januar 2026
M D M D F S S
 1234
567891011
12131415161718
19202122232425
262728293031  

Categories

Tags

Monitoring Software Raid on XenServer

1. Sync disks

mdadm --detail /dev/md0  

2. activate monitoring and create config file
mdadm --verbose --detail --scan >> /etc/mdadm.conf

3. Setup mail connection /etc/ssmtp/ssmtp.conf

root=your_mail@gmail.com
mailhub=smtp.gmail.com:587
Hostname=your_hostname.yourdomain.sth
UseTLS=YES
TLS_CA_File=/etc/pki/tls/certs/ca-bundle.crt
UseSTARTTLS=YES
AuthUser=your_mail@gmail.com
AuthPass=your_password
FromLineOverride=YES

4. Append mail address in /etc/mdadm.conf
...
MAILADDR destination_mail@provider.sth
MAILFROM your_mail@gmail.com

 

5. Test mail monitoring

mdadm --monitor --scan --test --oneshot

Write a comment