2014年12月31日水曜日

年末という事で来年の気になる仮想化新技術


Project Fargo

仮想マシンのプロビジョニングが1秒!!




Project Meteor

Just-in-Time Desktop

リアルタイムにVDIを提供!!

※詳細は以下をを参照ください
http://blogs.vmware.com/jp-euc/2014/08/vmworld-2014-euc.html



上記がどれほどの価値があるのか
考えてみてください


価値に気づいてください


来年のサンフランシスコで発表があるでしょう。楽しみです。

第4回 DRSスケジュール

前提
vSphere5.5は現時点で最新版のバージョンである
6.0はBetaであり来年春にリリース予定との噂

本題ですが、
VMware DRSとは
負荷(CPUやメモリなどの使用率)に応じて、負荷が低いホスト(ESXi)に仮想マシンをvMotion(移行→移動)する機能である
また、完全自動で動かすか手動で動かすか選択出来ます
さらに、
vSphere5.5ではWebClientでDRSをスケジュール実行出来るようになりました!
※vShpereClientではDRSスケジュール設定出来ません


WebClientによるDRSスケジュール設定手順は以下の通り
1.WebClientにログインする
2.クラスタ→管理→設定→vShpere DRS→DRSスケジュール


3.タスク名入力→変更


4.2日間AM0時にDRSを実行したい場合は以下の通りに設定する



以上がWebClientによるDRSスケジュール設定である

2014年12月30日火曜日

第3回 VMFS3からVMFS5へのアップグレード

VMFS3のファイルサイズ上限は2TBである

以下、構成の上限に記載されている
http://www.vmware.com/files/jp/pdf/vsphere-55-configuration-maximums.pdf#search='vmfs5+%E6%A7%8B%E6%88%90%E3%81%AE%E4%B8%8A%E9%99%90'

VMFS5のファイルサイズ上限は、なんと62TBです。

VMFS3を2TB以上使いたい場合は、アップグレードです。
具体的な手順は以下の通り

1.WebClientにログイン
2.以下の画面遷移でVMFS5へアップグレードする(既にVMFS5なのでグレーアウトです)


2014年12月29日月曜日

第2回 ESXi5.5のSSL証明書交換

前提
SSL証明書が既に作成されデスクトップなどに保管されていること
ESXiのSSHログインが有効であること

1.ESXiをメンテナンスモードにする
 ※注意事項!ESXi上の仮想マシンを停止するか、StorageVmotionなどで他のESXiに移行しないとメンテナンスモードに出来ません

2.ESXiの既存のSSL証明書(rui.crt、rui.key)をmvコマンドなどで移動する

SSL証明書のパスは以下の通り
# ls -l /etc/vmware/ssl/
total 8
-rw-r--r--    1 root     root          1440 Dec 28 02:35 rui.crt
-r--------    1 root     root          1704 Dec 28 02:35 rui.key

3.WinSCP(SFTPが出来るフリーソフト)などで、デスクトップなどにあるSSL証明書(rui.crt、rui.key)を、ESXiの/etc/vmware/ssl/直下にアップロードする

4.ESXiのサービス再起動
/etc/init.d/hostd restart
/etc/init.d/vpxa restart

5.ESXiのメンテナンスモード解除

以上でESXi5.5のSSL証明書交換完了

2014年12月28日日曜日

第1回 ESXi5.5 SATP rule add

○○○○対策を投稿して行こうと思う
知っている人からすればバレバレ
感の鋭い人ならば気づき
今後の投稿にWatchするだろう

しかし、何故、誰も共有しないのだろうか
内包していた方が個人の価値は高いだろうが
それは、一時の価値であり停滞である

本題ですが、
VMware ESXi5.5で、SATP ( Storage Array Type Plugin )のruleを追加する方法

1.ESXiにSSHでログインする
2.以下のコマンドに
 esxcli storage nmp satp rule add

 オプションを付けて実行する
 esxcli storage nmp satp rule add --satp=VMW_SATP_ALUA --vendor=TEST --psp=VMW_PSP_RR

3.結果は以下の通り
Name                 Device  Vendor   Model             Driver  Transport  Options                     Rule Group  Claim Options                        Default PSP  PSP Options  Description
VMW_SATP_ALUA                IBM      2145                                                             system                                           VMW_PSP_RR
VMW_SATP_ALUA                TEST                                                                      user                                             VMW_PSP_RR

3.esxcli storage nmp satp rule addを実行するとオプションのヘルプが表示されるので、ヘルプを見てコマンドを組み立てる

~ # esxcli storage nmp satp rule add
Error: Missing required parameter -s|--satp

Usage: esxcli storage nmp satp rule add [cmd options]

Description:
  add                   Add a rule to the list of claim rules for the given SATP.

Cmd options:
  -b|--boot             This is a system default rule added at boot time. Do not modify esx.conf or add to host profile.
  -c|--claim-option=<str>
                        Set the claim option string when adding a SATP claim rule.
  -e|--description=<str>
                        Set the claim rule description when adding a SATP claim rule.
  -d|--device=<str>     Set the device when adding SATP claim rules. Device rules are mutually exclusive with vendor/model and driver rules.
  -D|--driver=<str>     Set the driver string when adding a SATP claim rule. Driver rules are mutually exclusive with vendor/model rules.
  -f|--force            Force claim rules to ignore validity checks and install the rule anyway.
  -M|--model=<str>      Set the model string when adding SATP a claim rule. Vendor/Model rules are mutually exclusive with driver rules.
  -o|--option=<str>     Set the option string when adding a SATP claim rule.
  -P|--psp=<str>        Set the default PSP for the SATP claim rule.
  -O|--psp-option=<str> Set the PSP options for the SATP claim rule.
  -s|--satp=<str>       The SATP for which a new rule will be added. (required)
  -R|--transport=<str>  Set the claim transport type string when adding a SATP claim rule.
  -t|--type=<str>       Set the claim type when adding a SATP claim rule.
  -V|--vendor=<str>     Set the vendor string when adding SATP claim rules. Vendor/Model rules are mutually exclusive with driver rules.