2.3 Using Oracle VM Virtual Machine Control (2024)

2.3.1 Command Line Options and Parameters of ovm_vmcontrol
2.3.2 Examples of ovm_vmcontrol Usage

The ovm_vmcontrol utility operates on a virtual machine (VM). It passes basic virtual machine control commands from the command line to Oracle VM Manager. It allows you to start, stop, suspend, resume, kill, restart a VM. It is also possible to simply query the status of the virtual machine (Running, Stopped), and retrieve essential VM information such as memory, server pool, number of virtual CPUs and so on.

2.3.1Command Line Options and Parameters of ovm_vmcontrol

The ovm_vmcontrol utility has the following command line options:

Note

As you can see, the ovm_vmcontrol console command list contains a lock command. This special command allows you to lock a virtual machine for a certain period of time. When a virtual machine is locked by the utility, it is not possible for other tools or users (through the Oracle VM Manager user interface) to perform operations on that specific VM. This is particularly useful if you are an administrator and need to make a VM backup while the VM is stopped: you want to prevent anyone starting the VM before the backup finishes.

The list command does not need a VM name or UUID argument. It lists every VM and its status.

The fixcfg command verifies the vm.cfg file of the virtual machine and attempts to correct invalid entries. For example, an entry for vncpasswd will be cleared with this command, because the virtual machine console does not support this setting.

The vcpuset command hard-binds or pins virtual CPUs to threads. For example, -c vcpuset -s (0,1,2) physically binds vcpu0 to thread0, vcpu1 to thread1, vcpu2 to thread2. Use the vcpuget command to retrieve information about pinned vCPUs for the selected virtual machine.

The settags and gettags commands are used to manage tag metadata for a given virtual machine.

2.3.2Examples of ovm_vmcontrol Usage

Below are examples of ovm_vmcontrol commands and their respective output.

  • Display detailed information of a particular virtual machine:

    # ./ovm_vmcontrol -u admin -p password -h localhost -v MyVM02 -c infoOracle VM VM Control utility 0.5.2.Connected.Command : infoVirtual Machine : MyVM02 Status : Running Memory : 1024 Uptime : 83 Minutes Server : OVS_01 Pool : MyServerPool1 HA Mode: false VCPU : 2 Type : Xen HVM OS : Oracle Linux 6vminfo 'MyVM02' completed.
  • Check the status of a particular virtual machine:

    # ./ovm_vmcontrol -u admin -p password -h localhost -v MyVM02 -c status Oracle VM VM Control utility 0.5.2. Connected. Command : status Virtual Machine : 'MyVM02' status : 'Running' on server 'OVS_01' serverpool : 'MyServerPool1'.
  • Stop a particular virtual machine:

    # ./ovm_vmcontrol -u admin -p password -h localhost -v MyVM01 -c stop Oracle VM VM Control utility 0.5.2. Connected. Command : stop stopvm 'MyVM01' completed. 
  • Start a particular virtual machine:

    # ./ovm_vmcontrol -u admin -p password -h localhost -v MyVM01 -c start Oracle VM VM Control utility 0.5.2.Connected. Command : start startvm 'MyVM01' completed.
  • Lock a particular virtual machine:

    # ./ovm_vmcontrol -u admin -p password -h localhost -v MyVM01 -c lock Oracle VM VM Control utility 0.5.2. Connected. Command : lock Locking VM 'MyVM01' Press Ctrl-C to unlock. 

    The lock command will sleep until you press Ctrl+C to release the lock. If the ovm_control utility is killed, the VM would be unlocked as well.

2.3 Using Oracle VM Virtual Machine Control (2024)
Top Articles
54 Side Hustle Ideas To Make Money Fast In 2024
Wie kann man mit Forex Trading Geld verdienen? Meine Strategie - Devisenhandel-Profi.de
Hotels Near 6491 Peachtree Industrial Blvd
Skyward Sinton
Skylar Vox Bra Size
El Paso Pet Craigslist
Driving Directions To Fedex
Southeast Iowa Buy Sell Trade
Aces Fmc Charting
Phenix Food Locker Weekly Ad
AB Solutions Portal | Login
Snarky Tea Net Worth 2022
Hover Racer Drive Watchdocumentaries
Premier Boating Center Conroe
Whitley County Ky Mugshots Busted
Taylor Swift Seating Chart Nashville
Signs Of a Troubled TIPM
Walmart Windshield Wiper Blades
Immortal Ink Waxahachie
Aldi Süd Prospekt ᐅ Aktuelle Angebote online blättern
Comics Valley In Hindi
Adam4Adam Discount Codes
Richland Ecampus
Walmart Car Department Phone Number
Best Mechanics Near You - Brake Masters Auto Repair Shops
Airtable Concatenate
Macu Heloc Rate
WRMJ.COM
Summoners War Update Notes
Mawal Gameroom Download
Craigslist Scottsdale Arizona Cars
Robert A McDougal: XPP Tutorial
Math Minor Umn
Save on Games, Flamingo, Toys Games & Novelties
Skip The Games Ventura
American Bully Xxl Black Panther
Pinellas Fire Active Calls
Aliciabibs
Body Surface Area (BSA) Calculator
Kerry Cassidy Portal
Me Tv Quizzes
968 woorden beginnen met kruis
Sept Month Weather
Complete List of Orange County Cities + Map (2024) — Orange County Insiders | Tips for locals & visitors
Simnet Jwu
Below Five Store Near Me
Sdn Fertitta 2024
Best GoMovies Alternatives
Craigslist Houses For Rent Little River Sc
Premiumbukkake Tour
Samantha Lyne Wikipedia
Latest Posts
Article information

Author: Margart Wisoky

Last Updated:

Views: 6109

Rating: 4.8 / 5 (78 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Margart Wisoky

Birthday: 1993-05-13

Address: 2113 Abernathy Knoll, New Tamerafurt, CT 66893-2169

Phone: +25815234346805

Job: Central Developer

Hobby: Machining, Pottery, Rafting, Cosplaying, Jogging, Taekwondo, Scouting

Introduction: My name is Margart Wisoky, I am a gorgeous, shiny, successful, beautiful, adventurous, excited, pleasant person who loves writing and wants to share my knowledge and understanding with you.