cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Weingartner <rafaelweingart...@gmail.com>
Subject Re: How does a system VM get an IP address?
Date Mon, 07 Apr 2014 13:10:55 GMT
By agent you mean CS management server? I am running CS 4.1.1.
would the command cloudstack-ssh work, if the VM does not respond on its ip
addresses?



On Mon, Apr 7, 2014 at 10:01 AM, Wido den Hollander <wido@widodh.nl> wrote:

>
>
> On 04/07/2014 02:20 PM, Rafael Weingartner wrote:
>
>> Thanks man ;).
>> By any chance if a system VM does not get its ip assigned, would there be
>> any way to debug and check what is going on? I mean, if after it is
>> running
>> on the physical host it does respond on the IP that was assigned to it.
>>
>>
> I say check the agent's log (set to debug!) and try to SSH into the SSVM
> with the cloudstack-ssh command.
>
> Wido
>
>
>
>> On Mon, Apr 7, 2014 at 9:14 AM, Wido den Hollander <wido@widodh.nl>
>> wrote:
>>
>>
>>>
>>> On 04/07/2014 12:33 AM, Rafael Weingartner wrote:
>>>
>>>  Hi folks,
>>>> I was wondering how a system vm gets an IP address. I know they are the
>>>> first things that CS needs in order to start up others VMs, so when they
>>>> start there is no virtual router to assign IP addresses via DHCP.
>>>>
>>>>
>>>>  Via a local virtio socket from the hypervisor in KVM mode. The VM boots
>>> and via that local serial socket it gets the IP-address.
>>>
>>>
>>>   I also noticed that on the physical hosts with the VM.Start command CS
>>>
>>>> sends some extra data that includes the IPs that the VM should get.
>>>> However, I have no idea how it actually gets those parameters and set
>>>> its
>>>> IP.
>>>>
>>>>
>>> The management server sends this information to the KVM agent. User
>>> Instances get the IP address via DHCP from the VR, System VMs via the
>>> local
>>> serial socket.
>>>
>>> Wido
>>>
>>>
>>>
>>>  Does anyone here know how it works?
>>>>
>>>>
>>>>
>>
>>


-- 
Rafael Weingärtner

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message