Today I installed XenServer65 into N54L with 8GB ram and 3 SATA 500GB disks.
First, get USB stick key image of Xenserver 6.5, and then copy it onto the flash memory.
You have to install syslinux boot loader too.
Next, stick to Microserver and start the installation wizard.
I use one of three sata disks as a local store. I checked thin provisioning.
The other disks are available for mirror raid.
Setup mdraid on XenServer.
gdisk /dev/sdb
gdisk /dev/sdc
disk type is 'fd00'.
if you reuse raid disk,
mdadm --zero-superblock /dev/sdb1
And now I set raid mirror, and register as a sr.
mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sdb1 /dev/sdc1
xe sr-create content-type=user type=ext device-config:device=/dev/md0 shared=false name-label="Local raid xen1" host-uuid={blah blah blah}
host-uuid is needed tobe set as the second host of xen pool.
This command is block still a few minutes. Wait.
You need set raid to start at host's boot, but /etc/mdadm.conf doesn't work.
Calling mdadm assembly from rc.local is a workaround.
I set 2 hosts in a pool.
Saturday, August 15, 2015
XenServer 6.5 with local mdraid
Installing XenServer6.5 onto N54L old-gen microserver, very very troublesome and tired.
Now I'm setting up raid on local drives, again happens many troubles.
How to register a local Raid to a new SR. Thanks.
Wait a few minutes till sr-create command returns, if you don't, your raid array may corrupt.
XenServer works well. But, mdraid doesn't auto start at boot, so I have to call assembly command at rc.local.
mdadm -A /dev/md0 /dev/sdb1 /dev/sdc1
Now I'm setting up raid on local drives, again happens many troubles.
How to register a local Raid to a new SR. Thanks.
Wait a few minutes till sr-create command returns, if you don't, your raid array may corrupt.
XenServer works well. But, mdraid doesn't auto start at boot, so I have to call assembly command at rc.local.
mdadm -A /dev/md0 /dev/sdb1 /dev/sdc1
Saturday, April 25, 2015
Xen project comparison
Xen Cloud Platform is a open source project branched from XenServer.
https://wiki.xenserver.org/XCP/XenServer_Feature_Matrix
https://wiki.xenserver.org/XCP/XenServer_Feature_Matrix
Annoying error in xenstored-access.log
http://support.citrix.com/article/CTX139034
This Citrix KB issues on this error.
My host has logged these same errors repeatedly in xenstored-access.log;
Apr 25 16:43:22 xen xapi: [ info|xen|3803017 UNIX /var/xapi/xapi|sm_exec D:d1f099a3f761|xapi] Session.create trackid=a3875dcd93de48167f9a2c8c4aea5163 pool=false uname= is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
Apr 25 16:43:23 xen xapi: [ info|xen|3803017 UNIX /var/xapi/xapi|sm_exec D:d1f099a3f761|xapi] Session.destroy trackid=a3875dcd93de48167f9a2c8c4aea5163
Apr 25 16:43:23 xen xapi: [ info|xen|3803028 UNIX /var/xapi/xapi|session.logout D:30e759bfe8cb|xapi] Session.destroy trackid=feddc289efff4b5b10f30ae51106939f
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ip 192.168.1.2
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/0/addr 2001:a5e8:22be:0:25c2:146f:ed04:30be
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/1/addr 2001:a5e8:22be:0:e07a:1cc2:b551:26cd
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/2/addr 2001:a5e8:22be:0:b8d4:46ec:2aaa:1117
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/3/addr 2001:a5e8:22be:0:54a1:b3ff:fed4:ce95
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/4/addr 2001:a5e8:22be:0:285b:e083:527:c87
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/5/addr 2001:a5e8:22be:0:6ceb:ab03:cf9b:270a
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/6/addr 2001:a5e8:22be:0:b19c:afc8:db74:e5cf
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/7/addr 2001:a5e8:22be:0:2c4a:c9a9:4603:6691
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/8/addr fe80::54a1:b3ff:fed4:ce95
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:32 xen xenstored: D69 write data/meminfo_free 69692
Apr 25 16:43:32 xen xenstored: A22 w event /local/domain/69/data/meminfo_free /local/domain/69/data/meminfo_free
Apr 25 16:43:32 xen xenstored: D69.54049 rm attr/eth0
Apr 25 16:43:32 xen xenstored: D69 write attr/eth0/ip 192.168.1.63
What is the error about?
I've found the quota settings.
/etc/xen/oxenstored.conf
quota-activate = true
quota-maxentity = 1000
quota-maxsize = 2048
quota-maxwatch = 100
quota-transaction = 10
I don't know of xen quota.
There seems no troubles, but it's annoying.
This Citrix KB issues on this error.
My host has logged these same errors repeatedly in xenstored-access.log;
Apr 25 16:43:22 xen xapi: [ info|xen|3803017 UNIX /var/xapi/xapi|sm_exec D:d1f099a3f761|xapi] Session.create trackid=a3875dcd93de48167f9a2c8c4aea5163 pool=false uname= is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
Apr 25 16:43:23 xen xapi: [ info|xen|3803017 UNIX /var/xapi/xapi|sm_exec D:d1f099a3f761|xapi] Session.destroy trackid=a3875dcd93de48167f9a2c8c4aea5163
Apr 25 16:43:23 xen xapi: [ info|xen|3803028 UNIX /var/xapi/xapi|session.logout D:30e759bfe8cb|xapi] Session.destroy trackid=feddc289efff4b5b10f30ae51106939f
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ip 192.168.1.2
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/0/addr 2001:a5e8:22be:0:25c2:146f:ed04:30be
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/1/addr 2001:a5e8:22be:0:e07a:1cc2:b551:26cd
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/2/addr 2001:a5e8:22be:0:b8d4:46ec:2aaa:1117
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/3/addr 2001:a5e8:22be:0:54a1:b3ff:fed4:ce95
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/4/addr 2001:a5e8:22be:0:285b:e083:527:c87
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/5/addr 2001:a5e8:22be:0:6ceb:ab03:cf9b:270a
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/6/addr 2001:a5e8:22be:0:b19c:afc8:db74:e5cf
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/7/addr 2001:a5e8:22be:0:2c4a:c9a9:4603:6691
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:29 xen xenstored: D43 write attr/eth0/ipv6/8/addr fe80::54a1:b3ff:fed4:ce95
Apr 25 16:43:29 xen xenstored: D43 error EQUOTA
Apr 25 16:43:32 xen xenstored: D69 write data/meminfo_free 69692
Apr 25 16:43:32 xen xenstored: A22 w event /local/domain/69/data/meminfo_free /local/domain/69/data/meminfo_free
Apr 25 16:43:32 xen xenstored: D69.54049 rm attr/eth0
Apr 25 16:43:32 xen xenstored: D69 write attr/eth0/ip 192.168.1.63
What is the error about?
I've found the quota settings.
/etc/xen/oxenstored.conf
quota-activate = true
quota-maxentity = 1000
quota-maxsize = 2048
quota-maxwatch = 100
quota-transaction = 10
I don't know of xen quota.
There seems no troubles, but it's annoying.
Subscribe to:
Posts (Atom)
