Ce contenu n'est pas disponible dans la langue sélectionnée.
18.6. The ISO Uploader Tool
18.6.1. The ISO Uploader Tool
engine-iso-uploader
. You must log in as the root
user and provide the administration credentials for the Red Hat Virtualization environment to use this command. The engine-iso-uploader -h
command displays usage information, including a list of all valid options for the engine-iso-uploader
command.
18.6.2. Syntax for the engine-iso-uploader Command
engine-iso-uploader
[options]
list
engine-iso-uploader
[options]
upload
[file].[file]...[file]
list
, and upload
.
- The
list
action lists the ISO storage domains to which ISO files can be uploaded. The Red Hat Virtualization Manager creates this list on the machine on which the Manager is installed during the installation process. - The
upload
action uploads a single ISO file or multiple ISO files separated by spaces to the specified ISO storage domain. NFS is used by default, but SSH is also available.
upload
action.
engine-iso-uploader
command.
General Options
--version
- Displays the version of the ISO uploader command.
-h
,--help
- Displays information on how to use the ISO uploader command.
--conf-file=[PATH]
- Sets [PATH] as the configuration file the command will to use. The default is
/etc/ovirt-engine/isouploader.conf
. --log-file=[PATH]
- Sets [PATH] as the specific file name the command will use to write log output. The default is
/var/log/ovirt-engine/ovirt-iso-uploader/ovirt-iso-uploader[date].log
. --cert-file=[PATH]
- Sets [PATH] as the certificate for validating the engine. The default is
/etc/pki/ovirt-engine/ca.pem
. --insecure
- Specifies that no attempt will be made to verify the engine.
--nossl
- Specifies that SSL will not be used to connect to the engine.
--quiet
- Sets quiet mode, reducing console output to a minimum.
-v
,--verbose
- Sets verbose mode, providing more console output.
-f
,--force
- Force mode is necessary when the source file being uploaded has the same file name as an existing file in the destination ISO domain. This option forces the existing file to be overwritten.
Red Hat Virtualization Manager Options
-u [USER]
,--user=[USER]
- Specifies the user whose credentials will be used to execute the command. The [USER] is specified in the format [username]@[domain]. The user must exist in the specified domain and be known to the Red Hat Virtualization Manager.
-r [FQDN]
,--engine=[FQDN]
- Specifies the IP address or fully qualified domain name of the Red Hat Virtualization Manager from which the images will be uploaded. It is assumed that the image uploader is being run from the same machine on which the Red Hat Virtualization Manager is installed. The default value is
localhost:443
.
ISO Storage Domain Options
-i
option or the -n
option.
-i
,--iso-domain=[ISODOMAIN]
- Sets the storage domain [ISODOMAIN] as the destination for uploads.
-n
,--nfs-server=[NFSSERVER]
- Sets the NFS path [NFSSERVER] as the destination for uploads.
Connection Options
--ssh-user=[USER]
- Sets [USER] as the SSH user name to use for the upload. The default is
root
. --ssh-port=[PORT]
- Sets [PORT] as the port to use when connecting to SSH.
-k [KEYFILE]
,--key-file=[KEYFILE]
- Sets [KEYFILE] as the public key to use for SSH authentication. You will be prompted to enter the password of the user specified with
--ssh-user=[USER]
if no key is set.
18.6.3. Specifying an NFS Server
Example 18.5. Uploading to an NFS Server
# engine-iso-uploader --nfs-server=storage.demo.redhat.com:/iso/path upload RHEL6.0.iso
18.6.4. Basic ISO Uploader Usage
admin@internal
user is used because no user was specified in the command. The second command uploads an ISO file over NFS to the specified ISO domain.
Example 18.6. List Domains and Upload Image
# engine-iso-uploader list
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):
ISO Storage Domain Name | Datacenter | ISO Domain Status
ISODomain | Default | active
# engine-iso-uploader --iso-domain=[ISODomain] upload [RHEL6.iso]
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):
18.6.5. Uploading the VirtIO and Guest Tool Image Files to an ISO Storage Domain
virtio-win.iso
, virtio-win_x86.vfd
, virtio-win_amd64.vfd
, and rhev-tools-setup.iso
image files to the ISODomain
.
Example 18.7. Uploading the VirtIO and Guest Tool Image Files
# engine-iso-uploader --iso-domain=[ISODomain]
upload
/usr/share/virtio-win/virtio-win.iso
/usr/share/virtio-win/virtio-win_x86.vfd
/usr/share/virtio-win/virtio-win_amd64.vfd
/usr/share/rhev-guest-tools-iso/rhev-tools-setup.iso
18.6.6. VirtIO and Guest Tool Image Files
/usr/share/virtio-win/virtio-win.iso
/usr/share/virtio-win/virtio-win_x86.vfd
/usr/share/virtio-win/virtio-win_amd64.vfd
/usr/share/rhev-guest-tools-iso/rhev-tools-setup.iso
engine-iso-uploader
command to upload these images to your ISO storage domain. Once uploaded, the image files can be attached to and used by virtual machines.