So, both of my UPS's have both USB and serial ports. If I were to connect the UPS's to the xenservers via serial, is there a way to establish comms? What about a USB to IP converter? My concern is that although I think I would be able to tell the VMs to shut down in a power failure, how would I tell the servers themselves? I know a power failure is a sure way to hose a RAID array. Since the array was created by Xen, it is fully software managed.
Posts made by mazterjedi
-
RE: Xenserver 7 UPS monitoring
-
RE: How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array
@scottalanmiller said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:
yum-config-manager --enable base
[root@xenserver2 ssmtp]# yum-config-manager --enable base
-bash: yum-config-manager: command not found
[root@xenserver2 ssmtp]#Does the ssmtp at the end of the prompt make a difference? Shouldn't it just be [root@xenserver2] ?
-
Xenserver 7 UPS monitoring
Alright, here is another one....
So I have a couple of beefy UPS's that I would normally load their monitoring software on a Windows server, and the UPS would tell Windows to shutdown when the battery reaches a certain threshold after a power outage. So, how can I mimic this in Xenserver?
-
RE: How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array
Unfortunately, I have no clue what this means.
-
RE: How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array
@scottalanmiller
[root@xenserver2 ssmtp]# yum -y install postfix
Loaded plugins: fastestmirror
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable <repo>
[root@xenserver2 ssmtp]#[root@xenserver2 ssmtp]# yum repolist all
Loaded plugins: fastestmirror
repo id repo name status
base/7-2.1511.el7.centos.2.10/x86_64 CentOS-7-2.1511.el7.centos.2 disabled
base-debuginfo/x86_64 CentOS-7 - Debuginfo disabled
base-source/7-2.1511.el7.centos.2.10 CentOS-7-2.1511.el7.centos.2 disabled
centosplus/7-2.1511.el7.centos.2.10/x86_64 CentOS-7-2.1511.el7.centos.2 disabled
centosplus-source/7-2.1511.el7.centos.2.10 CentOS-7-2.1511.el7.centos.2 disabled
extras/7-2.1511.el7.centos.2.10/x86_64 CentOS-7-2.1511.el7.centos.2 disabled
extras-source/7-2.1511.el7.centos.2.10 CentOS-7-2.1511.el7.centos.2 disabled
updates/7-2.1511.el7.centos.2.10/x86_64 CentOS-7-2.1511.el7.centos.2 disabled
updates-source/7-2.1511.el7.centos.2.10 CentOS-7-2.1511.el7.centos.2 disabled
repolist: 0 -
RE: How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array
@scottalanmiller said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:
netstat -tulpn | grep 25
[root@xenserver2 ssmtp]# netstat -tulpn | grep 25
tcp 0 0 127.0.0.1:5902 0.0.0.0:* LISTEN 5525/qemu-dm-3
[root@xenserver2 ssmtp]# -
RE: How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array
[root@xenserver2 ssmtp]# sudo mdadm --monitor --scan --test -1
sendmail: Cannot open mail:25Any ideas?
BTW this is not using gmail, using our Cox smarthost with no auth/security
-
RE: Xenserver 7: RAID array monitoring
@DustinB3403
Personalities : [raid10]
md0 : active raid10 sdc1[1] sdd1[2] sdb1[0] sde1[3]
3906764800 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
bitmap: 0/30 pages [0KB], 65536KB chunkunused devices: <none>
Ahh, I see. 4 U's is good lol.
So i checked out that website and looked at adding the email alert to the mdadm. But how? Im sorry, I am very new at XS/Linux/Cent and all this CLI is throwing me for a loop. -
RE: Xenserver 7: RAID array monitoring
@DustinB3403 said in Xenserver 7: RAID array monitoring:
watch cat /proc/mdstat
Yep, everything looks good...How do i know when something goes south without constantly watching it, though?
-
Xenserver 7: RAID array monitoring
I have asked this question before, but I guess now I am asking it a different way...
From what I have read, it seems XS itself can not monitor a RAID array on a hardware controller. I have a new XS with a fresh RAID 10 array created in XS. RAID is disabled in the BIOS, so it should not be an issue. I created the array across four disks, formatted it, mounted it, and can see it in XC. I was successfully able to create a VM and copy a VM to the array with no issues. Now, how to I keep an eye on it? How do I get alerts? I see you can able alerts, but I dont see anything about RAID or HDD status, just thoughput.
-
RE: Xenserver 7: Cant Install Patch
@scottalanmiller and my luck they pulled it right when i would have tried to download it. SMH
-
RE: Xenserver 7: Cant Install Patch
SAM, yes, the two server are identical, hardware wise. Same CPU's, same RAM, same mobo, everything. The only difference is the amount of HDD's installed and the type of arrays on them. I would not be opposed to removing the patch from the known good server, but as Dustin points out, it sounds like a PITA. Plus I dont want to risk hosing my good server. I guess it cant wait, but I would think before they would pull a buggy patch they would already have to fix in place first or atleast provide details on how to remove the patch safely.
-
RE: Replacing a Failed drive in MD RAID 10
@scottalanmiller African or European?