CentOS 5 Server :: Virtual Machines - Renaming Libvirt Guest?
Aug 29, 2010
I am new to virtual machines in general, and currently playing with the XEN-based VM in CentOS 5.5. Question: if neither virt-manager nor virsh (using "virsh edit <guest name>" and changing the name in the XML file) are designed to actually change a guest's name...then what is the recommended procedure for doing this?
I have a few mail servers, a mail log server and a web server running on Centos 5. Now I have a task: to avoid accidental crashes on the production servers while installing updates, my boss asked me to do clones (these clones will all be VMware virtual machines) of the servers (EXCLUDING the actual e-mails and log contents) and then to run those clones on VMWare Server. This way, first I will install and test updates on the clones and - if they will be running without crashes - I will apply the updates on the real production servers themselves.
I have already installed VMWare Server 2.0 I have a few questions: How do I build the virtual machines to exclude the actual mail files and mail logs? Can I use VMware Converter for this purpose, or do I have to use another program? How do I actually do this cloning? Is there a tutorial on how to do this?
I'm looking for virtual machine software that supports dual monitors on a Linux guest with a Windows 7 host.VirtualBox supports dual monitors only for Windows guests. VMware Player was extremely slow, so I gave up. I'm not sure it supports dual monitors, anyway. Can anyone recommend a product for what I want to do?
Server is running a stripped down version of CentOS 5.3 (64-bit), running only the built-in Xen Virtualization Environment. There is no other services running on the server (not samba, httpd, sendmail, cups... nothing except Xen) We've created several virtual machines, and as long as we don't start a fourth virtual machine everything runs smoothly (impresive hardware).
Each virtual server is configured as:
PARAVIRTUALIZED 1 Virtual CPU 1 GB RAM
However, 5 minutes or so after starting a fourth virtual machine, the entire host server crashes and restarts itself. Are we limited by the number of cores on the host machine CPU (4 cores)? 1 for the host and 3 for virtual machines? We've read in forums about other Xen setups running up to 11 virtual machines on less powerful hardware? (a dual core server). Should we be using FULLY VIRTUALIZED virtual machines instead? Is the number of XEN virtual machines in fact limited by the number of cores? If so, how can someone run several virtual machines on a single core host?
By the way, we were replacing a previous Dell Server (Poweredge 2600 with 512 MB Ram and a single Xeon single core processor running Open Virtuozzo). We were able to run up to 16 virtual machines at the same time. Of course none of the machines endured hard work (testing environments, etc). But hey, my point is that we expected to get a much higher number of virtual machines on this new hardware.
I've been trying to understand how Linux creates the network/interfaces on a machine (been reading the Linux admin guide), but as I'm pretty new to this subject, I've got lost in the forest.
To provide with my goal: 1.) Learn about network setups on Linux 2.) Be able to maintain my own (virtual) network 3.) Configure my (virtual) network
I have to administer a few mail servers, a mail log server, 4 nameservers and a web server -all running on Centos 5 server distributions. Now I have a task: to avoid accidental crashes on the production servers while installing updates, my boss asked me to do clones (these clones will all be VMware virtual machines) of the servers (EXCLUDING the actual e-mails and mail log contents) and then to run those clones on VMWare Server. This way, first I will install and test updates on the clones and - if they will be running without crashes - I will apply the updates on the real production servers themselves. I have already installed VMWare Server 2.0 I have a few questions:
- How do I build the virtual machines to exclude the actual mail files and mail logs? Can I use VMware Converter for this purpose, or do I have to use another program? - How do I actually do this cloning? Is there a tutorial on how to do this?
I have a server running VMWare Server on it with 4 virtual machines running. I am trying to use NTPD to keep the time correct on all of the virtual machines. On my physical server, I have installed ntpd and this is it's config file:
Quote:# ntpd.conf tinker panic 0 restrict 127.0.0.1 restrict default kod nomodify notrap server 0.vmware.pool.ntp.org server 1.vmware.pool.ntp.org server 2.vmware.pool.ntp.org
I've run into a problem gathering usage for my xen virtual systems. With my old model I used to gather all network usage via my cisco devices using the the counters for each port. Each system had it's own port on the switch, and I tracked network usage accordingly. Now that I'm using xen for virtual systems, and multiple vm's share the same switch port, i'm not exactly sure what my best option is for tracking usage.
I thought I may be able to setup vlans on the switch, and bind each vm to a different vlan using vconfig... but it seems like there has to be a better solution than that.
I installed centos 5.5 Ent as host and i installed vmware server 2.2. i need to Change the location of the 'Virtual Machines' directory(/var/lib/vmware/Virtual Machines) to a directory on /home(/home/Virtual Machines) where there is more disk space.Reinstalling centos and reinstalling Vmware server is not the option for me.
I only have one IP adress to access the server. But the server will host 3 web sites and I want them to be hosted in a vm. So, I want to setup 3 virtual machines to do it and use apache reverse proxy and vhosts to redirect the domain requested to the right vm. Now. I understand the concept, but I am not an expert to set that up....
I have an openSUSE 11.3 server. So, I have to set a virtual machine server, is that right? I have been told that I cannot do it with VMware server in oS 11.3. Can I use virtualbox for this? I only have to install virtual box? Is there a special version to install? Once the virtual machine server is install, is it trivial to create 3 vm? So, I want to know wich are the steps I have to take to set that up.
I cant get my linux server ( centos5 ) with virtualbox run 2 virtual machines in headless mode. Only one machine gets network connection. Can anyone tell me how to make 2 or more virtual machines work with 1 eth-port in headless mode using virtualbox ?
I have CentOS 5.5 and try to create KVM virtual machine with CentOS 5.5 as a guest. But when I exec command: virt-install --connect qemu:///system --name test --ram 1024 --file=/var/lib/libvirt/images/test.img --file-size=10 --vnc --cdrom=/var/lib/libvirt/images/CentOS-5.5-x86_64-bin-DVD-1of2.iso --vncport=10000 --accelerate --os-type=linux --nonsparse --livecd --hvm
I used to use server 64, and it handled memory well with Jaunty and Karmic but with Lucid the memory usage is always high and can't run virtual machines.
First off I am new to Linux and fairly new to working in Networking and Server config's. I have been using Windows for years and have been learning Windows Server 2003 as I have a Technet account, I can get any MS software. I would like to learn Linux and use this as my Server environment. My project looks like this: I have a Quad core, 8gb machine. I want to install a distro of Linux (server or desktop) and run Virtual Machines on it.
My perferred way would be to use Virtual Box but I could use VMware products if that was better. I would like to run WS2003, WS2008, Linux Distro and anything else that will run in a VM. I can figure out that part pretty easily. I want the Linux host machine to run all these VM's and access and use them on my MAC remotely. I have done some research on ESXi as well, but I don't think my Hardware is going to support that. My exact PC spec's are:
AMD x4 940 8gb DDR2 Gigabyte MA770-UD3 2 Velicoraptor Drives GTX 260 I will be dual booting this machine on one of the Raptors for gaming as well.
in my network, users has total access to their PCs, so theres a problem to filter (URL, ports,etc.) their virtual machines installed (they can assign self any IP, e.g.)
Id thought about use the MAC prefix in VMware VMs (00:0c:29:*), but i can only found a way through DHCP, and this isn't a good solution (they can assign a static IP to workaround...)
It will be better using firewall (iptables), but I don't found the way to add rules based in MACs with wildcards.
I setup a private network from virtual machines and one of the machines is the DHCP server for the group. I want to specify a next-server for the DHCP server but I'm having trouble connecting to any of the machines that I lease IPs to. I'm just trying to do a simple ping/ssh to 10.0.0.252 (a machine with a lease) but it doesn't seem to respond. I'm assuming I need to be able to connect to my next-server but maybe I'm wrong.
I'm working on a side project where I would like to install three ubuntu server systems,each with only one task.So server0 would be the apache server, server1 would be the database and server2 would be the file server.which key terms I should be researching?
I have a home server that I have been running for some years and am constantly tweaking / playing with it resulting in numerous reinstalls (and upsetting the wife!). It does nothing critical but I use it mainly for:
backing up my laptop files XBMC ZoneMinder
Due to the number of times that I manage to break it, I have now thought about setting it up as a base system but with virtual machines looking after the seperate 'components'. The machine is an AMD Athlon 64 X2 4200+ with 2Gb RAM. First of all do you think it is powerful enough to run XBMC and ZM in seperate virtual machines? - I appreciate the more RAM the better but at the moment I am sticking to 2Gb.
I was also wondering what sort of issues may arise for the audio and video areas I will be using. XBMC currently outputs through an HDMI cable to the TV and ZM recieves video signals through a seperate video card. ( I have had my concerns in the past that there have been conflicts in the way I have set things up!). I have read a number of guides about setting a system up with virtual machines but not really found any articles about the practicalities of using such a set up at home. before I commit and spend a week pulling my hair out trying to get it all to work!
I would like to configure and SAN disk. But I do not have a physical SAN disk. Is it possible to create and configure a Virtual SAN disk and work on it with virtual machines?I have around 400GB of space in my Laptop.
I have tried to install debian 5.0 and 4.0 without any luck. I have both tried virt-manager and virt-install with both debian-501-i386-netinst.iso, and full dvd. I't always gives me the same error:Starting install.Could not find an installable distribution at '/xen/debian-501-i386-netinst.iso'
I just ran into a weird problem with a CentOS 5.5 64-bit server running VirtualBox 3.2.8 (I would run Vmware Server 2.0.2 if not for the well known fact that Vmware doesn't care about its Server line anymore and it doesn't run on CentOS > 5.3 without major splits). I currently have two guests in that VirtualBox setup, a CentOS 5.5 64-bit and a Fedora 13 64-bit. The CentOS 5.5 guest shows less memory available than configured. If, for example, I give the virtual machine 512MB of memory the guest OS only recognizes 380MB. If I give it 768MB it only recognizes 637MB, and so on. I don't have that problem on the Fedora guest - 1024MB configured, 1024MB available.
I'm experimenting with CentOS DS and have a question.Is it possible to attach windows xp machines to a CentOS DS? If so, how?!I think I've skimmed most of the documentation out there. Did I miss something? Is this not what the DS was designed to do?
I am currently using Centos 6. I want to use the latest version of libvirt (libvirt 0.9.4). The machine already has libvirt 0.8.1 installed . I did yum remove libvirt to remove the existing libvirt and I compiled 0.9.4 from source using :
./configure --prefix=/ make make install ldconfig /etc/init.d/libvirtd start
After the installation is complete, I wanted to use the virsh interface. Once I enter virsh , I get :
virsh /lib/libvirt.so.0: version 'LIBVIRT_PRIVATE 0.8.1' not found (required by virsh)
I'm running a network with a NIS. I want to implement a guest account on my network. The requirements are that the guest can log in on multiple computers at the same time and that the guest account's file are wiped out when they log off. The problem is that when guest is logged in on two different machines some programs (like firefox) will only run on one of them at a time. Is there anyway around this?
Also: I anticipate a settings nightmare. If guest is logged in on one machine and changes the desktop background then guest logs in on another machine will the background change in both places? What happens when the same file is written at the same time?
I am trying to install CentOS guest on CentOS 5.3 host. I have installed all the requirements for the same. As per documentation, only NETWORK install is supported if the guest is to be installed as paravirtalized.I copied the CentOS DVD in /home directory with folder name centos52 and exported it through NFS. When I run Virtual machine manager and give installation path as: nfs:<ip address of host>:/home/centos52 , the system while trying to create the storage fails and throws following error:Unable to complete install: 'Invalid install location: Mounting location nfs://<ip address of host>:/home/centos52 failed'
Have just installed ubuntu on virual disk. So now, as host machine I have - Windows, and as guest machine - Ubuntu. Such question, how to copy/paste texts between host and guest machines (into command-line, mc, etc.)? ps: I have tried ctrl+v and ctrl+shift+v (ctrl, shift - left buttons), no reaction at all.
I have a new public mail server running under Vmware Server 2.0 installed on Windows Server 2008. I'm not satisfy about performance, virtual machine has got 3gb of ram and 2 virtual cpu. Physical machine has got one intel xeon cpu 2.4ghz quad core, 8 gb of ram and 3 hdd 500gb raid5. I already set this option: Fit all virtual machine memory into reserved host RAM. How can I increase performance? Are there any kernel build for virtual installation?