AW: AW: Run Windows on top of KVM+virtio? Watch out for Windows updates, system unbootable!

2015-12-10 Thread Jochim, Ingo
Nux,

I worked with the SUSE VMDP drivers (downloaded from SUSE) on Xen quite a lot 
in the past.
Upgrading the drivers was always a nightmare and we ran into bluescreens very 
often.
Since version 2 they also come with Virtio.

I don't know if those are the same drivers which come with Windows.
Any idea?

Regards,
Ingo

-Ursprüngliche Nachricht-
Von: Nux! [mailto:n...@li.nux.ro] 
Gesendet: Freitag, 11. Dezember 2015 02:27
An: users@cloudstack.apache.org
Cc: dev
Betreff: Re: AW: Run Windows on top of KVM+virtio? Watch out for Windows 
updates, system unbootable!

Ingo,

Yes, I use the same. But the drivers "SUSE Storage/Net" in Windows Optional 
updates override them. 
Verified on 2008r2 and 2012r2.
Luckily the damage is limited as they are in the Optional channel, not sure how 
many people chose to install those alongside the Important ones, but hopefully 
it won't be that many.

I also got fscked by an update Microsoft pushed for some Intel fake-raid the 
other day.
You'd think a humongous, multi-billion dollar company has some resources to do 
QA, especially on their "Enterprise" products.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Jochim, Ingo" 
> To: users@cloudstack.apache.org, "dev" 
> Sent: Thursday, 10 December, 2015 11:58:03
> Subject: AW: Run Windows on top of KVM+virtio? Watch out for Windows updates, 
> system unbootable!

> Hi,
> 
> you can use the virtio drivers from the Fedora Project.
> I didn't have problems on W2k12 and W2k12R2.
> 
> https://fedoraproject.org/wiki/Windows_Virtio_Drivers
> 
> Regards,
> Ingo
> 
> 
> -Ursprüngliche Nachricht-
> Von: Nux! [mailto:n...@li.nux.ro]
> Gesendet: Mittwoch, 9. Dezember 2015 10:42
> An: dev
> Cc: Cloudstack Users List
> Betreff: Run Windows on top of KVM+virtio? Watch out for Windows 
> updates, system unbootable!
> 
> Hi,
> 
> Just a quick heads-up!
> Someone on the CentOS ML reported his Windows 2008r2 VM on top of 
> KVM+VirtIO PV ended up unbootable after he installed the SUSE Network 
> and Storage drivers from the Optional Updates channel.
> I've just checked now and it's the case, the system blue screens after reboot.
> Will test 2012r2 shortly.
> 
> 
> It'd be best if you don't install those updates/drivers for now, looks 
> like someone in Redmond didn't do his homework.
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> --
> This email was Virus checked by UTM 9. http://www.sophos.com
> 
> --
> This email was Virus checked by UTM 9. http://www.sophos.com


Re: ACS Virtual Routers VPN multiple connections‏

2015-12-10 Thread Jayapal Reddy
Hi Patrick,

Connecting multiple remote access vpn clients from behind nat (from the
same public ip) is not supported in strongswan vpn also.
I think this is possible with the ikve2 but not with ikve1. Ikev2 i have
not tried.

Thanks,
Jayapal

On Mon, Oct 26, 2015 at 5:11 PM, Patrick W.  wrote:

> Hi Jayapal,
> Great, thanks for your quick precise reply!I saw your work on replacing it
> with strongswan. Is this going to potentially resolve this limitation? Any
> status to share on this work?
> Many many thanks!Patrick
>
> > From: jayapalreddy.ur...@citrix.com
> > To: users@cloudstack.apache.org
> > Subject: Re: ACS Virtual Routers VPN multiple connections‏
> > Date: Mon, 26 Oct 2015 11:17:45 +
> >
> > Hi Patrick,
> >
> > ACS VR is using the openswan ipsec for vpn.
> > Only one VPN client connection is supported by openswan when multiple
> clients are trying to connect to same public of the VR. This is the
> limitation from the openswan ipsec.
> >
> > Thanks,
> > Jayapal
> >
> >
> > > On 26-Oct-2015, at 4:33 pm, Patrick W.  wrote:
> > >
> > > Hi All,
> > >
> > >
> > >
> > >
> > >
> > > I’d like to get some of your feedback about the operation of
> > > the VPN feature of ACS Virtual Routers. The main problem encountered
> is the
> > > fact that only one single L2TP/IPSec connection can be established at
> a time,
> > > from the same physical location, behind the same gateway / router /
> NAT device
> > > / single public IP. Two or more clients can establish connections if
> they’re
> > > not in the same location and behind the same restrictions listed above.
> > >
> > > As this has been observed on multiple locations, with
> > > various network topologies, setup and hardware, before digging into
> the network
> > > configuration and options, I wanted to ensure it’s not a limitation
> coming from
> > > the ACS VR itself.
> > >
> > >
> > >
> > >
> > >
> > > Has anyone experienced or bypassed the same constraint?
> > >
> > >
> > >
> > >
> > >
> > > Thanks in advance
> > >
> > > patrick
> >
>
>


Re: cloudstack UI through accelerator/cache/proxy

2015-12-10 Thread Tim Mackey
I too use NetScaler and I actually found compression to have more of an
impact than caching. Caching probably didn't help as much due to the jQuery
stuff.
On Dec 10, 2015 8:30 PM, "Nux!"  wrote:

> Hi,
>
> I've been running something like this without issues using mr Kinsella's
> instructions for a good while now.
> http://theresnomon.co/2014/improving-cloudstack-ui-performance/
>
> I've seen visible improvements in performance, at least with the version
> we have in production (4.4).
>
> HTH
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
> > From: "Giles Sirett" 
> > To: users@cloudstack.apache.org
> > Sent: Thursday, 10 December, 2015 11:06:01
> > Subject: cloudstack UI through accelerator/cache/proxy
>
> > I’m trying to get a basic understanding on how much  the performance of
> the ACS
> > UI would improve if it was run through some form of accelerator/reverse
> > proxy/cache (i.e. something like a netscaler)
> >
> > Scenario is a management server that is a long way (physically)  from
> the users,
> > therefore latency is causing UI delays. Idea would be to put an
> accelerator
> > close to the users so it can cache the static pieces of the ACS UI
> >
> > We will be doing some testing on this, but wanted to know from the
> outset  if
> > anybody has a gut feel for how well the ACS UI may behave when run
> through a
> > setup like this
> >
> >
> >
> >
> >
> > Kind Regards
> > Giles
> >
> > Giles Sirett
> > CEO
> >
> > [cid:image003.png@01D104EF.CE276C40]
> >
> > D: +44 20 3603 0541 | S: +44 20 3603 0540 | M: +44 796 111 2055
> >
> > giles.sir...@shapeblue.com |
> > www.shapeblue.com |
> > Twitter:@shapeBlue
> >
> >
> > Find out more about ShapeBlue and our range of CloudStack related
> services
> >
> > IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> > CSForge – rapid IaaS deployment framework
> > CloudStack Consulting
> > CloudStack Software
> > Engineering
> > CloudStack Infrastructure
> > Support
> > CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
> >
> > This email and any attachments to it may be confidential and are
> intended solely
> > for the use of the individual to whom it is addressed. Any views or
> opinions
> > expressed are solely those of the author and do not necessarily
> represent those
> > of Shape Blue Ltd or related companies. If you are not the intended
> recipient
> > of this email, you must neither take any action based upon its contents,
> nor
> > copy or show it to anyone. Please contact the sender if you believe you
> have
> > received this email in error. Shape Blue Ltd is a company incorporated in
> > England & Wales. ShapeBlue Services India LLP is a company incorporated
> in
> > India and is operated under license from Shape Blue Ltd. Shape Blue
> Brasil
> > Consultoria Ltda is a company incorporated in Brasil and is operated
> under
> > license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
> registered by
> > The Republic of South Africa and is traded under license from Shape Blue
> Ltd.
> > ShapeBlue is a registered trademark.
>


Re: cloudstack UI through accelerator/cache/proxy

2015-12-10 Thread Nux!
Hi,

I've been running something like this without issues using mr Kinsella's 
instructions for a good while now.
http://theresnomon.co/2014/improving-cloudstack-ui-performance/

I've seen visible improvements in performance, at least with the version we 
have in production (4.4).

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Giles Sirett" 
> To: users@cloudstack.apache.org
> Sent: Thursday, 10 December, 2015 11:06:01
> Subject: cloudstack UI through accelerator/cache/proxy

> I’m trying to get a basic understanding on how much  the performance of the 
> ACS
> UI would improve if it was run through some form of accelerator/reverse
> proxy/cache (i.e. something like a netscaler)
> 
> Scenario is a management server that is a long way (physically)  from the 
> users,
> therefore latency is causing UI delays. Idea would be to put an accelerator
> close to the users so it can cache the static pieces of the ACS UI
> 
> We will be doing some testing on this, but wanted to know from the outset  if
> anybody has a gut feel for how well the ACS UI may behave when run through a
> setup like this
> 
> 
> 
> 
> 
> Kind Regards
> Giles
> 
> Giles Sirett
> CEO
> 
> [cid:image003.png@01D104EF.CE276C40]
> 
> D: +44 20 3603 0541 | S: +44 20 3603 0540 | M: +44 796 111 2055
> 
> giles.sir...@shapeblue.com |
> www.shapeblue.com |
> Twitter:@shapeBlue
> 
> 
> Find out more about ShapeBlue and our range of CloudStack related services
> 
> IaaS Cloud Design & Build
> CSForge – rapid IaaS deployment framework
> CloudStack Consulting
> CloudStack Software
> Engineering
> CloudStack Infrastructure
> Support
> CloudStack Bootcamp Training 
> Courses
> 
> This email and any attachments to it may be confidential and are intended 
> solely
> for the use of the individual to whom it is addressed. Any views or opinions
> expressed are solely those of the author and do not necessarily represent 
> those
> of Shape Blue Ltd or related companies. If you are not the intended recipient
> of this email, you must neither take any action based upon its contents, nor
> copy or show it to anyone. Please contact the sender if you believe you have
> received this email in error. Shape Blue Ltd is a company incorporated in
> England & Wales. ShapeBlue Services India LLP is a company incorporated in
> India and is operated under license from Shape Blue Ltd. Shape Blue Brasil
> Consultoria Ltda is a company incorporated in Brasil and is operated under
> license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by
> The Republic of South Africa and is traded under license from Shape Blue Ltd.
> ShapeBlue is a registered trademark.


Re: AW: Run Windows on top of KVM+virtio? Watch out for Windows updates, system unbootable!

2015-12-10 Thread Nux!
Ingo,

Yes, I use the same. But the drivers "SUSE Storage/Net" in Windows Optional 
updates override them. 
Verified on 2008r2 and 2012r2.
Luckily the damage is limited as they are in the Optional channel, not sure how 
many people chose to install those alongside the Important ones, but hopefully 
it won't be that many.

I also got fscked by an update Microsoft pushed for some Intel fake-raid the 
other day.
You'd think a humongous, multi-billion dollar company has some resources to do 
QA, especially on their "Enterprise" products.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Jochim, Ingo" 
> To: users@cloudstack.apache.org, "dev" 
> Sent: Thursday, 10 December, 2015 11:58:03
> Subject: AW: Run Windows on top of KVM+virtio? Watch out for Windows updates, 
> system unbootable!

> Hi,
> 
> you can use the virtio drivers from the Fedora Project.
> I didn't have problems on W2k12 and W2k12R2.
> 
> https://fedoraproject.org/wiki/Windows_Virtio_Drivers
> 
> Regards,
> Ingo
> 
> 
> -Ursprüngliche Nachricht-
> Von: Nux! [mailto:n...@li.nux.ro]
> Gesendet: Mittwoch, 9. Dezember 2015 10:42
> An: dev
> Cc: Cloudstack Users List
> Betreff: Run Windows on top of KVM+virtio? Watch out for Windows updates, 
> system
> unbootable!
> 
> Hi,
> 
> Just a quick heads-up!
> Someone on the CentOS ML reported his Windows 2008r2 VM on top of KVM+VirtIO 
> PV
> ended up unbootable after he installed the SUSE Network and Storage drivers
> from the Optional Updates channel.
> I've just checked now and it's the case, the system blue screens after reboot.
> Will test 2012r2 shortly.
> 
> 
> It'd be best if you don't install those updates/drivers for now, looks like
> someone in Redmond didn't do his homework.
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> --
> This email was Virus checked by UTM 9. http://www.sophos.com
> 
> --
> This email was Virus checked by UTM 9. http://www.sophos.com


Re: Can I delete a unused VHD in a chain?

2015-12-10 Thread Vadim Kimlaychuk
The fact you didn't find all the references in database is OK - 
XenServer can "spawn" extra files by itself and rename new UUID-s to old 
ones in order to keep VHD UUIDs consistent. This is also described in an 
article I have sent you before.


I would only trust the output of "vhd-util". It seems XenServer can't 
coalesce 1a240d45[VHD] for some reason. Can it be hardware error? Have 
you tried to read content of this LV like dd if=/path/to/LV of=/dev/null 
?


Second question - are you sure coalesce is done for correct UUIDs?  You 
can check the chain by vhd-util manually. Like here: 
http://discussions.citrix.com/topic/236371-show-wich-vhd-files-are-linked-together




Vadim.


On 2015-12-10 13:40, France wrote:


Vladim, thank you again for follow up.

The references below, found or not found are to CS MySql database.
All the files are actually there, they are LV devices in CLVM, I just 
did not find any references in CS database for their UUIDs.


The corrupt one is:
/dev/VG_XenStorage-3b6e386d-8736-6b6b-7006-f3f4df9bd586/VHD-1a240d45-ee0a-4c30-809b-3114dfaf85ba

I know that is corrupt, because there are lots of entries in SMlog for 
it like this:
[8756] 2015-12-07 21:50:45.118758 ['/usr/sbin/vhd-util', 'check', 
'--debug', '-n', 
'/dev/VG_XenStorage-3b6e386d-8736-6b6b-7006-f3f4df9bd586/VHD-1a240d45-ee0a-4c30-809b-3114dfaf85ba']
[8756] 2015-12-07 21:50:45.131975 FAILED: (rc 22) stdout: 'primary 
footer invalid: invalid cookie
/dev/VG_XenStorage-3b6e386d-8736-6b6b-7006-f3f4df9bd586/VHD-1a240d45-ee0a-4c30-809b-3114dfaf85ba 
appears invalid; dumping metadata

VHD Footer Summary:
---
Cookie : conectix
Features : (0x0002) 
File format version : Major: 1, Minor: 0
Data offset : 512
Timestamp : Mon Dec 7 18:19:46 2015
Creator Application : 'tap'
Creator version : Major: 1, Minor: 3
Creator OS : Unknown!
Original disk size : 20480 MB (21474836480 Bytes)
Current disk size : 20480 MB (21474836480 Bytes)
Geometry : Cyl: 41610, Hds: 16, Sctrs: 63
: = 20479 MB (21474754560 Bytes)
Disk type : Differencing hard disk
Checksum : 0xef85|0xef85 (Good!)
UUID : 8f25299d-d7cc-44fe-a42b-95b4e9a31a47
Saved state : No
Hidden : 1

VHD Header Summary:
---
Cookie : cxsparse
Data offset (unusd) : 18446744073709
Table offset : 1536
Header version : 0x0001
Max BAT size : 1048576
Block size : 2097152 (2 MB)
Parent name : 
VG_XenStorage--3b6e386d--8736--6b6b--7006--f3f4df9bd586-VHD--02e8b56b--279c--4d5b--8870--b3c5f2255dc7

Parent UUID : 8cece4c9-8c94-47b9-9f7a-cb6023da9b72
Parent timestamp : Mon Dec 7 18:19:46 2015
Checksum : 0xc6ed|0xc6ed (Good!)

VHD Parent Locators:

locator: : 0
code : PLAT_CODE_MACX
data_space : 512
data_length : 110
data_offset : 4327424
decoded name : 
./VG_XenStorage--3b6e386d--8736--6b6b--7006--f3f4df9bd586-VHD--02e8b56b--279c--4d5b--8870--b3c5f2255dc7


locator: : 1
code : PLAT_CODE_W2KU
data_space : 512
data_length : 206
data_offset : 4327936
decoded name : 
./VG_XenStorage--3b6e386d--8736--6b6b--7006--f3f4df9bd586-VHD--02e8b56b--279c--4d5b--8870--b3c5f2255dc7


locator: : 2
code : PLAT_CODE_W2RU
data_space : 512
data_length : 206
data_offset : 4328448
decoded name : 
./VG_XenStorage--3b6e386d--8736--6b6b--7006--f3f4df9bd586-VHD--02e8b56b--279c--4d5b--8870--b3c5f2255dc7


VHD Batmap Summary:
---
Batmap offset : 4196352
Batmap size (secs) : 256
Batmap version : 0x00010002
Checksum : 0xff7f|0xff7f (Good!)

', stderr: ''
[8756] 2015-12-07 21:50:45.132293 ['/usr/sbin/vhd-util', 'query', 
'--debug', '-s', '-n', 
'/dev/VG_XenStorage-3b6e386d-8736-6b6b-7006-f3f4df9bd586/VHD-1a240d45-ee0a-4c30-809b-3114dfaf85ba']

[8756] 2015-12-07 21:50:45.145222 SUCCESS
[8756] 2015-12-07 21:50:45.145502 lock: tried lock 
/var/lock/sm/3b6e386d-8736-6b6b-7006-f3f4df9bd586/sr, acquired: True 
(exists: True)
[8756] 2015-12-07 21:50:45.145635 lock: released 
/var/lock/sm/3b6e386d-8736-6b6b-7006-f3f4df9bd586/sr
[8756] 2015-12-07 21:50:45.145752 ['/usr/sbin/lvchange', 
'/dev/VG_XenStorage-3b6e386d-8736-6b6b-7006-f3f4df9bd586/VHD-1a240d45-ee0a-4c30-809b-3114dfaf85ba', 
'-p', 'r']

..
..
..
<8756> 2015-12-07 21:50:45.229864 
*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

<8756> 2015-12-07 21:50:45.229919 ***
<8756> 2015-12-07 21:50:45.229969 * E X C E P T I O N *
<8756> 2015-12-07 21:50:45.230017 ***
<8756> 2015-12-07 21:50:45.230077 coalesce: EXCEPTION util.SMException, 
VHD *1a240d45[VHD](20.000G//136.000M|n) corrupted
<8756> 2015-12-07 21:50:45.230129 File "/opt/xensource/sm/cleanup.py", 
line 1397, in coalesce

self._coalesce(vdi)
File "/opt/xensource/sm/cleanup.py", line 1587, in _coalesce
vdi._doCoalesce()
File "/opt/xensource/sm/cleanup.py", line 1050, in _doCoalesce
self.parent.validate()
File "/opt/xensource/sm/cleanup.py", line 1043, in validate
VDI.validate(self, fast)
File "/opt/xensource/sm/cleanup.py", line 633, in validate
raise util.SMException("VHD %s corrupted" % self)

<8756> 2015-12

AW: Run Windows on top of KVM+virtio? Watch out for Windows updates, system unbootable!

2015-12-10 Thread Jochim, Ingo
Hi,

you can use the virtio drivers from the Fedora Project.
I didn't have problems on W2k12 and W2k12R2.

https://fedoraproject.org/wiki/Windows_Virtio_Drivers

Regards,
Ingo


-Ursprüngliche Nachricht-
Von: Nux! [mailto:n...@li.nux.ro] 
Gesendet: Mittwoch, 9. Dezember 2015 10:42
An: dev
Cc: Cloudstack Users List
Betreff: Run Windows on top of KVM+virtio? Watch out for Windows updates, 
system unbootable!

Hi,

Just a quick heads-up! 
Someone on the CentOS ML reported his Windows 2008r2 VM on top of KVM+VirtIO PV 
ended up unbootable after he installed the SUSE Network and Storage drivers 
from the Optional Updates channel.
I've just checked now and it's the case, the system blue screens after reboot. 
Will test 2012r2 shortly.


It'd be best if you don't install those updates/drivers for now, looks like 
someone in Redmond didn't do his homework.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

-- 
This email was Virus checked by UTM 9. http://www.sophos.com

-- 
This email was Virus checked by UTM 9. http://www.sophos.com


RE: cloudstack UI through accelerator/cache/proxy

2015-12-10 Thread Timothy Lothering
Hi Giles,

We use Netscaler to accelerate ACS, albeit only static content as Erik 
mentioned. It is only really beneficial with multiple ACS Management Servers 
(and ours are 1 hop away @ 2Gbps). And to re-iterate what Erik said, the 
browser will cache most of the content.

Kind Regards,

Timothy Lothering
Timothy Lothering
Solutions Architect
Managed Services

T: +27877415535
F: +27877415100
C: +27824904099
E: tlother...@datacentrix.co.za


DISCLAIMER NOTICE: 

Everything in this e-mail and any attachments relating to the official business 
of Datacentrix Holdings Ltd. and its subsidiaries 
('Datacentrix') is proprietary to Datacentrix. It is confidential, legally 
privileged and protected by law. Datacentrix does not 
own and endorse any other content. Views and opinions are those of the sender 
unless clearly stated as being that of Datacentrix. 
The person addressed in the e-mail is the sole authorised recipient. Please 
notify the sender immediately if it has unintentionally 
reached you and do not read, disclose or use the content in any way. 
Datacentrix cannot assure that the integrity of this communication 
has been maintained nor that it is free of errors, virus, interception or 
interference.
-Original Message-
From: Erik Weber [mailto:terbol...@gmail.com] 
Sent: Thursday, 10 December 2015 1:26 PM
To: users@cloudstack.apache.org
Subject: Re: cloudstack UI through accelerator/cache/proxy

The only thing you could cache as far as I can see is static content (js, css, 
pictures) and list calls.

Anything that triggers an action has to reach the mgmt server and cannot be 
cached.
When caching list calls you have to either have a really short lifespan, or a 
proper method of invalidating the content on changes.

As for caching static content I am not sure if it really is worth it, it is 
only loaded on the first page load, and with recent ACS versions it should be 
cached by your browser as well.
I guess that theoretically you could build a custom version of the client-web 
that reference static content from another server (
static.customer.com) and ensure through DNS that users use a mirror close by.

--
Erik

On Thu, Dec 10, 2015 at 12:06 PM, Giles Sirett 
wrote:

> I’m trying to get a basic understanding on how much  the performance 
> of the ACS UI would improve if it was run through some form of 
> accelerator/reverse proxy/cache (i.e. something like a netscaler)
>
>
>
> Scenario is a management server that is a long way (physically)  from 
> the users, therefore latency is causing UI delays. Idea would be to 
> put an accelerator close to the users so it can cache the static 
> pieces of the ACS UI
>
>
>
> We will be doing some testing on this, but wanted to know from the 
> outset  if anybody has a gut feel for how well the ACS UI may behave 
> when run through a setup like this
>
>
>
>
>
>
>
>
>
>
>
> Kind Regards
>
> Giles
>
>
>
> Giles Sirett
>
> *CEO*
>
>
>
> *[image: cid:image003.png@01D104EF.CE276C40]*
>
>
>
> D: +44 20 3603 0541 | S: +44 20 3603 0540 | M: +44 796 111 2055
>
>
>
> giles.sir...@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue 
> 
>
>
>
>
> Find out more about ShapeBlue and our range of CloudStack related 
> services
>
> IaaS Cloud Design & Build
> 
> CSForge – rapid IaaS deployment framework 
>  CloudStack Consulting 
> 
> CloudStack Software Engineering
> 
> CloudStack Infrastructure Support
> 
> CloudStack Bootcamp Training Courses
> 
>
> This email and any attachments to it may be confidential and are 
> intended solely for the use of the individual to whom it is addressed. 
> Any views or opinions expressed are solely those of the author and do 
> not necessarily represent those of Shape Blue Ltd or related 
> companies. If you are not the intended recipient of this email, you 
> must neither take any action based upon its contents, nor copy or show 
> it to anyone. Please contact the sender if you believe you have 
> received this email in error. Shape Blue Ltd is a company incorporated 
> in England & Wales. ShapeBlue Services India LLP is a company 
> incorporated in India and is operated under license from Shape Blue 
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in 
> Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA 
> Pty Ltd is a company registered by The Republic of South Africa and is traded 
> under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>


Re: Can I delete a unused VHD in a chain?

2015-12-10 Thread France
Vladim, thank you again for follow up.

The references below, found or not found are to CS MySql database.
All the files are actually there, they are LV devices in CLVM, I just did not 
find any references in CS database for their UUIDs.

The corrupt one is:
/dev/VG_XenStorage-3b6e386d-8736-6b6b-7006-f3f4df9bd586/VHD-1a240d45-ee0a-4c30-809b-3114dfaf85ba

I know that is corrupt, because there are lots of entries in SMlog for it like 
this:
[8756] 2015-12-07 21:50:45.118758   ['/usr/sbin/vhd-util', 'check', 
'--debug', '-n', 
'/dev/VG_XenStorage-3b6e386d-8736-6b6b-7006-f3f4df9bd586/VHD-1a240d45-ee0a-4c30-809b-3114dfaf85ba']
[8756] 2015-12-07 21:50:45.131975   FAILED: (rc 22) stdout: 'primary footer 
invalid: invalid cookie
/dev/VG_XenStorage-3b6e386d-8736-6b6b-7006-f3f4df9bd586/VHD-1a240d45-ee0a-4c30-809b-3114dfaf85ba
 appears invalid; dumping metadata
VHD Footer Summary:
---
Cookie  : conectix
Features: (0x0002) 
File format version : Major: 1, Minor: 0
Data offset : 512
Timestamp   : Mon Dec  7 18:19:46 2015
Creator Application : 'tap'
Creator version : Major: 1, Minor: 3
Creator OS  : Unknown!
Original disk size  : 20480 MB (21474836480 Bytes)
Current disk size   : 20480 MB (21474836480 Bytes)
Geometry: Cyl: 41610, Hds: 16, Sctrs: 63
: = 20479 MB (21474754560 Bytes)
Disk type   : Differencing hard disk
Checksum: 0xef85|0xef85 (Good!)
UUID: 8f25299d-d7cc-44fe-a42b-95b4e9a31a47
Saved state : No
Hidden  : 1

VHD Header Summary:
---
Cookie  : cxsparse
Data offset (unusd) : 18446744073709
Table offset: 1536
Header version  : 0x0001
Max BAT size: 1048576
Block size  : 2097152 (2 MB)
Parent name : 
VG_XenStorage--3b6e386d--8736--6b6b--7006--f3f4df9bd586-VHD--02e8b56b--279c--4d5b--8870--b3c5f2255dc7
Parent UUID : 8cece4c9-8c94-47b9-9f7a-cb6023da9b72
Parent timestamp: Mon Dec  7 18:19:46 2015
Checksum: 0xc6ed|0xc6ed (Good!)

VHD Parent Locators:

locator:: 0
   code : PLAT_CODE_MACX
   data_space   : 512
   data_length  : 110
   data_offset  : 4327424
   decoded name : 
./VG_XenStorage--3b6e386d--8736--6b6b--7006--f3f4df9bd586-VHD--02e8b56b--279c--4d5b--8870--b3c5f2255dc7

locator:: 1
   code : PLAT_CODE_W2KU
   data_space   : 512
   data_length  : 206
   data_offset  : 4327936
   decoded name : 
./VG_XenStorage--3b6e386d--8736--6b6b--7006--f3f4df9bd586-VHD--02e8b56b--279c--4d5b--8870--b3c5f2255dc7

locator:: 2
   code : PLAT_CODE_W2RU
   data_space   : 512
   data_length  : 206
   data_offset  : 4328448
   decoded name : 
./VG_XenStorage--3b6e386d--8736--6b6b--7006--f3f4df9bd586-VHD--02e8b56b--279c--4d5b--8870--b3c5f2255dc7

VHD Batmap Summary:
---
Batmap offset   : 4196352
Batmap size (secs)  : 256
Batmap version  : 0x00010002
Checksum: 0xff7f|0xff7f (Good!)

', stderr: ''
[8756] 2015-12-07 21:50:45.132293   ['/usr/sbin/vhd-util', 'query', 
'--debug', '-s', '-n', 
'/dev/VG_XenStorage-3b6e386d-8736-6b6b-7006-f3f4df9bd586/VHD-1a240d45-ee0a-4c30-809b-3114dfaf85ba']
[8756] 2015-12-07 21:50:45.145222   SUCCESS
[8756] 2015-12-07 21:50:45.145502   lock: tried lock 
/var/lock/sm/3b6e386d-8736-6b6b-7006-f3f4df9bd586/sr, acquired: True (exists: 
True)
[8756] 2015-12-07 21:50:45.145635   lock: released 
/var/lock/sm/3b6e386d-8736-6b6b-7006-f3f4df9bd586/sr
[8756] 2015-12-07 21:50:45.145752   ['/usr/sbin/lvchange', 
'/dev/VG_XenStorage-3b6e386d-8736-6b6b-7006-f3f4df9bd586/VHD-1a240d45-ee0a-4c30-809b-3114dfaf85ba',
 '-p', 'r']
..
..
..
<8756> 2015-12-07 21:50:45.229864   
*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
<8756> 2015-12-07 21:50:45.229919***
<8756> 2015-12-07 21:50:45.229969*  E X C E P T I O N  *
<8756> 2015-12-07 21:50:45.230017***
<8756> 2015-12-07 21:50:45.230077   coalesce: EXCEPTION util.SMException, 
VHD *1a240d45[VHD](20.000G//136.000M|n) corrupted
<8756> 2015-12-07 21:50:45.230129 File "/opt/xensource/sm/cleanup.py", 
line 1397, in coalesce
self._coalesce(vdi)
  File "/opt/xensource/sm/cleanup.py", line 1587, in _coalesce
vdi._doCoalesce()
  File "/opt/xensource/sm/cleanup.py", line 1050, in _doCoalesce
self.parent.validate()
  File "/opt/xensource/sm/cleanup.py", line 1043, in validate
VDI.validate(self, fast)
  File "/opt/xensource/sm/cleanup.py", line 633, in validate
raise util.SMException("VHD %s corrupted" % self)

<8756> 2015-12-07 21:50:45.230181   
*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
<8756> 2015-12-07 21:50:45.230234   Coalesce failed, skipping

Regards,
F.

On 10 Dec 2015, at 08:22, Vadim Kiml

Re: cloudstack UI through accelerator/cache/proxy

2015-12-10 Thread Erik Weber
The only thing you could cache as far as I can see is static content (js,
css, pictures) and list calls.

Anything that triggers an action has to reach the mgmt server and cannot be
cached.
When caching list calls you have to either have a really short lifespan, or
a proper method of invalidating the content on changes.

As for caching static content I am not sure if it really is worth it, it is
only loaded on the first page load, and with recent ACS versions it should
be cached by your browser as well.
I guess that theoretically you could build a custom version of the
client-web that reference static content from another server (
static.customer.com) and ensure through DNS that users use a mirror close
by.

-- 
Erik

On Thu, Dec 10, 2015 at 12:06 PM, Giles Sirett 
wrote:

> I’m trying to get a basic understanding on how much  the performance of
> the ACS UI would improve if it was run through some form of
> accelerator/reverse proxy/cache (i.e. something like a netscaler)
>
>
>
> Scenario is a management server that is a long way (physically)  from the
> users, therefore latency is causing UI delays. Idea would be to put an
> accelerator close to the users so it can cache the static pieces of the ACS
> UI
>
>
>
> We will be doing some testing on this, but wanted to know from the outset
>  if anybody has a gut feel for how well the ACS UI may behave when run
> through a setup like this
>
>
>
>
>
>
>
>
>
>
>
> Kind Regards
>
> Giles
>
>
>
> Giles Sirett
>
> *CEO*
>
>
>
> *[image: cid:image003.png@01D104EF.CE276C40]*
>
>
>
> D: +44 20 3603 0541 | S: +44 20 3603 0540 | M: +44 796 111 2055
>
>
>
> giles.sir...@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue
> 
>
>
>
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build
> 
> CSForge – rapid IaaS deployment framework 
> CloudStack Consulting 
> CloudStack Software Engineering
> 
> CloudStack Infrastructure Support
> 
> CloudStack Bootcamp Training Courses
> 
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
> a company registered by The Republic of South Africa and is traded under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>


cloudstack UI through accelerator/cache/proxy

2015-12-10 Thread Giles Sirett
I’m trying to get a basic understanding on how much  the performance of the ACS 
UI would improve if it was run through some form of accelerator/reverse 
proxy/cache (i.e. something like a netscaler)

Scenario is a management server that is a long way (physically)  from the 
users, therefore latency is causing UI delays. Idea would be to put an 
accelerator close to the users so it can cache the static pieces of the ACS UI

We will be doing some testing on this, but wanted to know from the outset  if 
anybody has a gut feel for how well the ACS UI may behave when run through a 
setup like this





Kind Regards
Giles

Giles Sirett
CEO

[cid:image003.png@01D104EF.CE276C40]

D: +44 20 3603 0541 | S: +44 20 3603 0540 | M: +44 796 111 2055

giles.sir...@shapeblue.com | 
www.shapeblue.com | 
Twitter:@shapeBlue


Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.