I have a pool setup with two xcp 1.6 61809c builds. I destroyed the local storage sr on both hosts, and attempted to re-create them. On the first host I was
able to successfully do this, but on the second host I keep getting failures:
[root@xs-04 ~]# ls -la /dev/disk/by-id/
total 0
drwxr-xr-x 2 root root 140 Jan 30 08:56 .
drwxr-xr-x 8 root root 160 Jan 30 08:56 ..
lrwxrwxrwx 1 root root 9 Jan 30 08:56 scsi-3600605b003349b30189b8956b27161a6 -> ../../sdb
lrwxrwxrwx 1 root root 9 Jan 30 08:56 scsi-SATA_Hitachi_HTS7250100521PCK200VJHJKU5J -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 30 08:56 scsi-SATA_Hitachi_HTS7250100521PCK200VJHJKU5J-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 30 08:56 scsi-SATA_Hitachi_HTS7250100521PCK200VJHJKU5J-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 30 08:56 scsi-SATA_Hitachi_HTS7250100521PCK200VJHJKU5J-part3 -> ../../sda3
[root@xs-04 ~]# xe host-list
uuid ( RO) : 6a5f2a4f-8f73-47c5-a4cf-09817777a55f
name-label ( RW): xs-03.<FQDN>
name-description ( RW): Default install of XenServer
uuid ( RO) : 5b73d60a-bca4-4793-a3e8-dc5c830c8e20
name-label ( RW): xs-04. <FQDN>
name-description ( RW): Default install of XenServer
[root@xs-04 ~]# xe sr-create content-type=user type=lvm shared=false name-label='Local storage' device-config:device=/dev/disk/by-id/scsi-3600605b003349b30189b8956b27161a6
uuid=5b73d60a-bca4-4793-a3e8-dc5c830c8e20
Error code: SR_BACKEND_FAILURE_19
Error parameters: , No such device [opterr=Device /dev/disk/by-id/scsi-3600605b003349b30189b8956b27161a6 does not exist],
… uh, yeah, it does exist!
[root@xs-04 ~]# grep -R '3600605b003349b30189b8956b27161a6' /var/log/*
/var/log/messages:Jan 30 08:43:53 xs-04 xapi: [ info|xs-04.<FQDN>|2893 UNIX /var/xapi/xapi||cli] xe sr-create password=null content-type=user type=lvm shared=false name-label=Local
storage device-config:device=/dev/disk/by-id/scsi-3600605b003349b30189b8956b27161a6 uuid=5b73d60a-bca4-4793-a3e8-dc5c830c8e20 username=root
/var/log/messages:Jan 30 09:22:38 xs-04 xapi: [ info|xs-04.<FQDN>|3175 UNIX /var/xapi/xapi||cli] xe sr-create password=null content-type=user type=lvm shared=false name-label=Local
storage device-config:device=/dev/disk/by-id/scsi-3600605b003349b30189b8956b27161a6 uuid=5b73d60a-bca4-4793-a3e8-dc5c830c8e20 username=root
/var/log/xensource.log:Jan 30 08:43:53 xs-04 xapi: [ info|xs-04.<FQDN>|2893 UNIX /var/xapi/xapi||cli] xe sr-create password=null content-type=user type=lvm shared=false
name-label=Local storage device-config:device=/dev/disk/by-id/scsi-3600605b003349b30189b8956b27161a6 uuid=5b73d60a-bca4-4793-a3e8-dc5c830c8e20 username=root
/var/log/xensource.log:Jan 30 09:22:38 xs-04 xapi: [ info|xs-04.<FQDN>|3175 UNIX /var/xapi/xapi||cli] xe sr-create password=null content-type=user type=lvm shared=false
name-label=Local storage device-config:device=/dev/disk/by-id/scsi-3600605b003349b30189b8956b27161a6 uuid=5b73d60a-bca4-4793-a3e8-dc5c830c8e20 username=root
What’s going on here? The logs don’t show any errors… even searching up to 10 lines after this device match.
Is this a problem because I have these in a pool?
- Brian Menges
Principal Engineer, DevOps
GoGrid | ServePath | ColoServe | UpStream Networks
From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx]
On Behalf Of P. Broennimann
Sent: Wednesday, January 30, 2013 01:04
To: xen-api@xxxxxxxxxxxxx
Subject: [Xen-API] XCP Guests Time Sync
Hi there
I found various posts on this but it is still not 100% clear to me.
I have two servers (with XCP 1.6) each running a handfull of Debian guests.
What is the best method to have the same time on all Debian guests? (On both servers there is a PostgreSQL database running in a master <-> master replication configuration so I am interested in having
everywhere the same time).
I see the following solutions:
1) Each Debian guest has its own ntp client.
2) XCP uses ntp to sync its own time and all guests then sync themselves with XCP.
Btw, does the installation of the "xs-tools" help in syncing times?