仮想化 - データベース・ソリューション & コンサルティング
Climb IT Square : www.climb.co.jp
![]() |
新着情報
![]() |
検索
カテゴリ
| 仮想化(VMware)(105) |
| データベース(16) |
| Climbメルマガ(25) |
| IT一般(116) |
| オープンソース(7) |
| シリコンバレー現地情報(16) |
![]() |
プロフィール
| goo ID | |
makoto_climb![]() |
|
| 所在地 | 東京都 |
| ご連絡先 | |
| (株)クライム TEL:03-3660-9336 Email:soft@climb.co.jp | |
![]() |
![]() |
![]() |
ブックマーク
|
新規・仮想環境(VMware)エンジニア技術ブログ VMware関連はこちらに移動します。 |
|
■HiT Software Tech Blog 先端RDB,XML,SQLミドルウェア |
|
■Espress Series Tech Blog Java EE対応チャート/レポート・ツール |
|
■(株)クライム・ソフトウェア事業部 取扱い製品一覧 |
| ■クライム・プレゼンテーション・センタ |
|
■Veeam Backup & Replication #1 VMwareバックアップ・ツール |
| ■クライム・システム・ソリューション |
| ■Silicon Valley ゲートウェイ |
|
■XML VisionプロジェクトBlog XMLグラフィック・エディタ |
カレンダー
| 2012年6月 | ||||||||
| 日 | 月 | 火 | 水 | 木 | 金 | 土 | ||
| 1 | 2 | |||||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 | ||
| 10 | 11 | 12 | 13 | 14 | 15 | 16 | ||
| 17 | 18 | 19 | 20 | 21 | 22 | 23 | ||
| 24 | 25 | 26 | 27 | 28 | 29 | 30 | ||
|
||||||||
|
|
|
|
![]() |
Entry Archive
| URLをメールで送信する | |
| (for PC & MOBILE) | |
Virtualization UPDATE から
Q. コマンド・ラインからどのようにVMware ESX バーチャル・マシン (VM)をどのようにスタートできますか?
A. 下記のようにコマンド・ラインから管理することができます。
最初にvmware-cmd -l コマンドを使用してサーバ上のすべてのVMをリストできます。
例:
vmware-cmd -l
produces
/vmfs/volumes/f27f61fa-1c0f60ae/Test/Test.vmx
/vmfs/volumes/f27f61fa-1c0f60ae/savdalvdi01/savdalvdi01.vmx
/vmfs/volumes/f27f61fa-1c0f60ae/savdalesxvc/savdalesxvc.vmx
/vmfs/volumes/f27f61fa-1c0f60ae/savdalappv01/savdalappv01
.vmx
Note that you're shown the VMX location for each VMs. You need these paths to actually control the VMs.
To check if a VM is running, specify the VMX file and the getstate switch. For example,
vmware-cmd /vmfs/volumes/f27f61fa-1c0f60ae/savdalesxvc/
savdalesxvc.vmx getstate
returns
getstate() = off
To start a VM, just use the start switch. For example,
vmware-cmd /vmfs/volumes/f27f61fa-1c0f60ae/savdalesxvc/
savdalesxvc.vmx start
returns
start() = 1
The VM will now be running.
Q. コマンドラインからメインテナンス・モードでVMware ESX serverをセットできますか?
A.VIクライアントを使用してメインテナンス・モードでサーバをセットできます。
vimsh -n -e /hostsvc/maintenance_mode_enter
You can exit maintenance mode using the command
vimsh -n -e /hostsvc/maintenance_mode_exit
Q. コマンドラインからどのようにVMware ESX パッチをインストールできますか?
A. vSphere 4 has a neat Update Manager that can automatically download patches and apply them. If you need to manually apply them, however, you can install patches from the command prompt once you've enabled maintenance mode (see the previous FAQ for more on maintenance mode).
Once you've downloaded the ESX updates from VMware's site, you should copy them to a location accessible through ESX and then open a command prompt session (e.g. via Putty).
Use the esxupdate command to apply patches. Note that you can first check what's contained in the patch file downloaded using the scan option. For example, I used the command
esxupdate --bundle ESX400-200912001.zip scan
and saw the following:
ESX400-200912001.zip #####################################
### [100%]
Applicable bulletins with updates are listed.
----Bulletin ID---- ---Date--- ---------Summary---------
ESX400-200912401-BG 2010-01-05 Updates vmx, vmkernel etc
ESX400-200912402-SG 2010-01-05 Updates OpenSSL
ESX400-200912403-SG 2010-01-05 Updates NSS and NSPR
ESX400-200912404-SG 2010-01-05 Updates DHCP
Esxupdate local cache states:
Location: /tmp/updatecache
Available space: 2015 [MB]
Note that when you specify the bundle, there are two dashes (--bundle).
To install, use the update switch. For example,
esxupdate --bundle ESX400-200912001.zip update
You'll get output similar to the following:
ESX400-200912001.zip ####################################
#### [100%]
Unpacking vmware-esx-perftool.. #########################
############### [100%]
Unpacking vmware-esx-vmkernel.. #########################
############### [100%]
Installing nspr ########################################
[100%]
Installing vmware-esx-vmkerne.. #########################
############### [100%]
Cleaning up vmware-esx-perfto.. #########################
############### [100%]
Cleaning up vmware-esx-vmkern.. #########################
############### [100%]
Running [/usr/sbin/vmkmod-install.sh]...
ok.
The update completed successfully, but the system needs
to be rebooted for the changes to be effective.
You can then reboot using the reboot command.
Q. VMware Workstationにバーチャル・マシンを作成しようとした時に「VT isn't enabled」というエラーが出ました何が悪いのでしょうか?
A:これはプロセッサーが仮想化機能(Intel VT or AMD-V) がイネーブルになっていないからです。BIOSのVT機能をイネーブルにしてください。
-------------------------
by John Savill
A. 下記のようにコマンド・ラインから管理することができます。
最初にvmware-cmd -l コマンドを使用してサーバ上のすべてのVMをリストできます。
例:
vmware-cmd -l
produces
/vmfs/volumes/f27f61fa-1c0f60ae/Test/Test.vmx
/vmfs/volumes/f27f61fa-1c0f60ae/savdalvdi01/savdalvdi01.vmx
/vmfs/volumes/f27f61fa-1c0f60ae/savdalesxvc/savdalesxvc.vmx
/vmfs/volumes/f27f61fa-1c0f60ae/savdalappv01/savdalappv01
.vmx
Note that you're shown the VMX location for each VMs. You need these paths to actually control the VMs.
To check if a VM is running, specify the VMX file and the getstate switch. For example,
vmware-cmd /vmfs/volumes/f27f61fa-1c0f60ae/savdalesxvc/
savdalesxvc.vmx getstate
returns
getstate() = off
To start a VM, just use the start switch. For example,
vmware-cmd /vmfs/volumes/f27f61fa-1c0f60ae/savdalesxvc/
savdalesxvc.vmx start
returns
start() = 1
The VM will now be running.
Q. コマンドラインからメインテナンス・モードでVMware ESX serverをセットできますか?
A.VIクライアントを使用してメインテナンス・モードでサーバをセットできます。
vimsh -n -e /hostsvc/maintenance_mode_enter
You can exit maintenance mode using the command
vimsh -n -e /hostsvc/maintenance_mode_exit
Q. コマンドラインからどのようにVMware ESX パッチをインストールできますか?
A. vSphere 4 has a neat Update Manager that can automatically download patches and apply them. If you need to manually apply them, however, you can install patches from the command prompt once you've enabled maintenance mode (see the previous FAQ for more on maintenance mode).
Once you've downloaded the ESX updates from VMware's site, you should copy them to a location accessible through ESX and then open a command prompt session (e.g. via Putty).
Use the esxupdate command to apply patches. Note that you can first check what's contained in the patch file downloaded using the scan option. For example, I used the command
esxupdate --bundle ESX400-200912001.zip scan
and saw the following:
ESX400-200912001.zip #####################################
### [100%]
Applicable bulletins with updates are listed.
----Bulletin ID---- ---Date--- ---------Summary---------
ESX400-200912401-BG 2010-01-05 Updates vmx, vmkernel etc
ESX400-200912402-SG 2010-01-05 Updates OpenSSL
ESX400-200912403-SG 2010-01-05 Updates NSS and NSPR
ESX400-200912404-SG 2010-01-05 Updates DHCP
Esxupdate local cache states:
Location: /tmp/updatecache
Available space: 2015 [MB]
Note that when you specify the bundle, there are two dashes (--bundle).
To install, use the update switch. For example,
esxupdate --bundle ESX400-200912001.zip update
You'll get output similar to the following:
ESX400-200912001.zip ####################################
#### [100%]
Unpacking vmware-esx-perftool.. #########################
############### [100%]
Unpacking vmware-esx-vmkernel.. #########################
############### [100%]
Installing nspr ########################################
[100%]
Installing vmware-esx-vmkerne.. #########################
############### [100%]
Cleaning up vmware-esx-perfto.. #########################
############### [100%]
Cleaning up vmware-esx-vmkern.. #########################
############### [100%]
Running [/usr/sbin/vmkmod-install.sh]...
ok.
The update completed successfully, but the system needs
to be rebooted for the changes to be effective.
You can then reboot using the reboot command.
Q. VMware Workstationにバーチャル・マシンを作成しようとした時に「VT isn't enabled」というエラーが出ました何が悪いのでしょうか?
A:これはプロセッサーが仮想化機能(Intel VT or AMD-V) がイネーブルになっていないからです。BIOSのVT機能をイネーブルにしてください。
-------------------------
by John Savill
| « SQL Serverでのdi... | VMware社がConsol... » |








ブログ作成者から承認されるまでトラックバックは反映されません