個人的備忘録。

インフラSEの備忘録です。インフラ構築、ニュース、ネタをたらたらと書いていきます。。。

CentOSのVMwareTools動作確認&停止時の起動設定

CentOSVMware Toolsが起動していないために、Acronis Backup for VMware(旧vmProtect)が「この仮想コンピュータのスナップショットに不整合が生じている可能性があり、ソース ファイルの除外はサポートされません。」と怒られるトラブルがあったので、その対応まとめメモ。

 

【原因詳細】

VMware Toolsがいつのまにか停止してしまうという現象。原因はvSphere上のLinuxカーネルのアップデートによるものだそうです。


VMware Toolsのバージョン確認コマンド
[root@hogesv ~]# vmware-toolbox-cmd -v
9.0.5.21789 (build-1065307)

 

●VMwareToolsの動作確認・起動
[root@hogesv ~]# status vmware-tools
vmware-tools start/running

 

●VMwareToolsのサービスが起動しない際の対処法
[root@hogesv ~]# /usr/bin/vmware-config-tools.pl
Initializing...
Making sure services for VMware Tools are stopped.
vmware-tools stop/waiting
~~中略~~
色々と確認されるがすべてEnter(デフォルト)で進む
~~中略~~
The configuration of VMware Tools 8.6.10 build-913593 for Linux for this
running kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
effect.
You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox-cmd" from the
command line or by invoking "/usr/bin/vmware-toolbox" from the command line
during an X server session.
To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.
Enjoy,
--the VMware team

で完了。"vmware-toolbox-cmd -v"コマンドにて動作確認
できればOSごと再起動して、再度VMware ToolsがStartになっていることを確認。

 

(参考URL)
http://cloud.nifty.com/cs/catalog/cloud_faq/catalog_120416000931_1.htm
http://cloud.nifty.com/cs/catalog/cloud_faq/catalog_130830001417_1.htm