General :: Shell Script To Shutdown Virtual Machines / Copy And Than Start VM?

Mar 16, 2011

I need to make my 1st ever script to backup VMware workstation VMs to a folder which is then backed up offsite. Here is what I have so far (will be croned):

Code:

sudo vmrun -T ws stop "/home/gareth/vmware/NagiosWeb/NagiosWeb.vmx" soft
sudo vmrun -T ws stop "/home/gareth/vmware/UbuntuBackup/UbuntuBackup.vmx" soft
**copy or rsync to /home/gareth/vmware-backup/ dir**

[code]....

1. Just to confirm, I need to place the above in a file with #!/bin/bash at the top and make it executable.

2. How do I know when the VMs have safely shut down so I can start the copy? I guess I can either a. wait a specified amount of time b. run some sort of if statement to confirm they are off.

3. How do I use Rsync or cp to copy to the backup folder?

4. How will I know the copy is complete so that I can start the VMs again?

View 3 Replies


ADVERTISEMENT

Ubuntu :: Shell Script To Shutdown Virtual Machines. Copy, And Than Start VM?

Mar 16, 2011

I need to make my 1st ever script to backup VMware workstation VMs to a folder which is then backed up offsite.Here is what I have so far (will be croned):

Code:
sudo vmrun -T ws stop "/home/gareth/vmware/NagiosWeb/NagiosWeb.vmx" soft
sudo vmrun -T ws stop "/home/gareth/vmware/UbuntuBackup/UbuntuBackup.vmx" soft

[code]....

View 1 Replies View Related

General :: Create And Configure A Virtual SAN Disk And Work On It With Virtual Machines?

Jun 29, 2010

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.

View 7 Replies View Related

General :: What Are The Limitations Of Virtual Machines

Jan 4, 2011

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?

View 3 Replies View Related

General :: Apache Clustering On Virtual Machines?

Feb 5, 2010

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.

View 4 Replies View Related

General :: Boot From A Virtual Machines Disk?

Mar 22, 2010

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.

View 11 Replies View Related

General :: Emulating Processor Type For Different Virtual Machines?

Apr 6, 2011

I am wondering, whether this is possible. Can I change processor architecture type in virtualization software for different virtual machines? Like I want to do some compilation on Intel itanium and I have physically intel xeon CPU.

View 1 Replies View Related

General :: DHCP Server Inside A Virtual Machine Can't See Other Machines

Jun 2, 2010

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.

View 1 Replies View Related

General :: Setup Own Local Area Network Using Virtual Box Machines

May 23, 2011

I am new to networking and trying to setup my own local area network using virtual box machines. I have installed BIND 9.7.3 using yum in Fedora (dns server) and created all necessary .conf and zone fil es. I am successfully able to resolve domain names on this host machine (dns server). for example dig @dns.domain.lan client1.domain.lan correctly resolves domain name.

[Code]...

View 5 Replies View Related

General :: Virtual Machines And Dual Monitors With A Windows 7 Host And Guest?

Oct 4, 2010

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?

View 1 Replies View Related

General :: Windows - VMware Null Modem Serial Cable Between Virtual Machines?

Oct 7, 2010

Right now I am using some software to emulate a null modem serial cable on my Windows computer connected to itself. For development purposes I need to have a null modem connection to a linux computer from a windows host. Is there any method of doing this virtually?

View 2 Replies View Related

General :: Setup Virtual Machines To Be Servers With Bind Option Set To A Multicast Group Address Of 225.0.62.87?

Mar 28, 2010

I am in verse to test "Multicast Packet filtering".I want to setup Virtual Machines to be servers with bind option set to a multicast group address of 225.0.62.87.Then I want to configure the client VM, connecting to the multicast group address and setting the TTL as needed.

View 3 Replies View Related

General :: Copy To 'clipboard' From Shell?

Apr 5, 2010

Seems a utility called "xclip" and "xsel" are required, but is there anything simpler, that doesn't require extra utilities, along the lines ofCode:cat foo.txt > clipboardThis would for GNOME.

View 9 Replies View Related

General :: Run Windows Virtual Machines On A Windows Or Host?

Jul 7, 2011

I have currently have a PC with 16GB of RAM. I will be running multiple virtual machines using VirtualBox. Would I get the best performance from running the VMs on a Linux host, or a Windows host?

View 4 Replies View Related

General :: Copy Images From Diff Folder In Shell?

Apr 20, 2011

I have 500 folders of templates in one folder. Now each folder has file called template_thumbnail.png . now i want something so that all those files get copied to one folder with name same as the home folder name

I have cygwin installed and i can copy that folder in there so basically it will linux shell script

View 1 Replies View Related

General :: Copy From 1 Computer To Another With System Shell Commands?

Jun 23, 2011

I want to copy a file (home/remote_computer_user/Desktop/test1.txt) from my remote office computer (a permanent URL + open port) to my home computer (home/home_computer_user/Downloads/).

How can I do this with shell commands in Linux?

My current thoughts:

ssh <user>@<computer1address> -p <port> - gives me a shell on the remote computer
(I think I should use scp, but I dont how exactly how in my case)

What are the exact commands I should use?

View 1 Replies View Related

General :: Copy / Paste Output From Shell (not Terminal)?

Jul 15, 2010

I often have issues starting my window manager--xfce. My computer misbehaves in one of 3 ways, one of which is to fail to open X, but generate several screens of info. I want to paste that info to this site, but since I'm in the shell, not the terminal (please correct my vocabulary if it's wrong here), I don't know how to copy and paste the output, since right-clicking doesn't give me a menu. Even if I could copy I'm not sure the information would be accessible in X. Are there any other options?

View 13 Replies View Related

OpenSUSE :: XEN Virtual Machines Only Available For Root?

Jun 26, 2010

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

[code]...

View 1 Replies View Related

Networking :: How To Allow To RDP To Virtual Machines InsideCentos

Mar 2, 2010

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,

View 2 Replies View Related

Software :: Put Some Virtual Machines On My Fedora13 Box

Nov 18, 2010

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?

View 8 Replies View Related

General :: Shell Script To Copy All Folders Older Than 7 Days?

Mar 16, 2011

I want to make the script to copy all folders which older than 7 days from Linux server to Windows server by Samba. And make it automatically by using cron

View 4 Replies View Related

Fedora X86/64bit :: 64-bit Vs 32-bit Virtual Machines Trying To Run 11 On VMware WS 6.5.2

Aug 14, 2009

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.

View 4 Replies View Related

OpenSUSE Network :: Set Up 3 Virtual Machines On A Server

Dec 10, 2010

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.

View 9 Replies View Related

Server :: Running 2 Virtual Machines In Virtualbox?

Jul 22, 2009

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 ?

View 1 Replies View Related

Software :: Share Directory Between Two Virtual Machines?

Apr 28, 2010

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.

View 4 Replies View Related

CentOS 5 :: Setup One Of Virtual Machines In VMware?

Jan 14, 2010

I am trying to setup one of my virtual machines in VMware with CentOS 5.2

At the welcome to Centos screen I get the following message ??

an error has occurred - no valid devices were found on which to create new file systems. Please check your hardware for the cause of this problem.

View 3 Replies View Related

Debian Configuration :: Setup Some Virtual Machines That Will Use The Same Architecture?

May 31, 2011

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.

View 1 Replies View Related

Fedora Networking :: Isolated Network For Virtual Machines?

Oct 10, 2010

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.

View 2 Replies View Related

OpenSUSE Network :: Disconnected Machine With Virtual Machines?

Aug 29, 2011

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?

View 4 Replies View Related

Ubuntu :: Lucid Server Memory - Can't Run Virtual Machines

Jun 2, 2010

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.

[Code]...

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved