{}

I nostri marchi

Cerca nelle Domande frequenti

How to gracefully shutdown VMs running on Oracle VM Server via a command file with PowerChute Network Shutdown

Issue
Oracle VM Server does not provide a built-in feature to shut down VMs when the host is commanded to shut down.


Product Line:
PowerChute Network Shutdown

Environment:
Oracle VM Server

Cause:
Oracle VM Server does not provide a built-in feature to shut down VMs when the host is commanded to shut down.



Solution:


1 - Create a command file with the command below:
xm shutdown –a
This command will shut down any VMs that are powered on.
Save the command file with a .sh extension.
Ensure that the.sh file has execute permission by using the command chmod +x <filename.sh>

2 - In the PowerChute UI, click on Shutdown Settings > Run Command
a. Enter the full path to the .sh file you created in Step 1.
b. Enter a duration in seconds. The time you enter here should allow enough time for all VMs to gracefully shut down.


When a UPS critical event occurs, PowerChute will execute the shutdown command file and wait the duration before shutting down the Oracle VM Server.

APC Italy

Approfondisci
Approfondisci