Yes, you are correct, you don't capture base image from Virtual Host /w KVM. The base image is captured from a Virtual Machine (VM) running on KVM. You will need to use virt-manager to create a VM, install Linux or Windows and then you can capture base image.
Before you can capture it, you need add few computers to VCL: For example you have Virtual Host running KVM - vm–host-0. You need to add vm-host-0 to VCL as Blade. Then add few 'worker' computers, i.e. 'wrk-0','wrk-1','wrk-2' with type 'virtualmachine', provisioning end is 'Libvirt'. Then go under Virtual Hosts, create VM Host Profile, assign Profile to 'vm-host-0' and assign 'wrk-0/1/2' to VM host 'vm-host-0'. Using 'virt-manager' create a VM on vm-host-0, name it 'wrk-0', give it MAC addresses assigned to 'wrk-0' in VCL, boot it and install OS. Check that DHCP assigns correct Private IP address. Configure base image per instruction and try to capture it. -- Thank you, Dmitri Chebotarov VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers & Messaging 223 Aquia Building, Ffx, MSN: 1B5 Phone: (703) 993-6175 | Fax: (703) 993-3404 From: Alanoud J <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Friday, April 26, 2013 16:11 To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, Aaron Peeler <[email protected]<mailto:[email protected]>> Subject: Re: Base Image Creation "logically how can I take an image from VM working on VM host while it doesn't have an image itself. And the base image will be taken from the VM host or from the VM ??? On Fri, Apr 26, 2013 at 10:59 PM, Alanoud J <[email protected]<mailto:[email protected]>> wrote: I did all these steps and in the given order but in the log file its create the image then it is deleted and I don't know what is the problem exactly??? On Fri, Apr 26, 2013 at 10:27 PM, Aaron Peeler <[email protected]<mailto:[email protected]>> wrote: Have you added any additional computers to VCL besides the kvm host machine? Look at these pages in this order: http://vcl.staging.apache.org/docs/addingvmcomputers http://vcl.staging.apache.org/docs/assignvmtohost https://cwiki.apache.org/VCL/create-a-linux-base-image.html The run vcld --setup portion on this page may not match exactly, I think this document is for 2.3 Aaron On Fri, Apr 26, 2013 at 2:55 PM, Alanoud J <[email protected]<mailto:[email protected]>> wrote: > VM computer ,you mean the physical VM host computer that was added to the > Data base right??? > And I have KVM on both VM host computer and on the MN but I don't think so > that VM computer,has registered inside KVM.,If you could help me how I can > do this thing??? > > > On Fri, Apr 26, 2013 at 9:43 PM, Dmitri Chebotarov > <[email protected]<mailto:[email protected]>> wrote: >> >> Hi Alanoud >> >> Just to clear any misunderstanding, on the step 5 you need to enter name >> of a VM computer, which is registered inside KVM. >> This VM is not aware of bridges on the KVM host and will have eth0/eth1 >> interfaces. >> >> -- >> Thank you, >> >> Dmitri Chebotarov >> VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers & >> Messaging >> 223 Aquia Building, Ffx, MSN: 1B5 >> Phone: (703) 993-6175 | Fax: (703) 993-3404 >> >> >> From: Alanoud J <[email protected]<mailto:[email protected]>> >> Reply-To: "[email protected]<mailto:[email protected]>" >> <[email protected]<mailto:[email protected]>> >> Date: Friday, April 26, 2013 14:22 >> To: "[email protected]<mailto:[email protected]>" >> <[email protected]<mailto:[email protected]>>, Ahmad Diab >> <[email protected]<mailto:[email protected]>> >> Subject: Base Image Creation >> >> Hi >> I am working on VCL 2.3 , I have installed KMV as a hypervisor for my VCL >> First I am trying to Create a Linux Base Image following these steps: >> 1-Select a module to configure: VCL Image State Module >> 2-Choose an operation: Capture Base Image >> 3-Enter the VCL login name or ID of the user who will own the image: >> 4-Enter your VCL user ID or the user ID of the user you want to own the >> image. Pressing Enter without entering a user login ID will cause admin to >> be the owner of the new base image. >> 5-Enter the hostname or IP address of the computer to be captured: >> 6-Enter the name or private IP address of the computer which has already >> added to the VCL database. >> 7-Select the OS to be captured: >> 1. VMware Linux >> 2. VMware Windows 2003 Server >> 3. VMware Windows 7 >> 4. VMware Windows Server 2008 >> 5. VMware Windows Vista >> 6. VMware Windows XP >> But there is no choise for the KVM.???????????? >> Second, In the create a base image link it has been written that the >> content of eth0 and eth1 must be : >> The ifcfg-eth0 file should contain the following: >> >> DEVICE=eth0 >> BOOTPROTO=dhcp >> ONBOOT=yes >> >> The ifcfg-eth1 file should contain the following: >> >> DEVICE=eth1 >> BOOTPROTO=dhcp >> ONBOOT=yes >> >> But ,after installing KVM two bridges have been created br0 and br1 and >> the content of eth0 and eth1 is not as specified... >> Finally I want to ask you how I can make sure that the KVM has been >> installed correctly??? >> >> thank you :) >> >> >> > -- Aaron Peeler Program Manager Virtual Computing Lab NC State University All electronic mail messages in connection with State business which are sent to or received by this account are subject to the NC Public Records Law and may be disclosed to third parties.
