Re: Desktop as a service

2014-12-14 Thread abhisek basu
Citrix Xen Desktop can be integrated with Citrix Cloud Platform (which is based 
on Cloud Stack).

Sent from my iPhone

 On 15 Dec 2014, at 5:49 am, Tilak Raj Singh tila...@gmail.com wrote:
 
 Hello Everyone...
 
 I just found an open source web application called Guacamole (
 http://guac-dev.org/) which can be used to share rdp and vnc connections
 over a webbrowser..the user connections can be provided using xml or
 ldapI was thinking about using it to create a service for cloudstack
 VDI. Like creating a template and running the service on multiple VMs and
 using a load balancer for the incoming requests and providing virtual
 desktops.
 I think this might be a feasible solution for cloudstack VDI support. Can
 somebody please give me or share views about the idea here??
 
 Regards
 
 On Thu, Dec 11, 2014 at 2:44 PM, sergio tonani sergio.ton...@gmail.com
 wrote:
 
 Hello
 we are working on a solution to deploy virtual desktops (and servers too)
 using cloudstack and a front end portal developed in python by our team. We
 have customized the kvm agent to support spice. In future we want also
 support rdp and other protocols like x2go.
 The solution will be available with open source license in spring 2015.
 
 
 
 We will make a point of keeping you up to date
 
 
 
 Regards
 
  _
 
 
 Il 10 dicembre 2014 alle 19.04 Ignazio Cassano 
 ignaziocass...@gmail.com ha scritto:
 
 
 
 Hi, if you do not want to modify acs to add spice support you could
 use
 
 ovirt : it is not a desktop as a service platform but it let you to
 add
 
 some user permissions and it supports spice.
 
 Regards
 
 
 Ignazio
 
 Il giorno 10/dic/2014 17:29, Nux! n...@li.nux.ro ha scritto:
 
 
 Until ACS supports Spice, if ever, I think you're better off with
 on-VM
 
 softare such RDP for Windows and X2GO/NX for Linux.
 
 
 HTH
 
 Lucian
 
 
 --
 
 Sent from the Delta quadrant using Borg technology!
 
 
 Nux!
 
 www.nux.ro
 
 
 - Original Message -
 
 From: Tilak Raj Singh tila...@gmail.com
 
 To: users@cloudstack.apache.org
 
 Sent: Tuesday, 9 December, 2014 19:37:55
 
 Subject: Re: Desktop as a service
 
 
 Hello John,
 
 
 Thanks for your reply. Have looked at XenDesktop but I am looking
 for
 
 some
 
 open source alternative to this..Is there something else
 available for
 
 such
 
 tasks which can be used for both windows and Linux...
 
 I found a few alternatives like spice (
 http://www.spice-space.org/
 ),
 
 apache
 
 VCL (http://vcl.apache.org/) and cantivo (http://cantivo.org/)
 
 I wished to know if any of these an be used with cloudstack? If
 yes then
 
 can someone please guide me how to do that?
 
 
 Regards
 
 
 On Tue, Dec 9, 2014 at 5:43 AM, John Kinsella j...@stratosec.co
 wrote:
 
 
 
 On Dec 5, 2014, at 11:08 PM, Tilak Raj Singh 
 tila...@gmail.com
 
 wrote:
 
 
 Hello Everybody,
 
 
 I am new to cloudstack so I dont know if I am going off the
 topic
 
 here. I
 
 wished to know how to setup Virtual Desktop Interface (VDI)
 using
 
 cloudstack. I browsed the net and found that openstack has the
 
 capabilities
 
 to setup this feature. Does cloudstack can be used to deploy
 such a
 
 service? If yes some links for the same would be highly
 appreciated.
 
 Also
 
 if cloudstack does not have that capability then is there some
 
 alternative
 
 to this?
 
 
 Hi and welcome! CloudStack can be used with Citrix XenDesktop
 and
 
 XenApp
 
 to provide VDI services for users. It’s covered in the
 XenDesktop
 
 install/setup docs (just replace CloudPlatform with CloudStack)
 
 
 Another thing I wanted to know is how to instantiate virtual
 machines
 
 automatically if the load is increased. Have read about load
 balancing
 
 and
 
 I guess its regarding this only.
 
 
 If you mean for VDI, XenDesktop can manage this once connected
 to
 
 CloudStack. If you mean outside of that setup, the phrase you’re
 looking
 
 for is “autoscaling.” Currently it works with either NetScaler
 load
 
 balancers or XenServer virtualization.
 
 
 The architecture I wish to setup is to provide VDI to several
 users on
 
 demand via browsers, where the compute is done on the virtual
 
 machines.
 
 Now
 
 when suppose 10 users are simultaneously using this Virtual
 Desktop
 
 the
 
 load on the VM increases so cloudstanck spawns another VM to
 share the
 
 load
 
 of these 10 users to 5 each on these two VMs created. I hope
 my doubt
 
 is
 
 clear.
 
 
 Yep - XenDesktop will do that for ya. :)
 
 
 John
 
 


Re: Reconfig of network after adding hosts to CS

2014-11-30 Thread abhisek basu
Can you please list the exact modifications you are want to perform? Also, a 
brief description of present scenario would help.

Sent from my iPhone

 On 30 Nov 2014, at 1:40 pm, Tejas Sheth tshet...@gmail.com wrote:
 
 Hello guyz,
 
  Really appriciate any help or link for recommendateion about cloudstack
 maintainance for xenserver network modification(bonding or network
 labling).
 What are the setps we should follow in cloudstack before we modify the
 network in xenserver?
 
 Thanks and regards,
 Tejas.
 
 On Sat, Nov 29, 2014 at 7:31 PM, Tejas Sheth tshet...@gmail.com wrote:
 
 Hello,
 
 Is it possible to reconfigure  network configuration (eg. creation of
 bondeding, network port lable change etc.)in xenserver cluster which is
 being managed by cloudstack ?
 
 What is the procedure for the same?
 
 Thanks,
 Tejas
 


Re: CloudStack Simulator on Google Compute VM

2014-11-25 Thread abhisek basu
I did this on AWS, works like a charm.

Sent from my iPhone

 On 25 Nov 2014, at 1:19 pm, Madan Ganesh Velayudham madangan...@me.com 
 wrote:
 
 Hello,
 
 Has anyone tried to bring up simulator on any of the public cloud platforms 
 (AWS, Google Compute or others).
 
 We’re trying to install cloudstack simulator on Google Compute VM.  
 Appreciate your pointers.
 
 Cheers,
 Madan


Re: Could not find System VM on the UI.

2014-11-03 Thread abhisek basu
Is the zone enabled? CS should create system vms once zone is enabled.

Sent from my iPhone

 On 4 Nov 2014, at 4:56 am, Dan Dong dongda...@gmail.com wrote:
 
 Hi, Experts,
   After I installed cloudstack and openned the UI, why I could not see any 
 System VMs(0) under the Infrastructure tab? I could add 
 Zone-Pod-Cluster-Hosts. And the system VM has already been downloaded:
 ll /mnt/secondary/template/tmpl/1/3/
 total 296048
 drwxr-xr-x 2 root root  4096 Nov  3 17:08 ./
 drwxr-xr-x 3 root root  4096 Nov  3 17:02 ../
 -rw-r--r-- 1 root root 303139840 Nov  3 17:08 
 a2c5d738-e8ee-4143-a16d-ca8a550df236.qcow2
 -rw-r--r-- 1 root root   295 Nov  3 17:08 template.properties
 
 
   What's the problem? How to add System VM to the cluster? Thanks!
 
   Cheers,
   Dan
 
 ​


Re: Cloudstack Secondary Storage filling up

2014-11-03 Thread abhisek basu
Do you have many snapshots for large volumes? Please check snapshot directory 
in side secondary storage as well.

Sent from my iPhone

 On 4 Nov 2014, at 4:13 am, motty cruz motty.c...@gmail.com wrote:
 
 yes that is correct! I only have 6 ISOs but the secondary storage is 79%
 full out of 1TB I have 200GB of free space.
 
 when I execute du -h 16G ./219
 but when I execute command ls I don't see anything
 so I did  ls -la I see a hidden file
 265]# ls -la
 total 13134948
 drwxrwxrwx  2 root root4096 Sep 30 14:19 .
 drwxrwxrwx 62 root root4096 Nov  3 14:41 ..
 -rw-r--r--  1 root root 13450174464 Sep 30 14:21
 .nfs03f400750013
 
 so I am asking if this file is OK to delete.
 
 Thanks in advance!
 Motty
 
 On Mon, Nov 3, 2014 at 2:30 PM, Andrija Panic andrija.pa...@gmail.com
 wrote:
 
 If they are completely empty - yes. But what is the point with deleting the
 empty folders?  And dont really understand your original issue ? You said
 you have only 6 isos but storage is 79%full ?
 On Nov 3, 2014 11:04 PM, motty cruz motty.c...@gmail.com wrote:
 
 Thanks Andrija,
 some of the folders seem to be empty:
 2]# du -h | less
 16G ./280
 
 [root@debka 2]# cd 280
 [root@debka 280]# ls
 [root@debka 280]# ls
 
 
 [root@deba 2]# pwd
 /export/secondary/template/tmpl/2
 [root@deba 2]# ls
 202  209  214  218  221  225  238  241  244  247  250  254  257  261  264
 267  271  278  282  287  292
 207  212  216  219  222  227  239  242  245  248  252  255  259  262  265
 269  272  280  283  288  293
 208  213  217  220  224  230  240  243  246  249  253  256  260  263  266
 270  276  281  286  289  294
 [root@deba 2]#
 
 should I delete them?
 
 
 On Mon, Nov 3, 2014 at 1:45 PM, Andrija Panic andrija.pa...@gmail.com
 wrote:
 
 There is template.properties file inside each template folder - you can
 read these and get information for each template..,and choose which one
 to
 deletethese folders/templates seems like they all belong to
 different
 accounts inside same domain - too much folders if you really have only
 6
 isos...
 On Nov 3, 2014 10:33 PM, motty cruz motty.c...@gmail.com wrote:
 
 Hello,
 I have a 1TB of secondary Storage which is 79% used but I only have 6
 ISOs
 and 3 templates. I am using XenServer 6.2.
 
 Secondary Storage is a NFS server: du -h
 16G ./template/tmpl/2/239
 16G ./template/tmpl/2/218
 7.5G ./template/tmpl/2/282
 16G ./template/tmpl/2/245
 16G ./template/tmpl/2/246
 13G ./template/tmpl/2/271
 7.5G ./template/tmpl/2/257
 2.5G ./template/tmpl/2/288
 399M ./template/tmpl/2/209
 12G ./template/tmpl/2/254
 16G ./template/tmpl/2/238
 16G ./template/tmpl/2/261
 16G ./template/tmpl/2/243
 12G ./template/tmpl/2/252
 16G ./template/tmpl/2/267
 13G ./template/tmpl/2/270
 12G ./template/tmpl/2/250
 13G ./template/tmpl/2/272
 16G ./template/tmpl/2/214
 16G ./template/tmpl/2/230
 13G ./template/tmpl/2/266
 16G ./template/tmpl/2/292
 16G ./template/tmpl/2/278
 16G ./template/tmpl/2/240
 16G ./template/tmpl/2/213
 13G ./template/tmpl/2/269
 7.5G ./template/tmpl/2/256
 11G ./template/tmpl/2/264
 1.4G ./template/tmpl/2/294
 744G ./template/tmpl/2
 750G ./template/tmpl
 750G ./template
 4.0K ./volumes
 750G .
 
 would it be safe to delete some of this templates manaully? if yes
 how
 can
 I identified a replicated templates and delete them?
 
 --
 Thanks for your support,
 Motty
 
 
 
 --
 Thanks for your support,
 Motty
 
 
 
 -- 
 Thanks for your support,
 Motty


Re: Upload root certificate and intermediate certificate

2014-09-20 Thread abhisek basu
Inline..

Sent from my iPhone

 On 20 Sep 2014, at 7:50 pm, Indra Pramana in...@sg.or.id wrote:
 
 Dear all,
 
 I am using CloudStack 4.2.0 and I am following this procedure to change
 console proxy to use our own domain:
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Replace+realhostip.com+with+Your+Own+Domain+Name
 
 On this step:
 
 
 Uploading root certificate API call. This is a mandatory step.
 
   -
   
 http://123.123.123.123:8080/client/api?command=uploadCustomCertificateid=1sessionkey=LAM0wM%2B0cejIYxCHprtGc4w15sg%3Dname=root1domainsuffix=customabc.comcertificate=-BEGIN+CERTIFICATE-%0AMIID%2FzCCAuegAwIBAgIJANX8lVYYPplhMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYD%0AVQQGEwJVUzELMAkGA1UECAwCQ0ExCzAJBgNVBAcMAlNDMRQwEgYDVQQKDAtDdXN0%0Ab21BbW9naDEeMBwGA1UECwwVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MRQwEgYDVQQD%0ADAtDdXN0b21BbW9naDEgMB4GCSqGSIb3DQEJARYRYW1vZ2h2a0BnbWFpbC5jb20w%0AHhcNMTQwNDAxMTgwODUzWhcNMjQwMzI5MTgwODUzWjCBlTELMAkGA1UEBhMCVVMx%0ACzAJBgNVBAgMAkNBMQswCQYDVQQHDAJTQzEUMBIGA1UECgwLQ3VzdG9tQW1vZ2gx%0AHjAcBgNVBAsMFUNlcnRpZmljYXRlIEF1dGhvcml0eTEUMBIGA1UEAwwLQ3VzdG9t%0AQW1vZ2gxIDAeBgkqhkiG9w0BCQEWEWFtb2dodmtAZ21haWwuY29tMIIBIjANBgkq%0AhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2Se5P610tI%2B5sz3X3FTjXGZZ3BzjdDIZ%0A5v5FQFcpAI35dBIYXFQv93gDp%2BAjwxETPP2p%2BhOMtWQm1DWAiyDldH7WZm7EDmz9%0A6ymnU00RlkjluUhfhwTtB9l59xo1haCaKcZQpNBPFm7yPlTTEVLSFAMr0QZVPuu3%0AHM4rClZe9KdGkh4%2FcpzIrYAys2MZpoG3mu0fE6EFbqEJYa5M%2Bvgsja1MqVt58TPo%0AqyaI548P6evJZ%2FpHiqDb360nxFDzbZlSqEUugq5UiJzMm5KyLObvhVhzEZcWLbGe%0ASUAYaIdUfvEt%2FKWlqDZ%2BzRW5RpVMTT%2FFZtArZLs%2FZuZJybq97KSj0wIDAQABo1Aw%0ATjAdBgNVHQ4EFgQUgb8VT%2BUqf1d%2BoCgC8Lap7znkx3gwHwYDVR0jBBgwFoAUgb8V%0AT%2BUqf1d%2BoCgC8Lap7znkx3gwDAYDVR0TBAUwAwEB%2FzANBgkqhkiG9w0BAQUFAAOC%0AAQEAbsKknHC6mEmE24eEV9CfAoGqym4aH3aEBS6%2FUWWXQ%2FOjEArM5xUSXVUCnpQR%0APgLTpqxMymi%2Bq%2BdhAPhJFxDq0nqw91kJmUZ9cy2LINs0akapNhWMvsomfy4YbiLR%0ANUHd%2BymaUb0Q%2BlGe5WeL4kh3W7KbVl0STIxFoRccxHKQHOiIcaQT4AzGWO8uCi90%0AbsFxk7Q11RwMUBUgK0qrhwnl31eUD0bBPvXADix0piTBtUjBGJSJR2at9l%2FoI6F0%0AMyHwZer%2FNsN0vr%2FyeCbYdipdvYrDJOniRuhku01uyFzf8U7%2Fa%2BrDVUtxGPxxfQzR%0APCTXX%2Fyam7lFvMT3ITntyF%2BKhg%3D%3D%0A-END+CERTIFICATE-
   
 http://10.147.59.226:8080/client/api?command=uploadCustomCertificateid=1sessionkey=LAM0wM%2B0cejIYxCHprtGc4w15sg%3Dname=root1domainsuffix=customamogh.comcertificate=-BEGIN+CERTIFICATE-%0AMIID%2FzCCAuegAwIBAgIJANX8lVYYPplhMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYD%0AVQQGEwJVUzELMAkGA1UECAwCQ0ExCzAJBgNVBAcMAlNDMRQwEgYDVQQKDAtDdXN0%0Ab21BbW9naDEeMBwGA1UECwwVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MRQwEgYDVQQD%0ADAtDdXN0b21BbW9naDEgMB4GCSqGSIb3DQEJARYRYW1vZ2h2a0BnbWFpbC5jb20w%0AHhcNMTQwNDAxMTgwODUzWhcNMjQwMzI5MTgwODUzWjCBlTELMAkGA1UEBhMCVVMx%0ACzAJBgNVBAgMAkNBMQswCQYDVQQHDAJTQzEUMBIGA1UECgwLQ3VzdG9tQW1vZ2gx%0AHjAcBgNVBAsMFUNlcnRpZmljYXRlIEF1dGhvcml0eTEUMBIGA1UEAwwLQ3VzdG9t%0AQW1vZ2gxIDAeBgkqhkiG9w0BCQEWEWFtb2dodmtAZ21haWwuY29tMIIBIjANBgkq%0AhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2Se5P610tI%2B5sz3X3FTjXGZZ3BzjdDIZ%0A5v5FQFcpAI35dBIYXFQv93gDp%2BAjwxETPP2p%2BhOMtWQm1DWAiyDldH7WZm7EDmz9%0A6ymnU00RlkjluUhfhwTtB9l59xo1haCaKcZQpNBPFm7yPlTTEVLSFAMr0QZVPuu3%0AHM4rClZe9KdGkh4%2FcpzIrYAys2MZpoG3mu0fE6EFbqEJYa5M%2Bvgsja1MqVt58TPo%0AqyaI548P6evJZ%2FpHiqDb360nxFDzbZlSqEUugq5UiJzMm5KyLObvhVhzEZcWLbGe%0ASUAYaIdUfvEt%2FKWlqDZ%2BzRW5RpVMTT%2FFZtArZLs%2FZuZJybq97KSj0wIDAQABo1Aw%0ATjAdBgNVHQ4EFgQUgb8VT%2BUqf1d%2BoCgC8Lap7znkx3gwHwYDVR0jBBgwFoAUgb8V%0AT%2BUqf1d%2BoCgC8Lap7znkx3gwDAYDVR0TBAUwAwEB%2FzANBgkqhkiG9w0BAQUFAAOC%0AAQEAbsKknHC6mEmE24eEV9CfAoGqym4aH3aEBS6%2FUWWXQ%2FOjEArM5xUSXVUCnpQR%0APgLTpqxMymi%2Bq%2BdhAPhJFxDq0nqw91kJmUZ9cy2LINs0akapNhWMvsomfy4YbiLR%0ANUHd%2BymaUb0Q%2BlGe5WeL4kh3W7KbVl0STIxFoRccxHKQHOiIcaQT4AzGWO8uCi90%0AbsFxk7Q11RwMUBUgK0qrhwnl31eUD0bBPvXADix0piTBtUjBGJSJR2at9l%2FoI6F0%0AMyHwZer%2FNsN0vr%2FyeCbYdipdvYrDJOniRuhku01uyFzf8U7%2Fa%2BrDVUtxGPxxfQzR%0APCTXX%2Fyam7lFvMT3ITntyF%2BKhg%3D%3D%0A-END+CERTIFICATE-
   - *Note: when we upload root certificate  through API, only CPVM will be
   rebooted. Also before applying next certificate. make sure all your system
   vm agents are in up state.*
 
 =
 
 - What should we put under sessionkey, is it the API key from CloudStack
 GUI  Accounts  admin  View Users  admin  API Key?
 
  Session key is the returned when we use login api. If you use port 8096, 
  you may ignore session key.

 - What is the best way to convert the certificate into one line to be put
 on the API URL? The document suggested Google Chrome's Advanced Rest
 Client, I have downloaded the module on my Chrome but not too sure how to
 use it. Any pointers or advise?
  there are online tools to URLEncode the cert. Just search for URLEncode 
  tool.

 Looking forward to your reply, thank you.
 
 Cheers.


Re: Upload root certificate and intermediate certificate

2014-09-20 Thread abhisek basu
If you are using signature then session key is not needed.

Sent from my iPhone

 On 20 Sep 2014, at 11:49 pm, Indra Pramana in...@sg.or.id wrote:
 
 Hi Abhisek,
 
 I checked on this documentation on login via API:
 
 http://cloudstack.apache.org/docs/api/apidocs-4.2/user/login.html
 
 It says that for login API command, I need to put the username and password
 as well? Can I login using username and password instead, do the api key
 and signature still required?
 
 I also checked on this documentation on signing API request:
 
 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Developers_Guide/signing-api-requests.html
 
 If I sign the API requests using api key and signature say for the
 uploadCustomCertificate command, do I still need to put the session key?
 
 Thank you.
 
 
 
 
 On Sun, Sep 21, 2014 at 1:39 AM, abhisek basu abhisekb...@msn.com wrote:
 
 Please run the login api using the api key and signature, in return you
 will get the session key.
 
 Sent from my iPhone
 
 On 20 Sep 2014, at 10:58 pm, Indra Pramana in...@sg.or.id wrote:
 
 Hi Abhisek and all,
 
 Good day to you, and thank you for your reply.
 
 How can we tell what is the session key, are you able to give me the
 command to check what is the session key? I have API key and secret key,
 but not too sure how to check what is the session key.
 
 Looking forward to your reply, thank you.
 
 Cheers.
 
 
 On Sat, Sep 20, 2014 at 10:26 PM, abhisek basu abhisekb...@msn.com
 wrote:
 
 Inline..
 
 Sent from my iPhone
 
 On 20 Sep 2014, at 7:50 pm, Indra Pramana in...@sg.or.id wrote:
 
 Dear all,
 
 I am using CloudStack 4.2.0 and I am following this procedure to change
 console proxy to use our own domain:
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Replace+realhostip.com+with+Your+Own+Domain+Name
 
 On this step:
 
 
 Uploading root certificate API call. This is a mandatory step.
 
 -
 http://123.123.123.123:8080/client/api?command=uploadCustomCertificateid=1sessionkey=LAM0wM%2B0cejIYxCHprtGc4w15sg%3Dname=root1domainsuffix=customabc.comcertificate=-BEGIN+CERTIFICATE-%0AMIID%2FzCCAuegAwIBAgIJANX8lVYYPplhMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYD%0AVQQGEwJVUzELMAkGA1UECAwCQ0ExCzAJBgNVBAcMAlNDMRQwEgYDVQQKDAtDdXN0%0Ab21BbW9naDEeMBwGA1UECwwVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MRQwEgYDVQQD%0ADAtDdXN0b21BbW9naDEgMB4GCSqGSIb3DQEJARYRYW1vZ2h2a0BnbWFpbC5jb20w%0AHhcNMTQwNDAxMTgwODUzWhcNMjQwMzI5MTgwODUzWjCBlTELMAkGA1UEBhMCVVMx%0ACzAJBgNVBAgMAkNBMQswCQYDVQQHDAJTQzEUMBIGA1UECgwLQ3VzdG9tQW1vZ2gx%0AHjAcBgNVBAsMFUNlcnRpZmljYXRlIEF1dGhvcml0eTEUMBIGA1UEAwwLQ3VzdG9t%0AQW1vZ2gxIDAeBgkqhkiG9w0BCQEWEWFtb2dodmtAZ21haWwuY29tMIIBIjANBgkq%0AhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2Se5P610tI%2B5sz3X3FTjXGZZ3BzjdDIZ%0A5v5FQFcpAI35dBIYXFQv93gDp%2BAjwxETPP2p%2BhOMtWQm1DWAiyDldH7WZm7EDmz9%0A6ymnU00RlkjluUhfhwTtB9l59xo1haCaKcZQpNBPFm7yPlTTEVLSFAMr0QZVPuu3%0AHM4rClZe9KdGkh4%2FcpzIrYAys2MZpoG3mu0fE6EFbqEJYa5M%2Bvgsja1MqVt58TPo%0AqyaI548P6evJZ%2FpHiqDb360nxFDzbZlSqEUugq5UiJzMm5KyLObvhVhzEZcWLbGe%0ASUAYaIdUfvEt%2FKWlqDZ%2BzRW5RpVMTT%2FFZtArZLs%2FZuZJybq97KSj0wIDAQABo1Aw%0ATjAdBgNVHQ4EFgQUgb8VT%2BUqf1d%2BoCgC8Lap7znkx3gwHwYDVR0jBBgwFoAUgb8V%0AT%2BUqf1d%2BoCgC8Lap7znkx3gwDAYDVR0TBAUwAwEB%2FzANBgkqhkiG9w0BAQUFAAOC%0AAQEAbsKknHC6mEmE24eEV9CfAoGqym4aH3aEBS6%2FUWWXQ%2FOjEArM5xUSXVUCnpQR%0APgLTpqxMymi%2Bq%2BdhAPhJFxDq0nqw91kJmUZ9cy2LINs0akapNhWMvsomfy4YbiLR%0ANUHd%2BymaUb0Q%2BlGe5WeL4kh3W7KbVl0STIxFoRccxHKQHOiIcaQT4AzGWO8uCi90%0AbsFxk7Q11RwMUBUgK0qrhwnl31eUD0bBPvXADix0piTBtUjBGJSJR2at9l%2FoI6F0%0AMyHwZer%2FNsN0vr%2FyeCbYdipdvYrDJOniRuhku01uyFzf8U7%2Fa%2BrDVUtxGPxxfQzR%0APCTXX%2Fyam7lFvMT3ITntyF%2BKhg%3D%3D%0A-END+CERTIFICATE-
 
 http://10.147.59.226:8080/client/api?command=uploadCustomCertificateid=1sessionkey=LAM0wM%2B0cejIYxCHprtGc4w15sg%3Dname=root1domainsuffix=customamogh.comcertificate=-BEGIN+CERTIFICATE-%0AMIID%2FzCCAuegAwIBAgIJANX8lVYYPplhMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYD%0AVQQGEwJVUzELMAkGA1UECAwCQ0ExCzAJBgNVBAcMAlNDMRQwEgYDVQQKDAtDdXN0%0Ab21BbW9naDEeMBwGA1UECwwVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MRQwEgYDVQQD%0ADAtDdXN0b21BbW9naDEgMB4GCSqGSIb3DQEJARYRYW1vZ2h2a0BnbWFpbC5jb20w%0AHhcNMTQwNDAxMTgwODUzWhcNMjQwMzI5MTgwODUzWjCBlTELMAkGA1UEBhMCVVMx%0ACzAJBgNVBAgMAkNBMQswCQYDVQQHDAJTQzEUMBIGA1UECgwLQ3VzdG9tQW1vZ2gx%0AHjAcBgNVBAsMFUNlcnRpZmljYXRlIEF1dGhvcml0eTEUMBIGA1UEAwwLQ3VzdG9t%0AQW1vZ2gxIDAeBgkqhkiG9w0BCQEWEWFtb2dodmtAZ21haWwuY29tMIIBIjANBgkq%0AhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2Se5P610tI%2B5sz3X3FTjXGZZ3BzjdDIZ%0A5v5FQFcpAI35dBIYXFQv93gDp%2BAjwxETPP2p%2BhOMtWQm1DWAiyDldH7WZm7EDmz9%0A6ymnU00RlkjluUhfhwTtB9l59xo1haCaKcZQpNBPFm7yPlTTEVLSFAMr0QZVPuu3%0AHM4rClZe9KdGkh4%2FcpzIrYAys2MZpoG3mu0fE6EFbqEJYa5M%2Bvgsja1MqVt58TPo%0AqyaI548P6evJZ%2FpHiqDb360nxFDzbZlSqEUugq5UiJzMm5KyLObvhVhzEZcWLbGe%0ASUAYaIdUfvEt%2FKWlqDZ%2BzRW5RpVMTT%2FFZtArZLs%2FZuZJybq97KSj0wIDAQABo1Aw%0ATjAdBgNVHQ4EFgQUgb8VT%2BUqf1d%2BoCgC8Lap7znkx3gwHwYDVR0jBBgwFoAUgb8V%0AT%2BUqf1d%2BoCgC8Lap7znkx3gwDAYDVR0TBAUwAwEB%2FzANBgkqhkiG9w0BAQUFAAOC%0AAQEAbsKknHC6mEmE24eEV9CfAoGqym4aH3aEBS6

Re: Upload root certificate and intermediate certificate

2014-09-20 Thread abhisek basu
Can you include the response and set it to json format to get better output. 
However the default response is in XML.

Sent from my iPhone

 On 21 Sep 2014, at 12:11 am, Indra Pramana in...@sg.or.id wrote:
 
 Hi Abhisek and all,
 
 I tried to run the login API command via browser:
 
 https://x.x.x.x:8080/client/api?command=loginusername=myusernamepassword=mypasswordinMD5hashingformat
 
 The result is all the response results in one single line without any
 separator.
 
 e.g.
 
 1800somethingfalseusernameAsia/Kuala_Lumpurblablablasomecodeblablabla=8.0something
 
 How can I tell which one is the session key?
 
 
 On Sun, Sep 21, 2014 at 2:19 AM, Indra Pramana in...@sg.or.id wrote:
 
 Hi Abhisek,
 
 I checked on this documentation on login via API:
 
 http://cloudstack.apache.org/docs/api/apidocs-4.2/user/login.html
 
 It says that for login API command, I need to put the username and
 password as well? Can I login using username and password instead, do the
 api key and signature still required?
 
 I also checked on this documentation on signing API request:
 
 
 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Developers_Guide/signing-api-requests.html
 
 If I sign the API requests using api key and signature say for the
 uploadCustomCertificate command, do I still need to put the session key?
 
 Thank you.
 
 
 
 
 On Sun, Sep 21, 2014 at 1:39 AM, abhisek basu abhisekb...@msn.com wrote:
 
 Please run the login api using the api key and signature, in return you
 will get the session key.
 
 Sent from my iPhone
 
 On 20 Sep 2014, at 10:58 pm, Indra Pramana in...@sg.or.id wrote:
 
 Hi Abhisek and all,
 
 Good day to you, and thank you for your reply.
 
 How can we tell what is the session key, are you able to give me the
 command to check what is the session key? I have API key and secret key,
 but not too sure how to check what is the session key.
 
 Looking forward to your reply, thank you.
 
 Cheers.
 
 
 On Sat, Sep 20, 2014 at 10:26 PM, abhisek basu abhisekb...@msn.com
 wrote:
 
 Inline..
 
 Sent from my iPhone
 
 On 20 Sep 2014, at 7:50 pm, Indra Pramana in...@sg.or.id wrote:
 
 Dear all,
 
 I am using CloudStack 4.2.0 and I am following this procedure to
 change
 console proxy to use our own domain:
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Replace+realhostip.com+with+Your+Own+Domain+Name
 
 On this step:
 
 
 Uploading root certificate API call. This is a mandatory step.
 
 -
 http://123.123.123.123:8080/client/api?command=uploadCustomCertificateid=1sessionkey=LAM0wM%2B0cejIYxCHprtGc4w15sg%3Dname=root1domainsuffix=customabc.comcertificate=-BEGIN+CERTIFICATE-%0AMIID%2FzCCAuegAwIBAgIJANX8lVYYPplhMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYD%0AVQQGEwJVUzELMAkGA1UECAwCQ0ExCzAJBgNVBAcMAlNDMRQwEgYDVQQKDAtDdXN0%0Ab21BbW9naDEeMBwGA1UECwwVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MRQwEgYDVQQD%0ADAtDdXN0b21BbW9naDEgMB4GCSqGSIb3DQEJARYRYW1vZ2h2a0BnbWFpbC5jb20w%0AHhcNMTQwNDAxMTgwODUzWhcNMjQwMzI5MTgwODUzWjCBlTELMAkGA1UEBhMCVVMx%0ACzAJBgNVBAgMAkNBMQswCQYDVQQHDAJTQzEUMBIGA1UECgwLQ3VzdG9tQW1vZ2gx%0AHjAcBgNVBAsMFUNlcnRpZmljYXRlIEF1dGhvcml0eTEUMBIGA1UEAwwLQ3VzdG9t%0AQW1vZ2gxIDAeBgkqhkiG9w0BCQEWEWFtb2dodmtAZ21haWwuY29tMIIBIjANBgkq%0AhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2Se5P610tI%2B5sz3X3FTjXGZZ3BzjdDIZ%0A5v5FQFcpAI35dBIYXFQv93gDp%2BAjwxETPP2p%2BhOMtWQm1DWAiyDldH7WZm7EDmz9%0A6ymnU00RlkjluUhfhwTtB9l59xo1haCaKcZQpNBPFm7yPlTTEVLSFAMr0QZVPuu3%0AHM4rClZe9KdGkh4%2FcpzIrYAys2MZpoG3mu0fE6EFbqEJYa5M%2Bvgsja1MqVt58TPo%0AqyaI548P6evJZ%2FpHiqDb360nxFDzbZlSqEUugq5UiJzMm5KyLObvhVhzEZcWLbGe%0ASUAYaIdUfvEt%2FKWlqDZ%2BzRW5RpVMTT%2FFZtArZLs%2FZuZJybq97KSj0wIDAQABo1Aw%0ATjAdBgNVHQ4EFgQUgb8VT%2BUqf1d%2BoCgC8Lap7znkx3gwHwYDVR0jBBgwFoAUgb8V%0AT%2BUqf1d%2BoCgC8Lap7znkx3gwDAYDVR0TBAUwAwEB%2FzANBgkqhkiG9w0BAQUFAAOC%0AAQEAbsKknHC6mEmE24eEV9CfAoGqym4aH3aEBS6%2FUWWXQ%2FOjEArM5xUSXVUCnpQR%0APgLTpqxMymi%2Bq%2BdhAPhJFxDq0nqw91kJmUZ9cy2LINs0akapNhWMvsomfy4YbiLR%0ANUHd%2BymaUb0Q%2BlGe5WeL4kh3W7KbVl0STIxFoRccxHKQHOiIcaQT4AzGWO8uCi90%0AbsFxk7Q11RwMUBUgK0qrhwnl31eUD0bBPvXADix0piTBtUjBGJSJR2at9l%2FoI6F0%0AMyHwZer%2FNsN0vr%2FyeCbYdipdvYrDJOniRuhku01uyFzf8U7%2Fa%2BrDVUtxGPxxfQzR%0APCTXX%2Fyam7lFvMT3ITntyF%2BKhg%3D%3D%0A-END+CERTIFICATE-
 
 http://10.147.59.226:8080/client/api?command=uploadCustomCertificateid=1sessionkey=LAM0wM%2B0cejIYxCHprtGc4w15sg%3Dname=root1domainsuffix=customamogh.comcertificate=-BEGIN+CERTIFICATE-%0AMIID%2FzCCAuegAwIBAgIJANX8lVYYPplhMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYD%0AVQQGEwJVUzELMAkGA1UECAwCQ0ExCzAJBgNVBAcMAlNDMRQwEgYDVQQKDAtDdXN0%0Ab21BbW9naDEeMBwGA1UECwwVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MRQwEgYDVQQD%0ADAtDdXN0b21BbW9naDEgMB4GCSqGSIb3DQEJARYRYW1vZ2h2a0BnbWFpbC5jb20w%0AHhcNMTQwNDAxMTgwODUzWhcNMjQwMzI5MTgwODUzWjCBlTELMAkGA1UEBhMCVVMx%0ACzAJBgNVBAgMAkNBMQswCQYDVQQHDAJTQzEUMBIGA1UECgwLQ3VzdG9tQW1vZ2gx%0AHjAcBgNVBAsMFUNlcnRpZmljYXRlIEF1dGhvcml0eTEUMBIGA1UEAwwLQ3VzdG9t%0AQW1vZ2gxIDAeBgkqhkiG9w0BCQEWEWFtb2dodmtAZ21haWwuY29tMIIBIjANBgkq%0AhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2Se5P610tI

Re: API calls and keys

2014-09-03 Thread abhisek basu
You need to generate the signature; sample code us here: 
http://abhisekbasu.wordpress.com/2013/11/19/how-to-generate-signature-for-cloudstack-api/

You may also consider using login api in your scenario.

Sent from my iPhone

 On 3 Sep 2014, at 8:11 pm, Giri Prasad g_p...@yahoo.com.INVALID wrote:
 
 Hello,
 
 I am using a html/php script to read in userid, password and domain id from 
 the user.  Using CloudStackClient.php, I am able to call most of the api's, 
 like list vm's, and the output seems correct.
 
 And I want to use some API's via a href   like:
 
 http://XXX.XXX.XXX.5:8080/client/api?command=startVirtualMachineid=----
 http://XXX.XXX.XXX.5:8080/client/api?command=stopVirtualMachineid=----
 http://XXX.XXX.XXX.5:8080/client/console?cmd=accessvm=----
 
 I need to add dynamically the apikey and signature:
 
 apiKey=miVr6X7u6bN_sdahOBpjNejPgEsT35eXqjB8CG20YI3yaxXcgpyuaIRmFI_EJTVwZ0nUkkJbPmY3y2bciKwFQ
 signature=Lxx1DM40AjcXU%2FcaiK8RAP0O1hU%3D
 
 since apikey and signature are required, are there, any api's, where I can 
 dynamically, get it from the CS infra, and use the return values, for 
 building the apiKey and signature part of the url. 
 
 
 I need to get the apikey and signature dynamically, for a specific user 
 (userid/passwd), and then use it, for building the url.
 
 
 Thanks  Regards,
 Giri
 
 Without apikeys and signature:
 startvirtualmachineresponse 
 cloud-stack-version=4.1.1errorcode401/errorcodeerrortextunable to 
 verify user credentials and/or request 
 signature/errortext/startvirtualmachineresponse
 
 console?cmd=access
 Access denied. Invalid web session or API key in request


Re: Unable to start a VM due to insufficient capacity

2014-09-01 Thread abhisek basu
You may want to review entire flow for job-27, which is related to this 
deployment failure. There are multiple possibilities for this  insufficient 
capacity error.

Sent from my iPhone

 On 1 Sep 2014, at 6:49 pm, Giri Prasad g_p...@yahoo.com.INVALID wrote:
 
 Hello,
 
 I have installed cs 4.3 on Ubuntu 14.04 LTS. 
 
 
 Created the usual infra, registered a couple of ISO's, and tried to created a 
 instance using the ISO, via the gui. Comes out with some error. Any ideas on 
 how to fix this?
 
 Thanks  Regards,
 Giri
 2014-09-01 17:21:26,551 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-6:ctx-703486f7 ctx-ee65bd67) ===END===  XXX.XXX.XXX.5 -- GET  
 command=queryAsyncJobResultjobId=1b7d53c6-256a-4721-b69c-d68c1f6d7d42response=jsonsessionkey=e6F89zbOUS4dR2%2FmrkznQBxeQ%2BM%3D_=1409572286355
 2014-09-01 17:21:26,733 ERROR [c.c.a.ApiAsyncJobDispatcher] 
 (Job-Executor-6:ctx-d1e72afb) Unexpected exception while executing 
 org.apache.cloudstack.api.command.user.vm.DeployVMCmd
 com.cloud.utils.exception.CloudRuntimeException: Unable to start a VM due to 
 insufficient capacity
at 
 com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:605)
at 
 org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:237)
at 
 org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:207)
at 
 com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3581)
at 
 com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3161)
at 
 com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3147)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at 
 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
 com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)
at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at 
 org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
 org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy169.startVirtualMachine(Unknown Source)
at 
 org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:443)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
at 
 com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109)
at com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66)
at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
 com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63)
at 
 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:509)
at 
 org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
 org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
 Caused by: com.cloud.exception.InsufficientServerCapacityException: Unable to 
 create a deployment for 
 VM[User|ubuntu-12-04-64bit-admin-Instance]Scope=interface 
 

RE: Running the cloudstack in simulator

2014-08-01 Thread abhisek basu
Thanks for the pointer. This issue is now resolved.

I installed ecdsa on cygwin using:

pip install ecdsa


Regards,
Abhisek




 From: santhosh.eduku...@citrix.com
 To: users@cloudstack.apache.org
 Subject: RE: Running the cloudstack in simulator
 Date: Fri, 1 Aug 2014 05:23:39 +
 
 Below error suggests, you dont have a specific module. please use python 
 2.7.x(specifically 6) and then try.
 
  ImportError: No module named ecdsa
 
 Instead of going that route, just follow the below link, but for this as 
 well, you need relevant packages for python. If you install marvin, it will 
 install dependent packages.
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Validating+check-ins+for+your+local+changes,+using+Simulator
 
 santhosh
 
 From: abhisek basu [abhisekb...@msn.com]
 Sent: Friday, August 01, 2014 1:15 AM
 To: CloudStack-Users
 Subject: RE: Running the cloudstack in simulator
 
 When I tried the below mentined command with -X;  more detailed error:
 
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 14.700 s
 [INFO] Finished at: 2014-08-01T10:07:18+05:30
 [INFO] Final Memory: 44M/118M
 [INFO] 
 
 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
 (pre-integration-test) on project cloud-marvin: Command execution failed. 
 Process exited with an error: 1 (Exit value: 1) - [Help 1]
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
 goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (pre-integration-test) on 
 project cloud-marvin: Command execution failed.
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
 at 
 org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
 at 
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
 Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution 
 failed.
 at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:362)
 at 
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
 ... 19 more
 Caused by: org.apache.commons.exec.ExecuteException: Process exited with an 
 error: 1 (Exit value: 1)
 at 
 org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
 at 
 org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
 at 
 org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610)
 at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352)
 ... 21 more
 
 Any one?
 
 
 Regards,
 
 Abhisek Basu
 
 
 
  From: abhisekb...@msn.com
  To: users@cloudstack.apache.org
  Subject: Running the cloudstack in simulator
  Date: Fri, 1 Aug 2014 04:35:21 +
 
  Hello All,
 
  I am trying to run CS simulator (master branch latest). This setup is on 
  cygwin running on Windows 8.1. Here is the error I am encountering:
 
  $ mvn -Pdeveloper,marvin.setup -Dmarvin.config=setup/dev/advanced.cfg -pl 
  :cloud-marvin integration-test
  [INFO] Scanning for projects...
  [INFO]
  [INFO

Running the cloudstack in simulator

2014-07-31 Thread abhisek basu
Hello All,

I am trying to run CS simulator (master branch latest). This setup is on cygwin 
running on Windows 8.1. Here is the error I am encountering:

$ mvn -Pdeveloper,marvin.setup -Dmarvin.config=setup/dev/advanced.cfg -pl 
:cloud-marvin integration-test
[INFO] Scanning for projects...
[INFO]
[INFO] 
[INFO] Building Apache CloudStack marvin 4.5.0-SNAPSHOT
[INFO] 
[INFO]
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-marvin ---
Downloading: 
http://repository.apache.org/snapshots/org/apache/cloudstack/checkstyle/4.5.0-SNAPSHOT/maven-metadata.xml
[INFO] Starting audit...
Audit done.

[INFO]
[INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-marvin 
---
[INFO]
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-marvin ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (pre-integration-test) @ cloud-marvin 
---
Traceback (most recent call last):
  File deployAndRun.py, line 24, in module
from marvinInit import MarvinInit
  File /home/abhisekb/cloudstack/tools/marvin/marvin/marvinInit.py, line 28, 
in module
from marvin.marvinLog import MarvinLog
  File /usr/lib/python2.7/site-packages/marvin/marvinLog.py, line 28, in 
module
from marvin.lib.utils import random_gen
  File /usr/lib/python2.7/site-packages/marvin/lib/utils.py, line 34, in 
module
from marvin.sshClient import SshClient
  File /usr/lib/python2.7/site-packages/marvin/sshClient.py, line 18, in 
module
from paramiko import (BadHostKeyException,
  File /usr/lib/python2.7/site-packages/paramiko/__init__.py, line 31, in 
module
from paramiko.transport import SecurityOptions, Transport
  File /usr/lib/python2.7/site-packages/paramiko/transport.py, line 55, in 
module
from paramiko.ecdsakey import ECDSAKey
  File /usr/lib/python2.7/site-packages/paramiko/ecdsakey.py, line 26, in 
module
from ecdsa import SigningKey, VerifyingKey, der, curves
ImportError: No module named ecdsa
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 50.043 s
[INFO] Finished at: 2014-08-01T09:42:31+05:30
[INFO] Final Memory: 47M/118M
[INFO] 
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
(pre-integration-test) on project cloud-marvin: Command execution failed. 
Process exited with an error: 1 (Exit value: 1) - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

 Can someone help here?


Regards,

Abhisek   

RE: Running the cloudstack in simulator

2014-07-31 Thread abhisek basu
When I tried the below mentined command with -X;  more detailed error:

[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 14.700 s
[INFO] Finished at: 2014-08-01T10:07:18+05:30
[INFO] Final Memory: 44M/118M
[INFO] 
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
(pre-integration-test) on project cloud-marvin: Command execution failed. 
Process exited with an error: 1 (Exit value: 1) - [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (pre-integration-test) on 
project cloud-marvin: Command execution failed.
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution 
failed.
at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:362)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an 
error: 1 (Exit value: 1)
at 
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
at 
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610)
at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352)
... 21 more

Any one?


Regards,

Abhisek Basu



 From: abhisekb...@msn.com
 To: users@cloudstack.apache.org
 Subject: Running the cloudstack in simulator
 Date: Fri, 1 Aug 2014 04:35:21 +
 
 Hello All,
 
 I am trying to run CS simulator (master branch latest). This setup is on 
 cygwin running on Windows 8.1. Here is the error I am encountering:
 
 $ mvn -Pdeveloper,marvin.setup -Dmarvin.config=setup/dev/advanced.cfg -pl 
 :cloud-marvin integration-test
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building Apache CloudStack marvin 4.5.0-SNAPSHOT
 [INFO] 
 
 [INFO]
 [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
 cloud-marvin ---
 Downloading: 
 http://repository.apache.org/snapshots/org/apache/cloudstack/checkstyle/4.5.0-SNAPSHOT/maven-metadata.xml
 [INFO] Starting audit...
 Audit done.
 
 [INFO]
 [INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin ---
 [INFO]
 [INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin ---
 [INFO]
 [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-marvin 
 ---
 [INFO]
 [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
 cloud-marvin ---
 [INFO]
 [INFO] --- exec-maven-plugin:1.2.1:exec (pre-integration-test) @ cloud-marvin 
 ---
 Traceback (most recent call last):
   File deployAndRun.py, line 24, in module
 from marvinInit import MarvinInit
   File /home/abhisekb/cloudstack

Re: Admin Password not able to change after Integrating with LDAP CS4.3

2014-04-13 Thread abhisek basu
Hi Anoop,

When you change password of db user do you see any password change event 
generated on AD? At a minimum you should notice the hash value of the password 
field for that user to appear different after changing the password from AD 
side. Password last reset is also a field on AD that would confirm if the 
password change initiated from CS is reaching AD.

Sent from my iPhone

 On 13 Apr 2014, at 1:27 pm, Anoop Mohan linux.an...@gmail.com wrote:
 
 Sorry for the confusion here.
 
 Initially I tried to change password of local admin from UI , it fails
 because its by design. So I changed from DB it worked.
 
 After that I had to change password for AD user  in which I had Integrated
 with CS. I changed from windows AD . But it didn't worked.I think I have to
 change Global settings for changing the password.
 
 
 
 
 On Wed, Apr 9, 2014 at 9:01 PM, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:
 
 Hi Anoop.
 
 I'll admit I'm a little confused.
 
 My root/admin account is not in AD so used local CloudStack
 authentication, and I change it in CloudStack.
 
 All my user accounts are in AD, so I change the password in AD, not in
 CloudStack.
 
 If you had a user in AD which mapped to your admin account, why did you
 want to change it in CloudStack ?
 
 Regards
 
 Geoff Higginbottom
 
 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
 
 geoff.higginbot...@shapeblue.com
 
 -Original Message-
 From: Anoop Mohan [mailto:linux.an...@gmail.com]
 Sent: 09 April 2014 16:21
 To: users@cloudstack.apache.org
 Subject: Re: Admin Password not able to change after Integrating with LDAP
 CS4.3
 
 thanks Geoff I have local admin password changed from the DB. Now If I
 change the LDAP user password in AD, not able to login with the update
 password :(
 
 
 On Wed, Apr 9, 2014 at 4:15 PM, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:
 
 You can reset the local password for the root account using the API
 but not the GUI when LDAP is enabled
 
 You will need to
 
 List Users
 http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/listUsers
 .html
 
 To get the User ID, and then
 
 Update User
 http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/updateUse
 r.html
 
 To change the password.
 
 Regards
 
 Geoff Higginbottom
 
 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
 
 geoff.higginbot...@shapeblue.com
 
 -Original Message-
 From: Anoop Mohan [mailto:linux.an...@gmail.com]
 Sent: 09 April 2014 09:22
 To: users@cloudstack.apache.org
 Subject: Re: Admin Password not able to change after Integrating with
 LDAP
 CS4.3
 
 Root Admin ( Super USer )
 
 
 On Wed, Apr 9, 2014 at 1:49 PM, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:
 
 Are you trying to reset the password as a user (own password) or as
 Root Admin (other users password)
 
 Regards
 
 Geoff Higginbottom
 
 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
 
 geoff.higginbot...@shapeblue.com
 
 -Original Message-
 From: Anoop Mohan [mailto:linux.an...@gmail.com]
 Sent: 09 April 2014 09:15
 To: users@cloudstack.apache.org
 Subject: Re: Admin Password not able to change after Integrating
 with LDAP
 CS4.3
 
 But this is local account not LDAP account
 
 
 On Wed, Apr 9, 2014 at 11:08 AM, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:
 
 Anoop,
 
 This is by design, LDAP is the authoritative authentication source
 so you need to change the password there, CloudStack can only
 query LDAP, not update it.
 
 Regards
 
 Geoff Higginbottom
 CTO / Cloud Architect
 
 
 D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603 0540tel:
 +442036030540 | M: +447968161581tel:+447968161581
 
 geoff.higginbot...@shapeblue.commailto:geoff.higginbottom@shapebl
 ue
 .c
 om
 | www.shapeblue.comhtp://www.shapeblue.com/
 
 ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
 4HSx-apple-data-detectors://37
 
 
 
 On 9 Apr 2014, at 06:09, Anoop Mohan linux.an...@gmail.com
 mailto:
 linux.an...@gmail.com wrote:
 
 Any has idea how to change it from UI. or is it by Design?
 
 
 On Tue, Apr 8, 2014 at 10:11 PM, Anoop Mohan
 linux.an...@gmail.com mailto:linux.an...@gmail.com wrote:
 
 I get Error  cloud not change your password because LDAP is
 enabled.
 when tried from UI
 
 
 --
 Thanks  Regards,
 Anoop Mohan
 
 
 
 
 --
 Thanks  Regards,
 Anoop Mohan
 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/ offers
 the best
 24/7 SLA for CloudStack Environments.
 
 Apache CloudStack Bootcamp training courses
 
 **NEW!** CloudStack 4.2.1 training
 http://shapeblue.com/cloudstack-training/
 28th-29th May 2014, Bangalore. Classromm
 http://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, On-line
 

Re: API call using cloudstack Python client

2014-04-07 Thread abhisek basu
Can you please add listAll=true and check output?

Sent from my iPhone

 On 7 Apr 2014, at 9:05 pm, Anoop Mohan linux.an...@gmail.com wrote:
 
 I'm trying to listVMs under Accounts.But not getting any output.
 
 
 getting Respone in the API and Cloud log
 
 2014-04-07 20:52:44,988 INFO  [a.c.c.a.ApiServer]
 (catalina-exec-12:ctx-eae598aa ctx-f6e5dc52 ctx-c69fe6b5) (userId=4
 accountId=4 sessionId=null) 192.168.124 -- GET
 apikey=g9I2-EKFEgiT72CtmlHl2dLyX5ovB0LxJFtA6BS-5J3gE6I6dG2HAziyCgJzGrK2aHm4xQpFjuNdYvcaQ6vMlgcommand=listVirtualMachinesresponse=jsonsignature=X8P7PoVfUSaWPXuTeAQ%2FwHl%2FDLc%3D
 200 { listvirtualmachinesresponse : { } }
 
 
 Global settings
 
 api.throttling.max 25 to 2500
 integration.api.port 8096
 
 Python API client  https://github.com/jasonhancock/cloudstack-python-client
 CloduStack4.3
 
 Is there any other settings I need to check. I'm trying to list VM's  of
 Accounts under projects
 -- 
 Thanks  Regards,
 Anoop Mohan


Re: help: any body maintaining cloud blogs...???

2014-03-31 Thread abhisek basu
I have started blogging regarding ACS as well in 
http://abhisekbasu.wordpress.com/

Sent from my iPhone

 On 31 Mar 2014, at 7:05 pm, Antone Heyward thehyperadvi...@gmail.com 
 wrote:
 
 I've posted some starters with ACS and will do more updated ones now with
 4.3.
 
 http://thehyperadvisor.com
 
 
 On Mon, Mar 31, 2014 at 4:16 AM, anil lakineni 
 anilkumar459.lakin...@gmail.com wrote:
 
 thanQ guys..
 
 regards,
 Anil Kumar Lakineni
 
 
 On Sun, Mar 30, 2014 at 9:18 PM, sebgoa run...@gmail.com wrote:
 
 
 On Mar 29, 2014, at 9:22 PM, Nux! n...@li.nux.ro wrote:
 
 On 29.03.2014 19:40, raja sekhar wrote:
 hello guys,
 provide some material blogs to learn about apache cloud-stack ,apart
 from
 apache cloud-stack organization..please..
 thanks  regards,
 rajsekhar.
 
 Hello,
 
 If you googled seriously you would have found some sites.
 The following have many articles on ACS:
 http://shankerbalan.net/
 http://shapeblue.com/blog/
 
 I like mine too :)
 
 http://sebgoa.blogspot.com
 
 and http://buildacloud.org
 
 
 
 
 HTH
 Lucian
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro
 
 
 
 -- 
 Antone
 @thehyperadvisor
 http://thehyperadvisor.com


Re: Management IP addresses pool exhausted

2014-03-22 Thread abhisek basu
Before making changes in DB, try to decrease the expung interval and delay 
interval to very low value, restart management service. This way the VM expung 
process will be faster and eventually address the issue.

Sent from my iPhone

 On 22 Mar 2014, at 8:58 am, Umair Azam ua...@i2cinc.com wrote:
 
 SELECT * FROM cloud.vm_instance where (name like s-% or name like v-%);
 
 shows me all VM's is expunging state and expunge delay/interval values are 
 set to 86400
 
 Umair Azam
 
 On 3/22/2014 6:58 AM, Umair Azam wrote:
 Hi,
 
 How to free exhausted IP addresses pool from cloudstack, Cloudstack was 
 unable to launch systems vms at first and especially ssvm due to strange nfs 
 time out issues so all IP's were used during this issue and now is there any 
 precise way of releasing these IP's and starting system VM's again?.
 


Re: NFS machine not responding, timed out issue

2014-02-11 Thread abhisek basu
Are we able to mount that NFS manually on the Xen Server?

Sent from my iPhone

 On 12 Feb 2014, at 6:31 am, Umair Azam ua...@i2cinc.com wrote:
 
 I am facing an error while setting up cloud system, following issue arises 
 when management server machine requests hypervisor to launch CP/SS VM's. 
 After this request hypervisor tries to contact primary storage to access 
 storage but that primary storage server doesn't responds, following are the 
 logs from Xenserver hypervisor.
 
 Feb 12 04:58:34 xenserver-Host1 kernel: [74147.731174] e1000e: eth0 NIC Link 
 is Down
 Feb 12 04:58:38 xenserver-Host1 fe: 21450 
 (/opt/xensource/bin/tapdisk-cache-stats 91ad2c66-de6b-99f1-b4d9-de264fffbb39) 
 exitted with code 1
 Feb 12 04:58:43 xenserver-Host1 fe: 21471 
 (/opt/xensource/bin/tapdisk-cache-stats 91ad2c66-de6b-99f1-b4d9-de264fffbb39) 
 exitted with code 1
 Feb 12 04:58:48 xenserver-Host1 tapdisk[20281]: ERROR: errno -5 at 
 vhd_complete: 
 /var/run/sr-mount/64efe7d9-2e45-743b-8a7e-8631a2c36185/a30e8119-0965-49db-9e17-9a3429110d06.vhd:
  op: 2, lsec: 385070, secs: 2, nbytes: 1024, blk: 94, blk_offset: 65687
 Feb 12 04:58:48 xenserver-Host1 kernel: [74161.121077] nfs: server 
 10.11.17.33 not responding, timed out
 
 (hypervisor machine reboots itself after that due to HA enabled)
 
 Primary storage server logs are below. (centos machines)
 
 Feb 12 04:51:00 storage-server rpc.mountd[1751]: authenticated mount request 
 from 10.11.17.32:788 for /export/primary (/export)
 Feb 12 04:51:00 storage-server rpc.mountd[1751]: authenticated unmount 
 request from 10.11.17.32:801 for /export/primary (/export)
 Feb 12 04:51:00 storage-server rpc.mountd[1751]: authenticated mount request 
 from 10.11.17.32:830 for /export/primary (/export)
 
 Issue seems to be strange because all necessary NFS ports are open in 
 sysconfig/nfs file, iptables service is also off and both machines can ping 
 each other successfully.
 
 -- 
 Umair Azam
 Associate Systems Administrator
 Network Operations Center
 i2c Incorporated
 1300 Island Drive, Suite 105
 Redwood City, CA 94065-5170
 Desk: +1 650.480.5291
 PBX: +1 650.593.5400 x 4244
 24x7 NOC: +1 650.480.5291
 Fax: +1 650.593.5402
 URL: www.i2cinc.com
 **
 CONFIDENTIALITY CAUTION
 This communication (including any accompanying documents) is intended only 
 for the use of the addressee(s) and contains information that is PRIVILEGED 
 AND CONFIDENTIAL. Unauthorized reading, dissemination, distribution or 
 copying of this communication is prohibited. If you have received this 
 communication in error, please notify us immediately by e-mail, telephone or 
 fax and promptly destroy the original communication. Thank you for your 
 cooperation.
 


Re: Internal DNS confusion

2014-01-27 Thread Abhisek Basu
In scenarios where internal DNS server does not exist, can we skip putting 
internal DNS while setting up the zone? Does cloudstack enforce to use 
internal DNS?


-Original Message- 
From: Shanker Balan

Sent: Tuesday, January 28, 2014 9:22 AM
To: CloudStack-Users
Subject: Re: Internal DNS confusion

Comments inline.

On 28-Jan-2014, at 1:21 am, chris snow chsnow...@gmail.com wrote:


When creating a new zone, I have to enter the address for Internal DNS
Servers.  Extract from the Cloudstack installation manual:

Internal DNS 1 and Internal DNS 2. These are DNS servers for use by
system VMs in the zone (these are VMs used by CloudStack itself, such
as virtual routers, console proxies, and Secondary Storage VMs.).”


The internal DNS server is usually the corporate DNS servers that
provide “internal” DNS services for your LAN. Usually, these are RFC1918 IPs
which is why its hosted “internally”.



Question 1: Who manages the Internal DNS? Is an Internal DNS server
setup and managed by me, or is it setup and managed by Cloudstack?


You (or your IT team).


Question 2: If Internal DNS is setup and managed by me, how should it be 
setup?


set it up any way you look. As long as the internal DNS server can
resolve the hostname to IP addresses, you should be fine.



Question 3: If it is setup and managed by Cloudstack, when did it get
setup, and  how can I find out what address Cloudstack is using for
this server?


Its not managed by cloudstack. Most of the time, your internal and
external DNS settings would be your corporate DNS server.

If a public DNS server can resolve IP addresses for hosts in your LAN,
you can use any public DNS server as your internal and external DNS 
resolver.


Hope that makes sense.


--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055


Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.


Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 
traininghttp://shapeblue.com/cloudstack-training/
18th-19th February 2014, Brazil. 
Classroomhttp://shapeblue.com/cloudstack-training/
17th-23rd March 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
24th-28th March 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://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 is a registered 
trademark. 



Re: Internal DNS confusion

2014-01-27 Thread Abhisek Basu

Thanks Shanker!

-Original Message- 
From: Shanker Balan

Sent: Tuesday, January 28, 2014 10:18 AM
To: CloudStack-Users
Subject: Re: Internal DNS confusion

Comments inline.

On 28-Jan-2014, at 9:49 am, Abhisek Basu abhisekb...@msn.com wrote:


In scenarios where internal DNS server does not exist, can we skip putting
internal DNS while setting up the zone? Does cloudstack enforce to use 
internal DNS?


Absolutely - just use the same values for internal and external DNS. You 
must specify atleast one internal and one external DNS.


The reason why internal + external exists because companiesrun “split” DNS.

I use Google DNS (8.8.8.8) for both internal and external DNS settings.


Regards.
@shankerbalan

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055


Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.


Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 
traininghttp://shapeblue.com/cloudstack-training/
18th-19th February 2014, Brazil. 
Classroomhttp://shapeblue.com/cloudstack-training/
17th-23rd March 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
24th-28th March 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://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 is a registered 
trademark. 



Re: Internal DNS confusion

2014-01-27 Thread Abhisek Basu

Thanks Shanker!

-Original Message- 
From: Shanker Balan

Sent: Tuesday, January 28, 2014 10:18 AM
To: CloudStack-Users
Subject: Re: Internal DNS confusion

Comments inline.

On 28-Jan-2014, at 9:49 am, Abhisek Basu abhisekb...@msn.com wrote:


In scenarios where internal DNS server does not exist, can we skip putting
internal DNS while setting up the zone? Does cloudstack enforce to use 
internal DNS?


Absolutely - just use the same values for internal and external DNS. You 
must specify atleast one internal and one external DNS.


The reason why internal + external exists because companiesrun “split” DNS.

I use Google DNS (8.8.8.8) for both internal and external DNS settings.


Regards.
@shankerbalan

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055


Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.


Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 
traininghttp://shapeblue.com/cloudstack-training/
18th-19th February 2014, Brazil. 
Classroomhttp://shapeblue.com/cloudstack-training/
17th-23rd March 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
24th-28th March 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://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 is a registered 
trademark.