VMware ESXi 5.5のライセンス登録をコマンドから実行
Pocket

久しぶりに評価版のESXi 5.5をインストールしたマシンを起動したところ、評価版の期限が間近だったので、無償版のライセンスキーを登録させることにした。
といっても、ただ登録させるだけだと芸がない…

というわけで、SSHで接続してコマンドからライセンスキーを登録させることにした。
なお、このやり方であればESXiの自動インストール時に自動的にライセンス登録をさせることも出来るので、サーバ構築時にも有用だ。

というわけで、SSHからライセンスキー登録を行うため、以下のコマンドを実行する。

vim-cmd vimsvc/license --set <ライセンスキー>

実際に実行したのが以下。

Sponsored Links

20140707_000004

~ # vim-cmd vimsvc/license --set 54XXX-XXXXX-XXXXX-XXXXX-XXXXX

   serial: 54XXX-XXXXX-XXXXX-XXXXX-XXXXX
   vmodl key: esxBasic.vram
   name: VMware vSphere 5 Hypervisor
   total: 0
   used:  1
   unit: cpuPackage
   Properties:
     [ProductName] = VMware ESX Server
     [ProductVersion] = 5.0
     [count_disabled] = This license is unlimited
     [feature] = vsmp:8 ("Up to 8-way virtual SMP")
     [FileVersion] = 5.5.0.1
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e01-c3-t2-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e04-c1-l0-robo-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e03-c1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e07-v2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e07-c3-t2-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e03-v1-l0-robo-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e04-v2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-suite-vcloud-e13-c3-t2-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e01-c1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-eval-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e06-v2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e04-v1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-suite-vcloud-e14-c3-t2-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e08-c2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e11-c2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e07-c1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e08-v2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e12-c2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e05-c1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e06-c3-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-suite-vsom-e16-c3-t2-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e03-v2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e03-c3-t2-robo-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e06-v1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e01-v2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-suite-vsom-e17-c3-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e02-v2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e04-c3-t2-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e09-v1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e09-c2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e04-v2-l0-robo-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e02-v1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e03-c3-t2-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e02-c2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e03-v2-l0-robo-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e05-v1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e02-c3-t2-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e11-v2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e07-v1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e06-c2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e07-c3-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e03-v1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e05-c3-t2-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e04-c1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e08-v1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e03-c1-l0-robo-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-suite-vcloud-e15-c3-t2-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e12-c3-t2-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e12-v2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e04-v1-l0-robo-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e12-v1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e06-c3-t2-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e01-c3-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e09-v2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-suite-vsom-e18-c3-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e04-c3-t2-robo-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e01-v1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e11-v1-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e10-c3-t2-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e08-c3-t2-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e11-c3-t2-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e08-c3-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-e05-v2-l0-201006
     [LicenseFilePath] = /usr/lib/vmware/licenses/site/license-esx-50-suite-vsom-e19-c3-l0-201006
     [Localized] = <Not supported type for value: 0x1f356ba0>
[200] Command Complete.
Result: Success

これでライセンス登録が完了した。

Pocket

Written by blacknon

インフラ系のSE。一時期はプログラマ。 仮想化とオープンソースに興味あり。一日中寝てたい今日このごろ。 スペインとかで働きたいなぁ…(シエスタがあるので)

Leave a Comment

メールアドレスが公開されることはありません。