LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
LinkBack Search this Thread
Old 08-15-2011, 03:35 PM   #1
bluerfoot
LQ Newbie
 
Registered: Sep 2010
Posts: 18

Rep: Reputation: 0
issues accessing ip/ethernet after using virt clone to create kvm host


hi, I am trying to setup some kvm (centos guests running on fedora 15)to use as a test learning environment. I have made a network called network1 and have it setup not to hand out dhcp. I setup a centos vm and using virt-manager was able to get into the machine, setup ip settings (ip, gateway, dns etc) and it works great. I then clone the machine using virt clone and I boot the new machine.

The issue is that I cannot ssh into the machine without an ip address and it appears that virt-clone does not bring the ip address/ethernet information across. So I have no machine to ssh to. I don't want to use virt-viewer because I am at work using a remote machine and I can't download x server or vnc server.

So is there a way to access a cloned machine that does not have an ip address without using virt-manager? Or on the other hand is there a way to specify an ip address when cloning a machine? again the cloning process does not seem to clone ip information.

thanks in advance.
 
Old 08-18-2011, 11:34 PM   #2
smoothdog
LQ Newbie
 
Registered: Dec 2009
Posts: 8

Rep: Reputation: Disabled
Tried a virtual serial port?

The linux kernel allows you to connect the console to a serial port. Not sure if it's possible to configure your KVM to provide a virtual serial port and connect the linux console to it with a console=/dev/ttyS0 or something similar? Then it's a simple telnet connection to the host.
 
Old 08-19-2011, 08:46 AM   #3
bluerfoot
LQ Newbie
 
Registered: Sep 2010
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by smoothdog View Post
The linux kernel allows you to connect the console to a serial port. Not sure if it's possible to configure your KVM to provide a virtual serial port and connect the linux console to it with a console=/dev/ttyS0 or something similar? Then it's a simple telnet connection to the host.
Thanks I got that working a few days ago already and am now on to why the ethernet does not seem to work (get message "device wth0 does not seem to be present, delaying initialization although /etc/sysconfig-network-scripts does have an ifcfg-eth0.).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xen to KVM using Virt-v2v abatra.jnu Linux - Virtualization and Cloud 2 12-30-2010 12:51 AM
LXer: Installing KVM Guests With virt-install On Ubuntu 8.10 Server LXer Syndicated Linux News 0 03-10-2009 06:00 PM
LXer: KVM Guest Management With Virt-Manager On Ubuntu 8.10 LXer Syndicated Linux News 0 02-10-2009 02:50 PM
KVM + qemu + virt-manager issues cyanide_will Linux - Software 4 04-15-2008 01:43 AM


All times are GMT -5. The time now is 02:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration