xm

loaded, values that were not set on the command-line are replaced by the values set in the script.

[-F=file --config=file]

Sets the domain configuration to use SXP. SXP is the underlying configuration format used by Xen. SXP configurations can be hand-written or generated from Python configuration scripts, using the --dryrunoption to print the configuration.

[-n --dryrun]

Prints the resulting configuration in SXP, but does not create the domain.

[-x --xmldryrun]

Prints the resulting configuration in XML, but does not create the domain.

[-s --skipdtd]

Skips DTD checking and XML checks before domain creation. This option is experimental and may slow down the creation of domains.

[-p --paused]

Leaves the domain paused after it is created.

[-c --console_autoconnect]

Connects to the console after the domain is created.

xm new /home/myhome/myconfig

pause {domain-id}

Pauses the execution of a domain.

xm pause mydomain

reboot [--all][--wait][domain-id]Reboots a domain.

The --allparameter reboots all domains.

The --waitparameter waits for the domain to reboot before returning control to the console.

xm reboot --wait mydomain

restore {statefile}

Restores a domain from a saved state.

xm restore /home/myhome/statefile

save {domain-id} {statefile}

Saves a domain state so it can be restored at a later date.

xm save mydomain /home/myhome/statefile

shutdown [-a] [-w] [domain-id]

Shuts down a domain gracefully.

The -aparameter shuts down all domains.

The -wparameter waits for the domain to shut down before returning control to the console.

xm shutdown -w mydomain

Command-Line Tools A-9

Page 61
Image 61
Oracle Audio Technologies E10898-02 manual Restore statefile, Shutdown -a -w domain-id