Re: [one-users] Not able to ssh to Virtual Address of VM

2012-06-13 Thread Carlos Martín Sánchez
Hi, There are two contextualization mechanisms available in OpenNebula: the automatic IP assignment, and a more generic way to give any file and configuration parameters. To make the network work, you can forget about the CONTEXT section, the context cdrom and the init.sh script; just focus on th

Re: [one-users] Not able to ssh to Virtual Address of VM

2012-06-12 Thread ankit anand
Also, I am not able to statically assign vm the IP, i want to give . Also, in NIC section and vnet file , it takes correct MAC address but not able to genrate the corresponding IP from it by removing the prefix. Secondly, Do i need to have staically assigned ip for eth0 in my guest installed os im

Re: [one-users] Not able to ssh to Virtual Address of VM

2012-06-12 Thread ankit anand
It worked after i had disable firewall on VM . It should be the case every time ? On Wed, Jun 13, 2012 at 10:05 AM, ankit anand wrote: > Also, Interestingly, i am able to ping but not ssh .Have restarted the ssh > daemon on Vm as well but to no avail :( > > > On Wed, Jun 13, 2012 at 9:43 AM, anki

Re: [one-users] Not able to ssh to Virtual Address of VM

2012-06-12 Thread ankit anand
Also, Interestingly, i am able to ping but not ssh .Have restarted the ssh daemon on Vm as well but to no avail :( On Wed, Jun 13, 2012 at 9:43 AM, ankit anand wrote: > Hello Carlos and Everyonel > > Thanks Carlos for your reply. > > I was able to login into vm through vnc by Virtual machine mana

Re: [one-users] Not able to ssh to Virtual Address of VM

2012-06-12 Thread ankit anand
Hello Carlos and Everyonel Thanks Carlos for your reply. I was able to login into vm through vnc by Virtual machine manager provided by suse and can see it running fine. I could not get what you meant by vmcontext script . Is it the same as init.sh script? For me init.sh script is : 'if [ -f /m

Re: [one-users] Not able to ssh to Virtual Address of VM

2012-06-11 Thread Carlos Martín Sánchez
Hi, The VM needs to have the contextualization scripts configured to be run at start-up. The important one is vmcontext, it reads the MAC address and sets the IP from it: the assigned IP 10.112.10.37 is 0a:70:0a:25 in hexadecimal. The CONTEXT section in the VM template is completely optional, it

Re: [one-users] Not able to ssh to Virtual Address of VM

2012-06-11 Thread ankit anand
Hello All/Davood I have set iup the contextualization parameters and my vm template loks like: CONTEXT=[ FILES="~/vm_context/init.sh ~/vm_context/id_rsa.pub", HOSTNAME="cloud", PUBLIC_IP="10.112.10.35", TARGET="hdb", USERNAME="oneadmin" ] Contextualization is used to pass parameters to

Re: [one-users] Not able to ssh to Virtual Address of VM

2012-06-08 Thread davood ghatreh
Dear Ankit, I couldn't find any contextualization parameter in your VM template. You need to define it if you want Opennebula to set the TCP/IP configuration (and other OS parameters such as hostname etc) automatically in the VM. Here is the related document: http://opennebula.org/documentation:r

[one-users] Not able to ssh to Virtual Address of VM

2012-06-07 Thread ankit anand
Hello All I have set up a vritual machine wchich is in running state . but I am not able to ping to Virtual address of that VM . I mean Virtual address by one of Vnet address specified in vnet file . I have set up my bridge br0 through open suse yast interface . Details of ifconfig are: br0