2017年12月2日土曜日

Unlocker 2.1.0 のインストール

ESXiにmacOS HighSierraをインストールした。

ESXiを6.5にした際には、Unlockerが邪魔になってVMが起動しない事象が起こったが、それをアンインストールして対処していた。

HighSierraを起動させることはできたのだが、どうやっても画面の解像度が、1920x1080を選んでもその半分の960x540(HiDPI)に戻されてしまう。

最初の対策としては、VMWareToolsをUnlocker2.0.8同梱のものに変えた。

関連して検索すると、Unlockerも最新の2.1.0に更新されているようなので、これをインストールしておく。(2.1.1もあるにはあったがESXiがサポート外トなっているような記述があったので避けた。)

インストールの再参考にしたテキストは、以下。

You will need to transfer the zip file to the ESXi host either using vSphere client or SCP.
⇒zipファイルをホストにアップロードしてね。

Once uploaded you will need to either use the ESXi support console or use SSH to
run the commands. Use the unzip command to extract the files.
⇒アップロードしたら、そのzipを解凍してね。

<<< WARNING: use a datastore volume to store and run the scripts >>>
⇒注:スクリプトの格納と実行には、データストアを使ってね。

Please note that you will need to reboot the host for the patches to become active.
The patcher is embbedded in a shell script local.sh which is run at boot from /etc/rc.local.d.
⇒パッチは起動時に読み込まれるシェルスクリプトに書かれているから、ホストへのパッチ適用を有効にするためには、再起動が必要なんで、気を付けてね。

You may need to ensure the ESXi scripts have execute permissions
by running chmod +x against the 2 files.

esxi-install.sh - patches VMware
esxi-uninstall.sh - restores VMware
⇒この2つのファイルを実行するには、権限が必用なんで確認してね。

There is a boot option for ESXi that disables the unlocker if there is a problem.
At the ESXi boot screen press shift + o to get the boot options and add nounlocker.
⇒問題ある場合は、パッチを無効にする起動オプションがあるよ。
 起動画面で、Shift+o で起動オプションが出るので、パッチ無効にできるよ。


Note:
1. Any changes you have made to local.sh will be lost. If you have made changes to
that file, you will need to merge them into the supplied local.sh file.
2. The unlocker needs to be re-run after an upgrade or patch is installed on the ESXi host.
3. The macOS VMwwre tools are no longer shipped in the image from ESXi 6.5. They have to be
downloaded and installed manually onto the ESXi host. For additional details see this web page:




2017年6月17日土曜日

(ESXi)Sierraにおける画面チラつきの解決

Sierraのアップデート(10.12.5)以降、操作の際にRGBが反転するような変な画面チラつきがあった。

アップデートでドライバーのバージョンが変わったのか、ついにRadeon5770なんてサポート外となったのか?とも思ったが、思わぬところで解決。

ESXiの仮想マシンの構成で、メインディスプレイは5770をパススルーし、サブディスプレイはVMの標準ディスプレイを使っている。

どうやらその2つのディスプレイの解像度をそろえる必要がありそうだ。俺環では1920x1080のFullHDとなる。

こう考えるとMirrorDTC側の課題なのかもしれない。VNCならそもそも問題にならなかったのかもしれない。

2017年3月18日土曜日

ESXi 6.5にアップデート後のVM起動不可について

ESXiを6.0系から6.5系にアップグレードしたところ、

[仮想マシン ****** のパワーオンに失敗しました。転送 (VMDB) エラー -45: Failed to connect to peer process。 詳細についてはここをクリックしてください。]

的なエラーが発生。

原因はunlocker208だったので、アンインストールしたらOK。

参考URL
https://communities.vmware.com/thread/547415?start=0&tstart=0

uninstallコマンド
unlocker208 のフォルダまで移動して
./esxi-uninstall.sh

でも一部のVMは起動しないままなので、unlocker209待ち。