[one-users] Can't ping or ssh virtual machine!
Olivier Sallou
olivier.sallou at irisa.fr
Thu Mar 17 06:31:57 PDT 2011
You add something like this to your template (raw is for kvm case):
GRAPHICS = [
type = "vnc",
listen = "127.0.0.1",
port = "5901",
keymap = "fr"
]
RAW = [ type = "kvm",
data = "<devices><serial type=\"pty\"><source
path=\"/dev/pts/5\"/><target port=\"0\"/></serial><console type=\"pty\"
tty=\"/dev/pts/5\"><source path=\"/dev/pts/5\"/><target
port=\"0\"/></console></devices>" ]
then with tool like virt-manager you can access the "console"
Olivier
Le 3/17/11 2:18 PM, Rizwan a écrit :
> "add a DISPLAY and login to console"
>
> how to add the above ?
>
>
>
>
> On Thu, Mar 17, 2011 at 6:13 PM, Olivier Sallou
> <olivier.sallou at irisa.fr <mailto:olivier.sallou at irisa.fr>> wrote:
>
> you should add a DISPLAY and login to console , you may have
> networking issue (network on eth1 for example)
>
> Olivier
>
> Le 3/17/11 1:12 PM, Rizwan a écrit :
>> I have setup single node opennebula cloud using ubuntu 10.10
>> server, I can run the virtual machine but i cant ping or ssh to
>> that instance. I used ubuntu10.10-server.img, (i tried ttylinux
>> image with same results) file for the virtual machine. Here are
>> some details.
>>
>>
>> *front node /etc/network/interfaces file*
>> ------------------------------
>> ---------------------------------
>> # The loopback network interface
>> auto lo
>> iface lo inet loopback
>>
>> # The primary network interface
>> auto eth0
>> iface eth0 inet static
>>
>> #auto br0
>> #iface br0 inet static
>> address 192.168.31.53
>> netmask 255.255.255.0
>> network 192.168.31.0
>> broadcast 192.168.31.255
>> gateway 192.168.31.15
>> # dns-* options are implemented by the resolvconf
>> package, if installed
>> dns-nameservers 172.16.1.1
>>
>>
>> -----------------------------------------------------------------
>>
>> *compute node /etc/network/interfaces
>> *
>> # The loopback network interface
>> auto lo
>> iface lo inet loopback
>>
>> # The primary network interface
>> auto eth0
>> iface eth0 inet manual
>>
>> auto br0
>> iface br0 inet static
>> address 192.168.31.54
>> netmask 255.255.255.0
>> network 192.168.31.0
>> broadcast 192.168.31.255
>> gateway 192.168.31.53
>> # dns-* options are implemented by the resolvconf
>> package, if installed
>> dns-nameservers 172.16.1.1
>>
>> ---------------------------------------------------------------
>> *my virtual network template*
>>
>> NAME = "LAN"
>> TYPE = RANGED
>> BRIDGE = br0
>> NETWORK_ADDRESS = 192.168.31.128
>> NETWORK_SIZE = 126
>> NETMASK = 255.255.255.0
>> GATEWAY = 192.168.31.53
>> -----------------------------------------------------------------
>>
>> *my Virtual Machine template*
>>
>> CPU=1
>> MEMORY=512
>>
>> OS=[ root="hda" ]
>>
>> DISK=[
>> source="/var/lib/one/images/ubuntu10.img",
>> target="hda",
>> readonly="no",
>> bus="ide" ]
>>
>> NIC=[ NETWORK="LAN" ]
>> FEATURES=[ acpi="no" ]
>>
>> -------------------------------------------------------------------
>>
>> regards
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> --
> gpg key id: 4096R/326D8438 (pgp.mit.edu <http://pgp.mit.edu>)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
gpg key id: 4096R/326D8438 (pgp.mit.edu)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110317/3b15c278/attachment-0002.htm>
More information about the Users
mailing list