Domain admin role. CS4.2

2013-12-16 Thread Vadim Kimlaychuk
Hi,

According to description of Domain admin role in Cloudstack Computing (book):

“The domain administrator cannot access the physical resources of the cloud but 
has
access to all the subdomains and accounts in that domain, the domain 
administrator
can create/delete any user in that domain or change properties such as 
passwords.
The domains do not own any resources; they are just containers that contain 
objects
that can own resources.”

But in reality – domain admin in CS does not have right to add new 
users to the domain and change their passwords. As I have mentioned it doesn’t 
have any special rights at all. Just ordinary user. Can someone explain this?

Thanks,

Vadim Kimlaychuk
integratsiooni arhitekt
tel. 640 2297
mob. 5233474



RE: Domain admin role. CS4.2

2013-12-16 Thread Vadim Kimlaychuk
Rafael,

You are right. That's what I was looking for. As I see it should be 
implemented at the next release 4.3. Nice !

Thank you

Vadim.

-Original Message-
From: Rafael Weingartner [mailto:rafaelweingart...@gmail.com] 
Sent: Monday, December 16, 2013 12:58 PM
To: users@cloudstack.apache.org
Subject: Re: Domain admin role. CS4.2

Hi, I guess the explanation you are looking for it is here:
http://markmail.org/message/ucxsapyannat2z6b
https://issues.apache.org/jira/browse/CLOUDSTACK-4830


2013/12/16 Vadim Kimlaychuk vadim.kimlayc...@elion.ee

 Hi,

 According to description of Domain admin role in Cloudstack Computing
 (book):

 “The domain administrator cannot access the physical resources of the 
 cloud but has access to all the subdomains and accounts in that 
 domain, the domain administrator can create/delete any user in that 
 domain or change properties such as passwords.
 The domains do not own any resources; they are just containers that 
 contain objects that can own resources.”

 But in reality – domain admin in CS does not have right to 
 add new users to the domain and change their passwords. As I have 
 mentioned it doesn’t have any special rights at all. Just ordinary 
 user. Can someone explain this?

 Thanks,

 Vadim Kimlaychuk
 integratsiooni arhitekt
 tel. 640 2297
 mob. 5233474




--
Rafael Weingärtner


Re: Domain admin role. CS4.2

2013-12-16 Thread Rafael Weingartner
Just 4.3? I thought it was going to be shipped on 4.2.1 too.
The 4.2.1 is going to be released any time soon.


2013/12/16 Vadim Kimlaychuk vadim.kimlayc...@elion.ee

 Rafael,

 You are right. That's what I was looking for. As I see it should
 be implemented at the next release 4.3. Nice !

 Thank you

 Vadim.

 -Original Message-
 From: Rafael Weingartner [mailto:rafaelweingart...@gmail.com]
 Sent: Monday, December 16, 2013 12:58 PM
 To: users@cloudstack.apache.org
 Subject: Re: Domain admin role. CS4.2

 Hi, I guess the explanation you are looking for it is here:
 http://markmail.org/message/ucxsapyannat2z6b
 https://issues.apache.org/jira/browse/CLOUDSTACK-4830


 2013/12/16 Vadim Kimlaychuk vadim.kimlayc...@elion.ee

  Hi,
 
  According to description of Domain admin role in Cloudstack Computing
  (book):
 
  “The domain administrator cannot access the physical resources of the
  cloud but has access to all the subdomains and accounts in that
  domain, the domain administrator can create/delete any user in that
  domain or change properties such as passwords.
  The domains do not own any resources; they are just containers that
  contain objects that can own resources.”
 
  But in reality – domain admin in CS does not have right to
  add new users to the domain and change their passwords. As I have
  mentioned it doesn’t have any special rights at all. Just ordinary
  user. Can someone explain this?
 
  Thanks,
 
  Vadim Kimlaychuk
  integratsiooni arhitekt
  tel. 640 2297
  mob. 5233474
 
 


 --
 Rafael Weingärtner




-- 
Rafael Weingärtner


RE: Domain admin role. CS4.2

2013-12-16 Thread Vadim Kimlaychuk
Both versions are mentioned at Fix versions.  It seems bug is already fixed, 
so may be 4.2.1 is a target. Anyway will update. Will see :)

Vadim.

-Original Message-
From: Rafael Weingartner [mailto:rafaelweingart...@gmail.com] 
Sent: Monday, December 16, 2013 1:51 PM
To: users@cloudstack.apache.org
Subject: Re: Domain admin role. CS4.2

Just 4.3? I thought it was going to be shipped on 4.2.1 too.
The 4.2.1 is going to be released any time soon.


2013/12/16 Vadim Kimlaychuk vadim.kimlayc...@elion.ee

 Rafael,

 You are right. That's what I was looking for. As I see it 
 should be implemented at the next release 4.3. Nice !

 Thank you

 Vadim.

 -Original Message-
 From: Rafael Weingartner [mailto:rafaelweingart...@gmail.com]
 Sent: Monday, December 16, 2013 12:58 PM
 To: users@cloudstack.apache.org
 Subject: Re: Domain admin role. CS4.2

 Hi, I guess the explanation you are looking for it is here:
 http://markmail.org/message/ucxsapyannat2z6b
 https://issues.apache.org/jira/browse/CLOUDSTACK-4830


 2013/12/16 Vadim Kimlaychuk vadim.kimlayc...@elion.ee

  Hi,
 
  According to description of Domain admin role in Cloudstack 
  Computing
  (book):
 
  “The domain administrator cannot access the physical resources of 
  the cloud but has access to all the subdomains and accounts in that 
  domain, the domain administrator can create/delete any user in that 
  domain or change properties such as passwords.
  The domains do not own any resources; they are just containers that 
  contain objects that can own resources.”
 
  But in reality – domain admin in CS does not have right 
  to add new users to the domain and change their passwords. As I have 
  mentioned it doesn’t have any special rights at all. Just ordinary 
  user. Can someone explain this?
 
  Thanks,
 
  Vadim Kimlaychuk
  integratsiooni arhitekt
  tel. 640 2297
  mob. 5233474
 
 


 --
 Rafael Weingärtner




--
Rafael Weingärtner


Re: Domain admin role. CS4.2

2013-12-16 Thread Ryan Lei
You can also refer to a more recent discussion here:
http://markmail.org/thread/iptmbd4recxuec5q

Indeed, this bug was finally fixed for 4.2.1 and 4.3.0.

---
Yu-Heng (Ryan) Lei, Associate Researcher
Chunghwa Telecom Laboratories / Cloud Computing Laboratory
ryan...@cht.com.tw or ryanlei750...@gmail.com



On Mon, Dec 16, 2013 at 6:57 PM, Rafael Weingartner 
rafaelweingart...@gmail.com wrote:

 Hi, I guess the explanation you are looking for it is here:
 http://markmail.org/message/ucxsapyannat2z6b
 https://issues.apache.org/jira/browse/CLOUDSTACK-4830


 2013/12/16 Vadim Kimlaychuk vadim.kimlayc...@elion.ee

  Hi,
 
  According to description of Domain admin role in Cloudstack Computing
  (book):
 
  “The domain administrator cannot access the physical resources of the
  cloud but has
  access to all the subdomains and accounts in that domain, the domain
  administrator
  can create/delete any user in that domain or change properties such as
  passwords.
  The domains do not own any resources; they are just containers that
  contain objects
  that can own resources.”
 
  But in reality – domain admin in CS does not have right to
 add
  new users to the domain and change their passwords. As I have mentioned
 it
  doesn’t have any special rights at all. Just ordinary user. Can someone
  explain this?
 
  Thanks,
 
  Vadim Kimlaychuk
  integratsiooni arhitekt
  tel. 640 2297
  mob. 5233474
 
 


 --
 Rafael Weingärtner



How to add new IPs on CS 4.2 (Basic Networking)?

2013-12-16 Thread Steven Liang
Hi All,

I have a question. If I would use up my existing public IPs(for example:
xxx.xxx.1.0/24), how to add new subnet(xxx.xxx.2.0/24) to my new pod?
Thank you.

Steven


Re: Merging/Removing Secondary Storage NFS

2013-12-16 Thread Andrija Panic
I have just restarted the management server, and the templates copy process
has begin to the new NFS server...

Will update.


On 16 December 2013 16:14, Andrija Panic andrija.pa...@gmail.com wrote:

 HI Geoff,
 I have just added new NFS secondary storage to CS.
 Can you please tell, when shall I expect all existing ISOs and templates
 to be copied over (start being copied...) - so far, I can observe NO
 network traffic.
 Is this maybe configurable like purge thread, or similar ? I have also
 issues the script for checking the SSVM (
 /usr/local/cloud/systemvm/ssvm-check.sh) and have no problems so far.

 More important, I can confirm that I do NOT have checksum inside the
 template.properties on public templates, only on system templates...
 And I can confirm that I do not have public templates being replicated on
 all NFS storages...that is strange. ISOs do get replicated, but public
 templates does not...
 Is this a bug or what...? I can not observer any errors in management
 log...

 Thanks,
 Andrija



 On 13 December 2013 20:10, Andrija Panic andrija.pa...@gmail.com wrote:

 Thank you very much, I will check... that... funny thing, I search for
 files created in last i.e. 1 hour, and there is only one file created on 1
 NFS, no files created on other NFSs.

 Thanks

 Sent from Google Nexus 4
 On Dec 13, 2013 6:06 PM, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:

 The templates get unique names, however they are in the same folder
 structure.

 e.g.

 My S1 has
 \\IPADDRESS\lonsec\template\tmpl\1\5

 And my S2 has
 \\IPADDDRESS\lonsec2\template\tmpl\1\5

 Note that the '1' is the account ID of the user who created the
 template, in this case 'system' as this is a system vm template, the '5' is
 simply the 5th template created on this system

 The two template.properties files contain the following

 S1 template.properties file
 #
 #Mon May 20 14:11:06 UTC 2013
 filename=d015ebd8-5395-31a5-9648-a179062885d8.vhd
 vhd=true
 id=5
 vhd.filename=d015ebd8-5395-31a5-9648-a179062885d8.vhd
 public=true
 uniquename=centos56-x86_64-xen
 vhd.virtualsize=21474836480
 virtualsize=21474836480
 checksum=905cec879afd9c9d22ecc8036131a180
 hvm=false
 description=CentOS 5.6(64-bit) no GUI (XenServer)
 vhd.size=1758786048
 size=1758786048

 S1 template.properties file
 #
 #Wed Nov 21 23:14:59 UTC 2012
 filename=8b106378-7d6d-31b3-aab7-bfc85ef97884.vhd
 vhd=true
 id=5
 vhd.filename=8b106378-7d6d-31b3-aab7-bfc85ef97884.vhd
 public=true
 uniquename=centos56-x86_64-xen
 vhd.virtualsize=21474836480
 virtualsize=21474836480
 checksum=905cec879afd9c9d22ecc8036131a180
 hvm=false
 description=CentOS 5.6(64-bit) no GUI (XenServer)
 vhd.size=1758786048
 size=1758786048
 dsa

 Note that the line
 checksum=905cec879afd9c9d22ecc8036131a180
 is common to both, you will also find this value in the db in table
 cloud.vm_template
 This is the link to the template on disk, and the one referenced in the
 DB

 You can also see from the dates within the two properties files, that
 this template was originally deployed back in may, but when I added the 2nd
 Secondary Storage Node in November, the template was automatically copied
 across.

 Hopefully all this info helps you.

 Regards

 Geoff Higginbottom

 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

 geoff.higginbot...@shapeblue.com

 -Original Message-
 From: Andrija Panic [mailto:andrija.pa...@gmail.com]
 Sent: 13 December 2013 16:47
 To: users@cloudstack.apache.org
 Subject: Re: Merging/Removing Secondary Storage NFS

 Hi Jeff, thanks for that detailed explanation, I'm on the KVM by the
 way...
 For the *volume* snaphost, I can see that real snapshot exist localy (I
 say real snaphost, not clone), but also the clone is created on 1 of those
 NFS servers...

 Can you somehow instruct me to check if new template I have just
 created, is actualy copied on all 3 NFS hosts (all3 NFS are online, and
 working
 fine) ?
 Template is only 4GB of real size on the host, and it should be very
 quickly copied to where it shoyld be. (my IO and netowrk traffic are pretty
 low in general).

 Should the templates files be created on all 3 NFS storages, with the
 same file name? Or can I see this somehow from the database...I'm trying to
 decode it by myself, but can't figure this out...

 Thanks again,
 Andrija




 On 13 December 2013 17:35, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:

  Andrija,
 
  The design is that any Public Template, or ISO gets copied to every
  secondary storage in the zone.  The copying is undertaken by the SSVM
  and will obviously take some time if you have just added a 2nd Public
  ISO or Template, so your copy process may not have finished.
 
  For 4.2 'Snapshots' are now even more confusing than ever.  We now
 have:
 
  1. VM Snapshots (ESXi  XenServer Only) these are true Hypervisor
  Snapshots, enabling quick roll back to the Snapshot, including Memory
 State.
  2. Volume Snapshots (better thought of as Volume 

Re: Merging/Removing Secondary Storage NFS

2013-12-16 Thread Andrija Panic
Well, only ISOs have been copied to the new NFS storage... no other
templates...

Is this expected behaviour or should I consider this a bug ?

Any clue on troubleshooting this ?


On 16 December 2013 17:05, Andrija Panic andrija.pa...@gmail.com wrote:

 I have just restarted the management server, and the templates copy
 process has begin to the new NFS server...

 Will update.


 On 16 December 2013 16:14, Andrija Panic andrija.pa...@gmail.com wrote:

 HI Geoff,
 I have just added new NFS secondary storage to CS.
 Can you please tell, when shall I expect all existing ISOs and templates
 to be copied over (start being copied...) - so far, I can observe NO
 network traffic.
 Is this maybe configurable like purge thread, or similar ? I have also
 issues the script for checking the SSVM (
 /usr/local/cloud/systemvm/ssvm-check.sh) and have no problems so far.

 More important, I can confirm that I do NOT have checksum inside the
 template.properties on public templates, only on system templates...
 And I can confirm that I do not have public templates being replicated on
 all NFS storages...that is strange. ISOs do get replicated, but public
 templates does not...
 Is this a bug or what...? I can not observer any errors in management
 log...

 Thanks,
 Andrija



 On 13 December 2013 20:10, Andrija Panic andrija.pa...@gmail.com wrote:

 Thank you very much, I will check... that... funny thing, I search for
 files created in last i.e. 1 hour, and there is only one file created on 1
 NFS, no files created on other NFSs.

 Thanks

 Sent from Google Nexus 4
 On Dec 13, 2013 6:06 PM, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:

 The templates get unique names, however they are in the same folder
 structure.

 e.g.

 My S1 has
 \\IPADDRESS\lonsec\template\tmpl\1\5

 And my S2 has
 \\IPADDDRESS\lonsec2\template\tmpl\1\5

 Note that the '1' is the account ID of the user who created the
 template, in this case 'system' as this is a system vm template, the '5' is
 simply the 5th template created on this system

 The two template.properties files contain the following

 S1 template.properties file
 #
 #Mon May 20 14:11:06 UTC 2013
 filename=d015ebd8-5395-31a5-9648-a179062885d8.vhd
 vhd=true
 id=5
 vhd.filename=d015ebd8-5395-31a5-9648-a179062885d8.vhd
 public=true
 uniquename=centos56-x86_64-xen
 vhd.virtualsize=21474836480
 virtualsize=21474836480
 checksum=905cec879afd9c9d22ecc8036131a180
 hvm=false
 description=CentOS 5.6(64-bit) no GUI (XenServer)
 vhd.size=1758786048
 size=1758786048

 S1 template.properties file
 #
 #Wed Nov 21 23:14:59 UTC 2012
 filename=8b106378-7d6d-31b3-aab7-bfc85ef97884.vhd
 vhd=true
 id=5
 vhd.filename=8b106378-7d6d-31b3-aab7-bfc85ef97884.vhd
 public=true
 uniquename=centos56-x86_64-xen
 vhd.virtualsize=21474836480
 virtualsize=21474836480
 checksum=905cec879afd9c9d22ecc8036131a180
 hvm=false
 description=CentOS 5.6(64-bit) no GUI (XenServer)
 vhd.size=1758786048
 size=1758786048
 dsa

 Note that the line
 checksum=905cec879afd9c9d22ecc8036131a180
 is common to both, you will also find this value in the db in table
 cloud.vm_template
 This is the link to the template on disk, and the one referenced in the
 DB

 You can also see from the dates within the two properties files, that
 this template was originally deployed back in may, but when I added the 2nd
 Secondary Storage Node in November, the template was automatically copied
 across.

 Hopefully all this info helps you.

 Regards

 Geoff Higginbottom

 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

 geoff.higginbot...@shapeblue.com

 -Original Message-
 From: Andrija Panic [mailto:andrija.pa...@gmail.com]
 Sent: 13 December 2013 16:47
 To: users@cloudstack.apache.org
 Subject: Re: Merging/Removing Secondary Storage NFS

 Hi Jeff, thanks for that detailed explanation, I'm on the KVM by the
 way...
 For the *volume* snaphost, I can see that real snapshot exist localy (I
 say real snaphost, not clone), but also the clone is created on 1 of those
 NFS servers...

 Can you somehow instruct me to check if new template I have just
 created, is actualy copied on all 3 NFS hosts (all3 NFS are online, and
 working
 fine) ?
 Template is only 4GB of real size on the host, and it should be very
 quickly copied to where it shoyld be. (my IO and netowrk traffic are pretty
 low in general).

 Should the templates files be created on all 3 NFS storages, with the
 same file name? Or can I see this somehow from the database...I'm trying to
 decode it by myself, but can't figure this out...

 Thanks again,
 Andrija




 On 13 December 2013 17:35, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:

  Andrija,
 
  The design is that any Public Template, or ISO gets copied to every
  secondary storage in the zone.  The copying is undertaken by the SSVM
  and will obviously take some time if you have just added a 2nd Public
  ISO or Template, so your copy process may not have finished.
 
  For 4.2 'Snapshots' 

Re: How to add new IPs on CS 4.2 (Basic Networking)?

2013-12-16 Thread Chiradeep Vittal
Have you tried expanding your pod with
http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updatePod.html

On 12/16/13 7:22 AM, Steven Liang stevenli...@yesup.com wrote:

Hi All,

I have a question. If I would use up my existing public IPs(for example:
xxx.xxx.1.0/24), how to add new subnet(xxx.xxx.2.0/24) to my new pod?
Thank you.

Steven



Re: How to add new IPs on CS 4.2 (Basic Networking)?

2013-12-16 Thread Steven Liang
Hi Chiradeep,

Thank you for updating.
I haven't tried. Can I use cloudmonkey? I've installed cloudmonkey, just
used for list.

Steven


On 12/16/2013 03:11 PM, Chiradeep Vittal wrote:
 Have you tried expanding your pod with
 http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updatePod.html

 On 12/16/13 7:22 AM, Steven Liang stevenli...@yesup.com wrote:

 Hi All,

 I have a question. If I would use up my existing public IPs(for example:
 xxx.xxx.1.0/24), how to add new subnet(xxx.xxx.2.0/24) to my new pod?
 Thank you.

 Steven




public templates does NOT get replicated to new NFS SS

2013-12-16 Thread Andrija Panic
Hi,

I have an issue with new NFS storage (and the old ones also):

When I create new public template, it is supposed to be copied over to all
Secondary Storages (I have already 3 NFSs, and added a new NFS).

After I added the new NFS, only the ISO files got replicated.

Also inside the template.properties file next to the any public
templates, I can NOT see the checksum line (which does exist for the ISOs
and system VM templates)

This is CS 4.2.0. (update from 4.0), all from official RPMs, on CentOS.

Any clue on this... ?
-- 

Andrija Panić


template_host_ref moved to template_store_ref

2013-12-16 Thread Andrija Panic
Hi,

I just noticed that I do not have any new lines in template_host_ref after
upgrading from 4.0 to 4.2.

Inside the template_store_ref (I use NFS for all SS), I can see all entries
from the begining of CS, along with the latest entries with new template
details...

Is template_host_ref being replaced with template_store_ref (at least for
NFS) ?

I see lot of documentaion reference template_host_ref, but I'm missing any
new lines after upgrade to CS 4.2...

-- 

Andrija Panić
--
  http://admintweets.com
--


Re: How to add new IPs on CS 4.2 (Basic Networking)?

2013-12-16 Thread giljae o
Hi,

You can add additional public ip addresses with the new vlan or existing
vlan on UI below.

[image: Inline image 1]


On Tue, Dec 17, 2013 at 5:27 AM, Steven Liang stevenli...@yesup.com wrote:

 Hi Chiradeep,

 Thank you for updating.
 I haven't tried. Can I use cloudmonkey? I've installed cloudmonkey, just
 used for list.

 Steven


 On 12/16/2013 03:11 PM, Chiradeep Vittal wrote:
  Have you tried expanding your pod with
 
 http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updatePod.html
 
  On 12/16/13 7:22 AM, Steven Liang stevenli...@yesup.com wrote:
 
  Hi All,
 
  I have a question. If I would use up my existing public IPs(for example:
  xxx.xxx.1.0/24), how to add new subnet(xxx.xxx.2.0/24) to my new pod?
  Thank you.
 
  Steven





Re: Merging/Removing Secondary Storage NFS

2013-12-16 Thread Nitin Mehta
This is definitely not expected. But, in the thread below I see you
writing that the restarting MS initiated template copy. Is that not the
case ?

On 16/12/13 11:58 AM, Andrija Panic andrija.pa...@gmail.com wrote:

Well, only ISOs have been copied to the new NFS storage... no other
templates...

Is this expected behaviour or should I consider this a bug ?

Any clue on troubleshooting this ?


On 16 December 2013 17:05, Andrija Panic andrija.pa...@gmail.com wrote:

 I have just restarted the management server, and the templates copy
 process has begin to the new NFS server...

 Will update.


 On 16 December 2013 16:14, Andrija Panic andrija.pa...@gmail.com
wrote:

 HI Geoff,
 I have just added new NFS secondary storage to CS.
 Can you please tell, when shall I expect all existing ISOs and
templates
 to be copied over (start being copied...) - so far, I can observe NO
 network traffic.
 Is this maybe configurable like purge thread, or similar ? I have also
 issues the script for checking the SSVM (
 /usr/local/cloud/systemvm/ssvm-check.sh) and have no problems so far.

 More important, I can confirm that I do NOT have checksum inside the
 template.properties on public templates, only on system templates...
 And I can confirm that I do not have public templates being replicated
on
 all NFS storages...that is strange. ISOs do get replicated, but public
 templates does not...
 Is this a bug or what...? I can not observer any errors in management
 log...

 Thanks,
 Andrija



 On 13 December 2013 20:10, Andrija Panic andrija.pa...@gmail.com
wrote:

 Thank you very much, I will check... that... funny thing, I search for
 files created in last i.e. 1 hour, and there is only one file created
on 1
 NFS, no files created on other NFSs.

 Thanks

 Sent from Google Nexus 4
 On Dec 13, 2013 6:06 PM, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:

 The templates get unique names, however they are in the same folder
 structure.

 e.g.

 My S1 has
 \\IPADDRESS\lonsec\template\tmpl\1\5

 And my S2 has
 \\IPADDDRESS\lonsec2\template\tmpl\1\5

 Note that the '1' is the account ID of the user who created the
 template, in this case 'system' as this is a system vm template, the
'5' is
 simply the 5th template created on this system

 The two template.properties files contain the following

 S1 template.properties file
 #
 #Mon May 20 14:11:06 UTC 2013
 filename=d015ebd8-5395-31a5-9648-a179062885d8.vhd
 vhd=true
 id=5
 vhd.filename=d015ebd8-5395-31a5-9648-a179062885d8.vhd
 public=true
 uniquename=centos56-x86_64-xen
 vhd.virtualsize=21474836480
 virtualsize=21474836480
 checksum=905cec879afd9c9d22ecc8036131a180
 hvm=false
 description=CentOS 5.6(64-bit) no GUI (XenServer)
 vhd.size=1758786048
 size=1758786048

 S1 template.properties file
 #
 #Wed Nov 21 23:14:59 UTC 2012
 filename=8b106378-7d6d-31b3-aab7-bfc85ef97884.vhd
 vhd=true
 id=5
 vhd.filename=8b106378-7d6d-31b3-aab7-bfc85ef97884.vhd
 public=true
 uniquename=centos56-x86_64-xen
 vhd.virtualsize=21474836480
 virtualsize=21474836480
 checksum=905cec879afd9c9d22ecc8036131a180
 hvm=false
 description=CentOS 5.6(64-bit) no GUI (XenServer)
 vhd.size=1758786048
 size=1758786048
 dsa

 Note that the line
 checksum=905cec879afd9c9d22ecc8036131a180
 is common to both, you will also find this value in the db in table
 cloud.vm_template
 This is the link to the template on disk, and the one referenced in
the
 DB

 You can also see from the dates within the two properties files, that
 this template was originally deployed back in may, but when I added
the 2nd
 Secondary Storage Node in November, the template was automatically
copied
 across.

 Hopefully all this info helps you.

 Regards

 Geoff Higginbottom

 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

 geoff.higginbot...@shapeblue.com

 -Original Message-
 From: Andrija Panic [mailto:andrija.pa...@gmail.com]
 Sent: 13 December 2013 16:47
 To: users@cloudstack.apache.org
 Subject: Re: Merging/Removing Secondary Storage NFS

 Hi Jeff, thanks for that detailed explanation, I'm on the KVM by the
 way...
 For the *volume* snaphost, I can see that real snapshot exist localy
(I
 say real snaphost, not clone), but also the clone is created on 1 of
those
 NFS servers...

 Can you somehow instruct me to check if new template I have just
 created, is actualy copied on all 3 NFS hosts (all3 NFS are online,
and
 working
 fine) ?
 Template is only 4GB of real size on the host, and it should be very
 quickly copied to where it shoyld be. (my IO and netowrk traffic are
pretty
 low in general).

 Should the templates files be created on all 3 NFS storages, with the
 same file name? Or can I see this somehow from the database...I'm
trying to
 decode it by myself, but can't figure this out...

 Thanks again,
 Andrija




 On 13 December 2013 17:35, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:

  Andrija,
 
  The design is that any Public Template, or ISO gets copied to every
  secondary 

Re: template_host_ref moved to template_store_ref

2013-12-16 Thread Nitin Mehta
Andrija - You are right and all the entries will be created in
template_store_ref post 4.2.
The table is similar to the template_host_ref and serves the same purpose.
I am guessing that the authors have introduced this table since the
secondary store is no more persisted
in the host table and also the fact that similar tables were introduced
for snapshots/volumes, they wanted to have consistent naming convention.

Thanks,
-Nitin

On 16/12/13 12:54 PM, Andrija Panic andrija.pa...@gmail.com wrote:

Hi,

I just noticed that I do not have any new lines in template_host_ref after
upgrading from 4.0 to 4.2.

Inside the template_store_ref (I use NFS for all SS), I can see all
entries
from the begining of CS, along with the latest entries with new template
details...

Is template_host_ref being replaced with template_store_ref (at least for
NFS) ?

I see lot of documentaion reference template_host_ref, but I'm missing any
new lines after upgrade to CS 4.2...

-- 

Andrija Panić
--
  http://admintweets.com
--



Re: How to add new IPs on CS 4.2 (Basic Networking)?

2013-12-16 Thread Steven Liang
Hi Giljae,

I can not read your picture, can you send me again?
BTW, I didn't set any vlans, you mean I must set vlan?
Thank you.

Steven

On 12/16/2013 04:24 PM, giljae o wrote:
 Hi,

 You can add additional public ip addresses with the new vlan or
 existing vlan on UI below.

 Inline image 1


 On Tue, Dec 17, 2013 at 5:27 AM, Steven Liang stevenli...@yesup.com
 mailto:stevenli...@yesup.com wrote:

 Hi Chiradeep,

 Thank you for updating.
 I haven't tried. Can I use cloudmonkey? I've installed
 cloudmonkey, just
 used for list.

 Steven


 On 12/16/2013 03:11 PM, Chiradeep Vittal wrote:
  Have you tried expanding your pod with
 
 
 http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updatePod.html
 
  On 12/16/13 7:22 AM, Steven Liang stevenli...@yesup.com
 mailto:stevenli...@yesup.com wrote:
 
  Hi All,
 
  I have a question. If I would use up my existing public IPs(for
 example:
  xxx.xxx.1.0/24), how to add new subnet(xxx.xxx.2.0/24) to my
 new pod?
  Thank you.
 
  Steven







Re: Merging/Removing Secondary Storage NFS

2013-12-16 Thread Andrija Panic
Yes that is true, but it was ISOs copy (they are also located under
/templates/ folder, so I though it was really templates that were being
copied, but instead it was ISOs...)
I need to migrate all 3 NFSs to new one, and it seems like I'm going to
change database, which is not really my prefered way...


On 16 December 2013 22:27, Nitin Mehta nitin.me...@citrix.com wrote:

 This is definitely not expected. But, in the thread below I see you
 writing that the restarting MS initiated template copy. Is that not the
 case ?

 On 16/12/13 11:58 AM, Andrija Panic andrija.pa...@gmail.com wrote:

 Well, only ISOs have been copied to the new NFS storage... no other
 templates...
 
 Is this expected behaviour or should I consider this a bug ?
 
 Any clue on troubleshooting this ?
 
 
 On 16 December 2013 17:05, Andrija Panic andrija.pa...@gmail.com wrote:
 
  I have just restarted the management server, and the templates copy
  process has begin to the new NFS server...
 
  Will update.
 
 
  On 16 December 2013 16:14, Andrija Panic andrija.pa...@gmail.com
 wrote:
 
  HI Geoff,
  I have just added new NFS secondary storage to CS.
  Can you please tell, when shall I expect all existing ISOs and
 templates
  to be copied over (start being copied...) - so far, I can observe NO
  network traffic.
  Is this maybe configurable like purge thread, or similar ? I have also
  issues the script for checking the SSVM (
  /usr/local/cloud/systemvm/ssvm-check.sh) and have no problems so far.
 
  More important, I can confirm that I do NOT have checksum inside the
  template.properties on public templates, only on system templates...
  And I can confirm that I do not have public templates being replicated
 on
  all NFS storages...that is strange. ISOs do get replicated, but public
  templates does not...
  Is this a bug or what...? I can not observer any errors in management
  log...
 
  Thanks,
  Andrija
 
 
 
  On 13 December 2013 20:10, Andrija Panic andrija.pa...@gmail.com
 wrote:
 
  Thank you very much, I will check... that... funny thing, I search for
  files created in last i.e. 1 hour, and there is only one file created
 on 1
  NFS, no files created on other NFSs.
 
  Thanks
 
  Sent from Google Nexus 4
  On Dec 13, 2013 6:06 PM, Geoff Higginbottom 
  geoff.higginbot...@shapeblue.com wrote:
 
  The templates get unique names, however they are in the same folder
  structure.
 
  e.g.
 
  My S1 has
  \\IPADDRESS\lonsec\template\tmpl\1\5
 
  And my S2 has
  \\IPADDDRESS\lonsec2\template\tmpl\1\5
 
  Note that the '1' is the account ID of the user who created the
  template, in this case 'system' as this is a system vm template, the
 '5' is
  simply the 5th template created on this system
 
  The two template.properties files contain the following
 
  S1 template.properties file
  #
  #Mon May 20 14:11:06 UTC 2013
  filename=d015ebd8-5395-31a5-9648-a179062885d8.vhd
  vhd=true
  id=5
  vhd.filename=d015ebd8-5395-31a5-9648-a179062885d8.vhd
  public=true
  uniquename=centos56-x86_64-xen
  vhd.virtualsize=21474836480
  virtualsize=21474836480
  checksum=905cec879afd9c9d22ecc8036131a180
  hvm=false
  description=CentOS 5.6(64-bit) no GUI (XenServer)
  vhd.size=1758786048
  size=1758786048
 
  S1 template.properties file
  #
  #Wed Nov 21 23:14:59 UTC 2012
  filename=8b106378-7d6d-31b3-aab7-bfc85ef97884.vhd
  vhd=true
  id=5
  vhd.filename=8b106378-7d6d-31b3-aab7-bfc85ef97884.vhd
  public=true
  uniquename=centos56-x86_64-xen
  vhd.virtualsize=21474836480
  virtualsize=21474836480
  checksum=905cec879afd9c9d22ecc8036131a180
  hvm=false
  description=CentOS 5.6(64-bit) no GUI (XenServer)
  vhd.size=1758786048
  size=1758786048
  dsa
 
  Note that the line
  checksum=905cec879afd9c9d22ecc8036131a180
  is common to both, you will also find this value in the db in table
  cloud.vm_template
  This is the link to the template on disk, and the one referenced in
 the
  DB
 
  You can also see from the dates within the two properties files, that
  this template was originally deployed back in may, but when I added
 the 2nd
  Secondary Storage Node in November, the template was automatically
 copied
  across.
 
  Hopefully all this info helps you.
 
  Regards
 
  Geoff Higginbottom
 
  D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
 
  geoff.higginbot...@shapeblue.com
 
  -Original Message-
  From: Andrija Panic [mailto:andrija.pa...@gmail.com]
  Sent: 13 December 2013 16:47
  To: users@cloudstack.apache.org
  Subject: Re: Merging/Removing Secondary Storage NFS
 
  Hi Jeff, thanks for that detailed explanation, I'm on the KVM by the
  way...
  For the *volume* snaphost, I can see that real snapshot exist localy
 (I
  say real snaphost, not clone), but also the clone is created on 1 of
 those
  NFS servers...
 
  Can you somehow instruct me to check if new template I have just
  created, is actualy copied on all 3 NFS hosts (all3 NFS are online,
 and
  working
  fine) ?
  Template is only 4GB of real size on the host, 

Re: template_host_ref moved to template_store_ref

2013-12-16 Thread Andrija Panic
Thanks for clarifying Nitin, good to know that...

So I have my tables now to be hacked, in order to move templates from one
to another SS...

Thanks again.


On 16 December 2013 22:25, Nitin Mehta nitin.me...@citrix.com wrote:

 Andrija - You are right and all the entries will be created in
 template_store_ref post 4.2.
 The table is similar to the template_host_ref and serves the same purpose.
 I am guessing that the authors have introduced this table since the
 secondary store is no more persisted
 in the host table and also the fact that similar tables were introduced
 for snapshots/volumes, they wanted to have consistent naming convention.

 Thanks,
 -Nitin

 On 16/12/13 12:54 PM, Andrija Panic andrija.pa...@gmail.com wrote:

 Hi,
 
 I just noticed that I do not have any new lines in template_host_ref after
 upgrading from 4.0 to 4.2.
 
 Inside the template_store_ref (I use NFS for all SS), I can see all
 entries
 from the begining of CS, along with the latest entries with new template
 details...
 
 Is template_host_ref being replaced with template_store_ref (at least for
 NFS) ?
 
 I see lot of documentaion reference template_host_ref, but I'm missing any
 new lines after upgrade to CS 4.2...
 
 --
 
 Andrija Panić
 --
   http://admintweets.com
 --




-- 

Andrija Panić
--
  http://admintweets.com
--


Re: How to add new IPs on CS 4.2 (Basic Networking)?

2013-12-16 Thread ogiljae

Hi,

Sorry about confusing.
The way I wrote is for advanced network not basic zone.
I believe that you should stick to Mr. Chiradeep's guide.

James.


On 12/17/13, 6:29 AM, Steven Liang wrote:

Hi Giljae,

I can not read your picture, can you send me again?
BTW, I didn't set any vlans, you mean I must set vlan?
Thank you.

Steven

On 12/16/2013 04:24 PM, giljae o wrote:

Hi,

You can add additional public ip addresses with the new vlan or
existing vlan on UI below.

Inline image 1


On Tue, Dec 17, 2013 at 5:27 AM, Steven Liangstevenli...@yesup.com
mailto:stevenli...@yesup.com  wrote:

 Hi Chiradeep,

 Thank you for updating.
 I haven't tried. Can I use cloudmonkey? I've installed
 cloudmonkey, just
 used for list.

 Steven


 On 12/16/2013 03:11 PM, Chiradeep Vittal wrote:
   Have you tried expanding your pod with
 
 http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updatePod.html
 
   On 12/16/13 7:22 AM, Steven Liangstevenli...@yesup.com
 mailto:stevenli...@yesup.com  wrote:
 
   Hi All,
 
   I have a question. If I would use up my existing public IPs(for
 example:
   xxx.xxx.1.0/24), how to add new subnet(xxx.xxx.2.0/24) to my
 new pod?
   Thank you.
 
   Steven










Re: How to add new IPs on CS 4.2 (Basic Networking)?

2013-12-16 Thread Steven Liang
Hi James,

Thank you anyway.
But I don't understand what Mr. Chiradeep said.
I listed my pods using cloudmonkey, the two pods have the same netmask
and gateway(management ips).
What should I update? Please help me.
Thank you.

Steven



On 12/16/2013 04:35 PM, ogiljae wrote:
 Hi,

 Sorry about confusing.
 The way I wrote is for advanced network not basic zone.
 I believe that you should stick to Mr. Chiradeep's guide.

 James.


 On 12/17/13, 6:29 AM, Steven Liang wrote:
 Hi Giljae,

 I can not read your picture, can you send me again?
 BTW, I didn't set any vlans, you mean I must set vlan?
 Thank you.

 Steven

 On 12/16/2013 04:24 PM, giljae o wrote:
 Hi,

 You can add additional public ip addresses with the new vlan or
 existing vlan on UI below.

 Inline image 1


 On Tue, Dec 17, 2013 at 5:27 AM, Steven Liangstevenli...@yesup.com
 mailto:stevenli...@yesup.com  wrote:

  Hi Chiradeep,

  Thank you for updating.
  I haven't tried. Can I use cloudmonkey? I've installed
  cloudmonkey, just
  used for list.

  Steven


  On 12/16/2013 03:11 PM, Chiradeep Vittal wrote:
Have you tried expanding your pod with
  
 
 http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updatePod.html
  
On 12/16/13 7:22 AM, Steven Liangstevenli...@yesup.com
  mailto:stevenli...@yesup.com  wrote:
  
Hi All,
  
I have a question. If I would use up my existing public
 IPs(for
  example:
xxx.xxx.1.0/24), how to add new subnet(xxx.xxx.2.0/24) to my
  new pod?
Thank you.
  
Steven










Re: How to add new IPs on CS 4.2 (Basic Networking)?

2013-12-16 Thread Ogiljae

Hi.

I think what Mr.Chiradeep said is for gmt ip not for public ip address.
How about using  add publicipaddess on cloudmonkey or using UI manu : 
infrastructure - zone - network - guest network .

James.



Sent from Samsung Galaxy NoteSteven Liang stevenli...@yesup.com wrote:Hi 
James,

Thank you anyway.
But I don't understand what Mr. Chiradeep said.
I listed my pods using cloudmonkey, the two pods have the same netmask
and gateway(management ips).
What should I update? Please help me.
Thank you.

Steven



On 12/16/2013 04:35 PM, ogiljae wrote:
 Hi,

 Sorry about confusing.
 The way I wrote is for advanced network not basic zone.
 I believe that you should stick to Mr. Chiradeep's guide.

 James.


 On 12/17/13, 6:29 AM, Steven Liang wrote:
 Hi Giljae,

 I can not read your picture, can you send me again?
 BTW, I didn't set any vlans, you mean I must set vlan?
 Thank you.

 Steven

 On 12/16/2013 04:24 PM, giljae o wrote:
 Hi,

 You can add additional public ip addresses with the new vlan or
 existing vlan on UI below.

 Inline image 1


 On Tue, Dec 17, 2013 at 5:27 AM, Steven Liangstevenli...@yesup.com
 mailto:stevenli...@yesup.com  wrote:

  Hi Chiradeep,

  Thank you for updating.
  I haven't tried. Can I use cloudmonkey? I've installed
  cloudmonkey, just
  used for list.

  Steven


  On 12/16/2013 03:11 PM, Chiradeep Vittal wrote:
    Have you tried expanding your pod with
  
 
 http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updatePod.html
  
    On 12/16/13 7:22 AM, Steven Liangstevenli...@yesup.com
  mailto:stevenli...@yesup.com  wrote:
  
    Hi All,
  
    I have a question. If I would use up my existing public
 IPs(for
  example:
    xxx.xxx.1.0/24), how to add new subnet(xxx.xxx.2.0/24) to my
  new pod?
    Thank you.
  
    Steven










Re: How to add new IPs on CS 4.2 (Basic Networking)?

2013-12-16 Thread Chiradeep Vittal
Steven, I assume you want to add ip addresses that are available to VMs.
I am also assuming that the IP for VMs is drawn from the pod ip range. In
that case, you can use the 'update pod' api with cloudmonkey.

On 12/16/13 1:44 PM, Steven Liang stevenli...@yesup.com wrote:

Hi James,

Thank you anyway.
But I don't understand what Mr. Chiradeep said.
I listed my pods using cloudmonkey, the two pods have the same netmask
and gateway(management ips).
What should I update? Please help me.
Thank you.

Steven



On 12/16/2013 04:35 PM, ogiljae wrote:
 Hi,

 Sorry about confusing.
 The way I wrote is for advanced network not basic zone.
 I believe that you should stick to Mr. Chiradeep's guide.

 James.


 On 12/17/13, 6:29 AM, Steven Liang wrote:
 Hi Giljae,

 I can not read your picture, can you send me again?
 BTW, I didn't set any vlans, you mean I must set vlan?
 Thank you.

 Steven

 On 12/16/2013 04:24 PM, giljae o wrote:
 Hi,

 You can add additional public ip addresses with the new vlan or
 existing vlan on UI below.

 Inline image 1


 On Tue, Dec 17, 2013 at 5:27 AM, Steven Liangstevenli...@yesup.com
 mailto:stevenli...@yesup.com  wrote:

  Hi Chiradeep,

  Thank you for updating.
  I haven't tried. Can I use cloudmonkey? I've installed
  cloudmonkey, just
  used for list.

  Steven


  On 12/16/2013 03:11 PM, Chiradeep Vittal wrote:
Have you tried expanding your pod with
  
 
 
http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updatePod.
html
  
On 12/16/13 7:22 AM, Steven Liangstevenli...@yesup.com
  mailto:stevenli...@yesup.com  wrote:
  
Hi All,
  
I have a question. If I would use up my existing public
 IPs(for
  example:
xxx.xxx.1.0/24), how to add new subnet(xxx.xxx.2.0/24) to my
  new pod?
Thank you.
  
Steven