CentOS 5 :: Change Virtual Machines Storage Directory In Centos5.5?
Oct 15, 2010
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 created two Linux virtual machines. I created a same directory in both of them as following . /ocfs/clusterware I need to make this directory shared between them I mean , if create file in the directory in the first VM , I must see it from the second VM.
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 running Ubuntu 9.10 with Kvm. I've used a howto to configure my network. Seems to work fine, I've installed the Virtual Machine manager, when I go to create my Virtual Machine, I see the the image is automatically created in /var/lib/libvirt/images. I have a totally separate path for my images. How to I configure a different image directory
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 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?
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 am (and still) trying to create a 2 Node cluster on Centos5.2 with a Dell MD3000 as a storage. However I am getting this when I try to probe for storages in luci: An error has occured while probing storage:
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 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?
second day ever using command line so bare with me. I setup a cloud server through rackspace hosting..I installed vsFTPd and made a user and password and set the home directory to /var/www for this user When I try connecting via FileZilla, I get this error
1. I have two domains domain1.com and domain2.com on my centos server.
2. In a file in domain1.com I am writing the php function
chdir('/var/www/vhosts/domain2.com/httpdocs'); but it is not working at the same time if I am trying to change the directory to one of the subdirectory in domain1.com than it is working means chdir('/var/www/vhosts/domain1.com/httpdocs/css'); is working.
3. The problem is I cant able to change the directory from domain1.com to domain2.com. /var/www/vhosts/domain1.com/httpdocs => /var/www/vhosts/domain2.com/httpdocs is not working
Is it some permission issue or anything else ? Is it something related to chroot jail or what?
I installed openSUSE 11.2 and works great. The only problem I have is that I can use the XEN virtual machines only as a root. If I login as a normal user and open the Virtial Machine Manager I receive the following message:Virtial Machince Manager Connection Failure:Unable to open a connection to the Xen hypervisor/daemon.
Verify that: - A Xen host kernel was booted - The Xen service has been started
I'm considering setting up a virtual machine running Windows, with Ubuntu 10.10 as the host OS, for those cases where I have a Windows-only program.I understand that using a VM will lose some performance, but are there other limitations to what the OS in a virtual machine can do compared to "running on bare metal"?
For example:
Can a VM play games, like Dragon Age Origins or Civilization V? (Possibly with poorer framerates and/or lower resolution, but does it play at all?) Can a VM rip DVD/Blue-ray using AnyDVD or similar Windows program? Can a VM handle new hardware that requires dedicated drivers, but the drivers are only available for the OS running inside the VM? (Ex. graphics card, digital camera, card reader for smart card authentication.) Is it possible to say anything about "general limitations" of VMs, or is this wholly dependent on the specific VM?
finaly got my Centos host ready and configured,i have Vmware installed inside the Centos Host.how can i allow to RDP to the Virtual machines inside th Centos,
I am attempting to put some Virtual Machines on my Fedora13 box. Using KVM it just doesn't want to work quickly.... Using the v.14 LiveCD to try and install an image onto the virtual machine... took over 15 mins to get to a login screen, then I gave up attempting to log in after 5 mins from clicking the login button. I assigned the virtual box to have 1024Mb RAM and access to both CPU.
I then decided to sack it off and try and install VirtualBox... this has been a disaster. I know it's due to the fact that it wont run alongside KVM, and I've disabled KVM (as far as I am aware) - but it's still FAILING on using DKMS (Or whatever it's called - not got the error open at the mo). basically.. am I doing something wrong causing the system to run so ridiculously slowly, and how am I being thick for VirtualBox to fail to install?
I have an HP Compaq nx6125 laptop, which has an AMD Turion 64 2200MHz processor, running Windows 7 Ultimate. I have installed the VMware Workstation 6.5.2 [full] trial and am attempting to install Fedora 11 on a virtual machine.
I understand that the Turion processor is a 64 bit processor, so I downloaded the Fedora 11 x86_64 DVD iso image.
First I have to create a VMware virtual machine (VM) and choose a version for it. If I choose a version that is any of the 64 bit options (for example, "Other Linux 2.6.x kernel 64-bit", since there are specific options for RHEL but not for Fedora), I get an error message the moment I try to power on the VM and start the install, saying "The buslogic SCSI adapter is not supported for 64-bit guests in this release [...]". Then the VM just shuts down.
I guess this laptop does have a SCSI bus, but my disks are IDE and as far as I can see (System Information) the SCSI bus is not used (?).
On the other hand, if the VM I create is any of the 32-bit option versions, I get what seems to be just a warning, saying that I'm running a 64-bit guest OS (Fedora 11) on a virtual machine configured to run a 32-bit OS, and suggesting I change this to ensure the 64-bit guest OS will function correctly. What would be the risks / downsides of forcing the install anyways?
I will also ask for help on the VMware side, too, and it's not my intention to turn this into a VMware discussion, but I'm just wondering if anybody on the forum has worked with this combination (VMware 6.5.2 and Fedora 11 running within it, preferrable on an HP Compaq 6125 running Windows 7 Ultimate) ? If so, I'd really appreciate some feedback / pointers.
I used to work a lot with Linux back in the days of RH5.2, and it's been a while, plus I'm new to the virtual machine world, so bear with me here.
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 am Working On Citrix Xen Server.I have Installed two Virtual Machines(Centos 5.3).Now Apache is Configured and its running on the First VM.Can I Set up a Apache Clustering On those VM?.My Aim is "If Apache On the First VM Down,then Apache on Second VM Should Automatically Start".Is there Any Tutorial to Setup Apache Clustering On Virtual machines.
I've installed a virtual machine on my computer. and I want to boot from its hard disk(which is on my /home/xen/domains/test1/disk.img). what I need is create a grub entry for this.
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 want to setup some virtual machines that will use the same architecture and debian-version as my host-machine. I have started to setup VMs with a netinstall-image and now want to add more software using apt-get. As most of the software I will use is already installed on my host-machine I wonder if there is any way to configure apt in such a way that it will not download packages from the internet, but will use the packages from my host-machine to save network-traffic. Is there a good may to populate VMs using the debs from the host-machine.
give a reference to the definition of 'isolated network' as used in the Virtual Machine Manager? I have virtual machines that I do not want to have access to the host, I thought 'isolated network' did this but the VM's can ping the host. If (probably) I am wrong, how can I create an network that can not see anything else but what is also on the same network? The host and the isolated network are 192. and 172. The virtual bridge is not connected (or so it says) to any physical device.
I have OpenSuse 11.3 with VirtualBox on it, and with installed Oracle DB (on host OS).. but, sometimes this computer is disconnected, without it's gateway (adsl router)... and in that case, I cannot ping from virtual OS to host OS, or another virtual OS. I tried to use 'Host only' option within VirtualBox, but it doesn't work. What should I do? It seems that virtual machines requires some kind of gateway/router, but since machine is disconnected, it's not working.. how could I fix it?
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.
I have VMware player on my laptop. I have three working virtual machines, Android, Windows Vista, and Kubuntu, and three that something went wrong don't work. How do I get rid of these space cloggers? Just go to Home folder/VMware and jus delete the folders of useless machines? Or is there a way to do it properly? Or am I stuck with these forever? And how do I rename a virtual machine?
How do I import an existing Virtual Machines, like if I have a dualboot and make a new VM in the other OS or if I reformat and transfer the files back in.