Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread hossein zabolzadeh
Hi, As the topic implied, in order to have better control over the instances, is there any agent software, that need to be installed on the cloudstack virtual machines?

Re: Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread Andrija Panic
Nope... just virtio drivers inside windows VMs, and defining VM as Windows PV OS type so it gets virtio disk and Nic instead of IDE and E1000... Cheers Sent from Google Nexus 4 On May 31, 2014 1:24 PM, hossein zabolzadeh zabolza...@gmail.com wrote: Hi, As the topic implied, in order to have

Re: Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread hossein zabolzadeh
Thanks Andrija. On Sat, May 31, 2014 at 4:30 PM, Andrija Panic andrija.pa...@gmail.com wrote: Nope... just virtio drivers inside windows VMs, and defining VM as Windows PV OS type so it gets virtio disk and Nic instead of IDE and E1000... Cheers Sent from Google Nexus 4 On May 31, 2014

Re: Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread hossein zabolzadeh
Dear Andrija. What about the agent on KVM machine? Check the page 27 of the following presentation. http://www.slideshare.net/cloudstack/cloudstack-architecture On Sat, May 31, 2014 at 4:46 PM, hossein zabolzadeh zabolza...@gmail.com wrote: Thanks Andrija. On Sat, May 31, 2014 at 4:30 PM,

Re: Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread Nux!
On 31.05.2014 13:24, hossein zabolzadeh wrote: Dear Andrija. What about the agent on KVM machine? Check the page 27 of the following presentation. http://www.slideshare.net/cloudstack/cloudstack-architecture That agent is the software installed on the HV, aka cloudstack-agent. No software

Re: Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread hossein zabolzadeh
Oh, That was host agent. Thanks. On Sat, May 31, 2014 at 5:03 PM, Nux! n...@li.nux.ro wrote: On 31.05.2014 13:24, hossein zabolzadeh wrote: Dear Andrija. What about the agent on KVM machine? Check the page 27 of the following presentation.

Re: Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread Andrija Panic
just be carefull with Windows VMs if you use them, enabling VirtIO hardware/drivers takes some small skills etc... cheers On 31 May 2014 14:40, Andrija Panic andrija.pa...@gmail.com wrote: true :) On 31 May 2014 14:39, hossein zabolzadeh zabolza...@gmail.com wrote: Oh, That was host

Re: Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread hossein zabolzadeh
But, how the virtual machine provisioned with specific configuration(Like IP Address, SSH Key, ...)? In other words how the Virtual Machine fetch these information during spawal? For example openStack instances use cloud-init to fetch these type of information. What about the CloudStack? Thanks in

Re: Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread Andrija Panic
IP parameters are fetched via normal DHCP protocol, from Virtual Router (if you choose to provide IP via VR, usually YES :)) -SSH keys... https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/using-sshkeys.html have not used tham so far, but there is option to do

Re: Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread hossein zabolzadeh
Its cool. Thanks Andrija... On Sat, May 31, 2014 at 5:50 PM, Andrija Panic andrija.pa...@gmail.com wrote: IP parameters are fetched via normal DHCP protocol, from Virtual Router (if you choose to provide IP via VR, usually YES :)) -SSH keys...

Re: Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread hossein zabolzadeh
So, if I want to execute a new command to the VM(e.g. set the hostname), Does the small script/exe file can do this simple job? Where is the source code of this small script/exe, as you said?! On Sat, May 31, 2014 at 5:50 PM, Andrija Panic andrija.pa...@gmail.com wrote: IP parameters are

Re: Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread Andrija Panic
no, hostname is set to be nameOfTheVM.yourDomain.Com - name of the instance and the name of the Domain which is defined when you create your Account on CLoudStack... no option to set hostname from GUI as far as I know... pass change feature / script:

Re: Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread hossein zabolzadeh
If I want to execute custom commands on the virtual machine(e.g. apt-get update), there are no ways to push the command and execute by the guest OS. Is it? On Sat, May 31, 2014 at 6:06 PM, Andrija Panic andrija.pa...@gmail.com wrote: no, hostname is set to be nameOfTheVM.yourDomain.Com -

Re: Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread Carlos ReƔtegui
Cloud-init works on cloudstack too. The UI does not support userdata but you can pass it in if you start instances via API. Please note there is a bug in Ubuntu 12.04 default cloudinit that does not use the correct metadata server. If you use that OS let me know. Once the vms are up, I