xm

xm

The Oracle VM Server management command-line management tool xm, creates, destroys, manages and migrates guests.

This section contains a brief explanation of some of the more common xm commands. For full documentation, use the xm help --longcommand.

The xm command-line tool requires the xend daemon to be started.

Enter parameters to the xm command-line tool in the format:

xm [option] [argument]

See Chapter 5, "Domain Monitoring and Administration" for examples on using the xm command-line tool.

Options

console {domain-id}

Attaches to a domain’s console.

xm console mydomain

create [-c]{config-file [name=value ...]}

Creates a domain based on the entries in the config-file.

Entering the -cparameter attaches to the domain’s console when the domain is created and started.

You can also enter name value pairs to override variables in the config-fileusing the name=value parameter.

xm -c /home/myhome/myconfig

destroy {domain-id}

Immediately terminates a domain.

xm destroy mydomain

dmesg [--clear]

Displays message buffer logs similar in format to the equivalent to the dmesg command in the Linux kernel.

The --clearparameter clears the message buffer.

help [--long] [option]

Displays help on the xm command, and its options.

The --longoption displays full help on xm commands, grouped by function.

Enter a command name as an option to the xm command to get help only on that command.

xm help --long create

info

Displays information about the host computer.

xm info

Command-Line Tools A-7

Page 59
Image 59
Oracle Audio Technologies E10898-02 manual Console domain-id, Destroy domain-id, Dmesg --clear, Help --long option, Info