Go to main content
Oracle® VM Server for SPARC 3.4 リファレンスマニュアル

印刷ビューの終了

更新: 2016 年 9 月
 
 

ovmtadm (1M)

名前

ovmtadm - Oracle VM for SPARC テンプレートの管理

形式

/opt/ovmtutils/bin/ovmtadm config

/opt/ovmtutils/bin/ovmtadm create

/opt/ovmtutils/bin/ovmtadm deploy

/opt/ovmtutils/bin/ovmtadm help

/opt/ovmtutils/bin/ovmtadm remove

説明

ovmtadm コマンドを使用すると、ovmtcreateovmtconfig、および ovmtdeploy コマンドを起動して、テンプレートを作成、構成、配備、および削除できます。

このコマンドは、構成するドメインが含まれるシステムの制御ドメイン上で実行します。

1 回につき 1 つのドメインのみを構成できます。

ovmtadm コマンドには、次のサブコマンドがあります。

config

ovmtconfig コマンドを実行します。コマンドオプションについては、ovmtconfig(1M) のマニュアルページを参照してください。

create

ovmtcreate コマンドを実行します。コマンドオプションについては、ovmtcreate(1M) のマニュアルページを参照してください。

deploy

ovmtdeploy コマンドを実行します。コマンドオプションについては、ovmtdeploy(1M) のマニュアルページを参照してください。

help

コマンドについての詳細なヘルプを表示します。

remove

ovmtdeploy -U コマンドを実行します。コマンドオプションについては、ovmtdeploy(1M) のマニュアルページを参照してください。

終了ステータス

次の終了値が返されます。

0

正常に完了しました。

1

エラーが発生しました。

2

使用法エラーが発生しました。

99

コマンドファイルの実行でエラー。

使用例 1 テンプレートの配備

次の例は、ovmtadm deploy コマンドを使用して、ldg1 ドメインに ./ovmtutils_data/small-1.ova テンプレートを配備する方法を示しています。

primary# /opt/ovmtutils/bin/ovmtadm deploy -d ldg1 ./ovmtutils_data/small-1.ova
executing wrapped command: /opt/ovmtutils/bin/ovmtdeploy -d ldg1 ./ovmtutils_data/small-1.ova 

Oracle VM for SPARC Deployment Utility
ovmtdeploy Version 3.4.0.0.13.1910
Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.

STAGE 1 - EXAMINING SYSTEM AND ENVIRONMENT
------------------------------------------
Checking user privilege
Performing platform & prerequisite checks
Checking for required services
Named resources available

STAGE 2 - ANALYZING ARCHIVE & RESOURCE REQUIREMENTS
---------------------------------------------------
Checking .ova format and contents
Validating archive configuration
Checking sufficient resources present
WARNING: Virtual switch primary-vsw0 already exists

STAGE 3 - EXTRACTING ARCHIVE
----------------------------
Extracting archive
Validating checksums
Decompressing disk image(s)

STAGE 4 - DEPLOYING DOMAIN
--------------------------
Creating domain and adding resources
Validating deployment
使用例 2 テンプレートの作成

次の例は、ovmtadm create コマンドを使用して、ldg1 ドメインから ./test.ova テンプレートを作成する方法を示しています。

primary# /opt/ovmtutils/bin/ovmtadm create -d ldg1 -o ./test.ova -f -n
executing wrapped command: /opt/ovmtutils/bin/ovmtcreate -d ldg1 -o ./test.ova -f -n 

Oracle VM for SPARC Template Creation Utility
ovmtcreate        Version: 3.4.0.0.13.1910
Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.


STAGE 1 - EXAMINING SYSTEM AND ENVIRONMENT
-------------------------------------------
Performing platform & prerequisite checks
Checking user permissions
Checking for required packages
Checking for required services
Checking directory permissions

STAGE 2 - ANALYZING DOMAIN
---------------------------
Retrieving and processing attributes
Checking domain state
Getting domain resource settings
Discovering network topology
Discovering disk topology

STAGE 3 - ARCHIVE CREATION
---------------------------
Checking destination and current directory capacity
Compressing disk image
Creating XML configuration
Calculating manifest checksums
Creating archive file
Checking archive

PROCESS COMPLETED
------------------
Started: Fri Jan 15 10:40:53 PST 2016
Completed: Fri Jan 15 10:40:56 PST 2016
Elapsed time: 0:00:03
使用例 3 ドメインの構成

次の例は、ovmtadm config コマンドを使用して、com.oracle.solaris.system.computer-name プロパティーの値を system1 に設定することによって、ldg1 ドメインを構成する方法を示しています。

primary# /opt/ovmtutils/bin/ovmtadm config -d ldg1 -v -p com.oracle.solaris.system.computer-name=system1
executing wrapped command: /opt/ovmtutils/bin/ovmtconfig -d ldg1 -v -p com.oracle.solaris.system.computer-name=system1 

Oracle VM for SPARC Configuration Utility
ovmtconfig        Version: 3.4.0.0.13.1910
Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.


STAGE 1/7 - EXAMINING SYSTEM AND ENVIRONMENT
--------------------------------
Checking operating system
Checking platform type
Checking user permissions
Checking packages
Checking host domain name
Checking host domain type
Checking services

STAGE 2/7 - PROCESSING COMMAND LINE OPTIONS
-------------------------------
Parsing individual properties
Creating consolidated properties list

STAGE 3/7 - ANALYZING TARGET DOMAIN
-----------------------

STAGE 4/4 - SETTING TARGET DOMAIN ENVIRONMENT
---------------------------------
Checking 1 properties to set as domain variables
Process completed
使用例 4 ドメインの削除

次の例は、ovmtadm remove コマンドを使用して、ldg1 ドメインをアンインストールおよび削除する方法を示しています。

primary# /opt/ovmtutils/bin/ovmtadm remove ldg1
executing wrapped command: /opt/ovmtutils/bin/ovmtdeploy -U ldg1 

Oracle VM for SPARC Deployment Utility
ovmtdeploy Version 3.4.0.0.13.1910
Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.

STAGE 1 - EXAMINING SYSTEM AND ENVIRONMENT
------------------------------------------
Checking user privilege
Performing platform & prerequisite checks

STAGE 2 - UNINSTALL DOMAIN
--------------------------
Stopping and unbinding domain
Removing virtual disks
Removing backend devices
Removing domain files
Uninstall completed

属性

次の属性の説明については、attributes(5) マニュアルページを参照してください。

属性型
属性値
使用条件
pkg:/system/ldoms/ovmtutils
インタフェースの安定性
不確実

関連項目

ovmtconfig(1M)ovmtcreate(1M)ovmtdeploy(1M)ovmtlibrary(1M)ovmtprop(1M)attributes(5)

Oracle VM Server for SPARC 3.4 開発者ガイド