1 |
On 2013-07-30 8:30 PM, Walter Dnes <waltdnes@××××××××.org> wrote: |
2 |
> On Tue, Jul 30, 2013 at 06:36:57AM -0400, Tanstaafl wrote |
3 |
> |
4 |
>> Side question... |
5 |
>> |
6 |
>> I want to run the vmware tools on my gentoo VM (so the host can safely |
7 |
>> power it down), but it also requires modules. |
8 |
> |
9 |
> Why do you need vmware tools? From the host, execute... |
10 |
> |
11 |
> ssh root@<guest> /sbin/poweroff |
12 |
|
13 |
Two reasons this isn't sufficient... |
14 |
|
15 |
1. Extended power outage |
16 |
|
17 |
If my UPS sends a shutdown command to the host, I (obviously) want it to |
18 |
safely shutdown ALL running VMs. |
19 |
|
20 |
2. Manual host shutdown |
21 |
|
22 |
I have my hosts configured so that if I press/release the power button, |
23 |
the host goes through a full power down process. I (obviously) want this |
24 |
process to also initiate safe shutdowns on all running VM's. |
25 |
|
26 |
I do not want to have to SSH in and manually run a command to |
27 |
uncooperative VM's first, I want to just be able to press/release the |
28 |
power button, and have the host safely shut down all running VMs, then |
29 |
itself. |
30 |
|
31 |
> ...or, if you have sys-power/hibernate-script installed, and want to |
32 |
> hibernate... |
33 |
|
34 |
This is a server. I always completely disable hibernation on servers |
35 |
(doesn't everyone?)... |