06-30-2011
Help with Vmrun in Vmware
Hi,
I've set up Windows XP virtual machines on an Ubuntu host to perform certain automated tasks. I copy files from the Ubuntu machine over to the XP machines using vmrun, execute the files, and receive reports back. All this is done using bash.
If the files I copy and run over in the vm crash the vm and cause a BSOD for some reason, the whole automation gets stuck. Is there any way to find out the state of the Windows XP machine ?
Any help is appreciated
---------- Post updated 06-30-11 at 01:13 PM ---------- Previous update was 06-29-11 at 11:12 PM ----------
I managed to find a crude solution for this. I've introduced a timeout in the bash script like this:
bash vmrun.sh & sleep 120 ; kill $!
So, if the script doesn't finish execution in the vmware guest within 120 seconds, for whatever may be the reason [BSOD, machine hung machine rebooted etc.], I kill it.
Hope someone finds this useful.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i got the rpm file and installed it but nothing happens i went to the cmd line and got the wizard to come up and finshed it but still no a thing will any body help me set this thing up i'm using mandrak9 (1 Reply)
Discussion started by: amicrawler2000
1 Replies
2. Solaris
hello all I have prob with solaris 10 and vmware 5.5, 6.0 that befor it's good work and from yesterday when I try to add new vm in SCSI Controller from vmware it's Don't see any Hard Disk or controller when I used solaris 5 cd-cdrom
and DVD version but when try to make vm with IDE controller... (0 Replies)
Discussion started by: Hosam
0 Replies
3. OS X (Apple)
I sorry for not being able to follow the rules. (0 Replies)
Discussion started by: puertochico
0 Replies
4. Solaris
Hi
I want to install vmware on my laptop and get started by installing a Solaris 10 on it . Can aybody suggest any links, pdfs etc that describes the procedure step by step .The laptop is running windows Vista
Thanks in advance (2 Replies)
Discussion started by: asalman.qazi
2 Replies
5. Solaris
Hi,
I am going to install solaris cluster 3.2 in vmware esx 3.5 for demo, for cluster we need two different network interfaces for private and pubic connectivity, but we have single ethernet controller
how to create two different ethernet instance name with single ethernet controller in vmware... (1 Reply)
Discussion started by: rajasekg
1 Replies
6. Virtualization and Cloud Computing
Hi Gurus
Can anyone please send a trial license of VMware 7.1.1. I install it in my machine.
Thanks (2 Replies)
Discussion started by: andresguillen
2 Replies
7. SCO
Hi all, I'm looking for some friendly advice on running Openserver 5.0.6 on VMware. Does anybody fancy answering a few questions if I post them?
---------- Post updated at 02:14 PM ---------- Previous update was at 10:43 AM ----------
Well people are reading my post, so I'll try my questions!... (5 Replies)
Discussion started by: KevinGB
5 Replies
8. AIX
Hello Every body,
I will receive a workstation HP, with a processor Intel corei5, with Windows already installer.
I project to install :
1)a Vmware
2)a serveur aix
3)a redhat server
... etc.
My question is :
1) What kind of vmware should I install to support installation of an AIX... (3 Replies)
Discussion started by: mlaiti
3 Replies
9. SuSE
Dear Friends,
I have been working with vmware and it was working welll until few days ago. I am still able to log myself in and start the virtual windows. However, the network connection to the host computer is gone and I am not able to copy my files from vmware to the host machine. At the... (1 Reply)
Discussion started by: chirag.joshi
1 Replies
10. Ubuntu
Hi all
I have a very big problem with ..... > VMWare Workstation 7.1.4
Closes abruptly >> If I do anything
This video demonstrates the problem::
http://www.youtube.com/watch?v=n0OVSQY3LtI (0 Replies)
Discussion started by: aonallah
0 Replies
LEARN ABOUT CENTOS
machinectl
MACHINECTL(1) machinectl MACHINECTL(1)
NAME
machinectl - Control the systemd machine manager
SYNOPSIS
machinectl [OPTIONS...] {COMMAND} [NAME...]
DESCRIPTION
machinectl may be used to introspect and control the state of the systemd(1) virtual machine and container registration manager systemd-
machined.service(8).
OPTIONS
The following options are understood:
-h, --help
Prints a short help text and exits.
--version
Prints a short version string and exits.
-p, --property=
When showing machine properties, limit the output to certain properties as specified by the argument. If not specified, all set
properties are shown. The argument should be a property name, such as "Name". If specified more than once, all properties with the
specified names are shown.
-a, --all
When showing machine properties, show all properties regardless of whether they are set or not.
-l, --full
Do not ellipsize process tree entries.
--no-pager
Do not pipe output into a pager.
--no-ask-password
Do not query the user for authentication for privileged operations.
--kill-who=
When used with kill-machine, choose which processes to kill. Must be one of leader, or all to select whether to kill only the leader
process of the machine or all processes of the machine. If omitted, defaults to all.
-s, --signal=
When used with kill-machine, choose which signal to send to selected processes. Must be one of the well-known signal specifiers, such
as SIGTERM, SIGINT or SIGSTOP. If omitted, defaults to SIGTERM.
-H, --host
Execute operation remotely. Specify a hostname, or username and hostname separated by "@", to connect to. This will use SSH to talk to
the remote machine manager instance.
-P, --privileged
Acquire privileges via PolicyKit before executing the operation.
The following commands are understood:
list
List currently running virtual machines and containers.
status [ID...]
Show terse runtime status information about one or more virtual machines and containers. This function is intended to generate
human-readable output. If you are looking for computer-parsable output, use show instead.
show [ID...]
Show properties of one or more registered virtual machines or containers or the manager itself. If no argument is specified, properties
of the manager will be shown. If an ID is specified, properties of this virtual machine or container are shown. By default, empty
properties are suppressed. Use --all to show those too. To select specific properties to show, use --property=. This command is
intended to be used whenever computer-parsable output is required. Use status if you are looking for formatted human-readable output.
terminate [ID...]
Terminates a virtual machine or container. This kills all processes of the virtual machine or container and deallocates all resources
attached to that instance.
kill [ID...]
Send a signal to one or more processes of the virtual machine or container. This means processes as seen by the host, not the processes
inside the virtual machine or container. Use --kill-who= to select which process to kill. Use --signal= to select the signal to send.
EXIT STATUS
On success, 0 is returned, a non-zero failure code otherwise.
ENVIRONMENT
$SYSTEMD_PAGER
Pager to use when --no-pager is not given; overrides $PAGER. Setting this to an empty string or the value "cat" is equivalent to
passing --no-pager.
SEE ALSO
systemd-machined.service(8), systemd-logind.service(8), systemd.special(7).
systemd 208 MACHINECTL(1)