--- title: "Xentools の再インストール(Linux)" slug: "server-ts-xen-lin-classic" tags: ["troubleshooting", "Xentools", "Classic", "Server"] updated: 2026-09-17T09:31:55Z published: 2026-09-17T09:31:55Z canonical: "guide.ncloud-docs.com/server-ts-xen-lin-classic" --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # Xentools の再インストール(Linux) Classic環境で利用できます。 Xentoolsは。Linuxサーバの様々な情報をハイパーバイザに渡すために使用されます。問題を解決する目的で Linuxサーバから Xentoolsを削除して再インストールする方法について説明します。 注意 当該機能は、CentOS 6.3、CentOS 6.6、CentOS 6.9、Ubuntu 16.04では使用できません。 ## NTKを活用した再インストール Ncloud Tool Kitを活用した再インストール方法は、次の通りです。 ### 1. Linuxサーバへのアクセス Linuxサーバにアクセスします。アクセス方法の詳細は、[Classicサーバへのアクセス](/docs/ja/server-access-classic)をご参照ください。 ### 2. NTKの圧縮展開と実行 アクセスした Linuxサーバで Ncloud Tool Kitを実行します。 1. 次のコマンドを実行して NTKがあるパスに移動します。 ``` # cd /usr/local/etc ``` 2. 以下のコマンドを実行して `ntk.tar.gz` ファイルを解凍します。 ``` # tar zxvf ntk.tar.gz ``` - 当該パスに `ntk.tar.gz` ファイルがない場合や、最新バージョンでダウンロードするには、次のコマンドを実行します。 ``` # wget -P /usr/local/etc http://repo.ncloud.com/etc/vmcheck/ntk.tar.gz ``` 参考 2024年1月11日基準、NTKの最新バージョンは v0.6.5-1です。 3. 次のコマンドを順に入力して NTKを実行します。 ``` # cd /usr/local/etc/ntk # ./ntk ``` ### 3. NTK XENTOOLS RE-INSTALL実行 Ncloud Tool Kitから Xentoolsの再インストールコマンドを実行します。 1. **(E) EXECUTE - << Run System Apps >>**をクリックします。 ![server-ts-xen-lin-classic-ntk01](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/server-ts-xen-lin-classic-ntk01.png?sv=2026-02-06&spr=https&st=2026-10-30T16%3A17%3A19Z&se=2026-10-30T17%3A17%3A19Z&sr=c&sp=r&sig=zeUDDHO%2BD8lVWBUU5ixGCgqbIjCICdue3HTH1ru9g7k%3D) 2. **(X) XENTOOLS - XENTOOLS RE-INSTALL >>**をクリックします。 ![server-ts-xen-lin-classic-ntk02](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/server-ts-xen-lin-classic-ntk02.png?sv=2026-02-06&spr=https&st=2026-10-30T16%3A17%3A19Z&se=2026-10-30T17%3A17%3A19Z&sr=c&sp=r&sig=zeUDDHO%2BD8lVWBUU5ixGCgqbIjCICdue3HTH1ru9g7k%3D) 3. Xentoolsのバージョン確認と再インストールを希望する場合、 **[YES]** ボタンをクリックします。当該 VMの Xentoolsのインストール有無とバージョンを確認します。 ![server-ts-xen-lin-classic-ntk03](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/server-ts-xen-lin-classic-ntk03.png?sv=2026-02-06&spr=https&st=2026-10-30T16%3A17%3A19Z&se=2026-10-30T17%3A17%3A19Z&sr=c&sp=r&sig=zeUDDHO%2BD8lVWBUU5ixGCgqbIjCICdue3HTH1ru9g7k%3D) ### 4. Xentoolsの再インストールと実行 ユーザーが Linux VMから Xentoolsのバージョンとインストール有無を確認できます。OS別に確認する方法は、次の通りです。 - CentOS ``` rpm -qa | grep xe-guest ``` - Ubuntu ``` dpkg -l | grep xe-guest ``` Xentoolsのバージョンとインストール有無の確認結果に基づいて再インストールを実行します。 - 推奨バージョンが正常にインストールされている場合、正常インストールのメッセージが表示されます。この場合、別途対応する内容はありません。 ![server-ts-xen-lin-classic-ntk04](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/server-ts-xen-lin-classic-ntk04.png?sv=2026-02-06&spr=https&st=2026-10-30T16%3A17%3A19Z&se=2026-10-30T17%3A17%3A19Z&sr=c&sp=r&sig=zeUDDHO%2BD8lVWBUU5ixGCgqbIjCICdue3HTH1ru9g7k%3D) - 推奨バージョン以外のバージョンの Xentoolsがインストールされている場合、再インストールリクエストのメッセージが表示されます。再インストールを希望する場合は、 **[YES]** ボタンをクリックします。以前のバージョンの Xentoolsを削除し、推奨バージョンの Xentoolsが再インストールされます。 ![server-ts-xen-lin-classic-ntk05](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/server-ts-xen-lin-classic-ntk05.png?sv=2026-02-06&spr=https&st=2026-10-30T16%3A17%3A19Z&se=2026-10-30T17%3A17%3A19Z&sr=c&sp=r&sig=zeUDDHO%2BD8lVWBUU5ixGCgqbIjCICdue3HTH1ru9g7k%3D) 例) インストールされた Xentoolsのバージョンが7.4.0-1である状態で、推奨バージョンである7.20.2-1バージョンに再インストールすると、「7.4.0-1 ==> 7.20.2-1」のメッセージが表示され、再インストールが完了します。 ![server-ts-xen-lin-classic-ntk06](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/server-ts-xen-lin-classic-ntk06.png?sv=2026-02-06&spr=https&st=2026-10-30T16%3A17%3A19Z&se=2026-10-30T17%3A17%3A19Z&sr=c&sp=r&sig=zeUDDHO%2BD8lVWBUU5ixGCgqbIjCICdue3HTH1ru9g7k%3D) - Xentoolsがインストールされていない場合、インストールリクエストのメッセージが表示されます。インストールを希望する場合は、 **[YES]** ボタンをクリックします。推奨バージョンの Xentoolsがインストールされます。 ![server-ts-xen-lin-classic-ntk07](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/server-ts-xen-lin-classic-ntk07.png?sv=2026-02-06&spr=https&st=2026-10-30T16%3A17%3A19Z&se=2026-10-30T17%3A17%3A19Z&sr=c&sp=r&sig=zeUDDHO%2BD8lVWBUU5ixGCgqbIjCICdue3HTH1ru9g7k%3D) 例) Xentoolsがインストールされていない状態で7.20.2-1バージョンにインストールすると、「0.0 ==> 7.20.2-1」のメッセージが表示され、インストールが完了します。 ![server-ts-xen-lin-classic-ntk08](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/server-ts-xen-lin-classic-ntk08.png?sv=2026-02-06&spr=https&st=2026-10-30T16%3A17%3A19Z&se=2026-10-30T17%3A17%3A19Z&sr=c&sp=r&sig=zeUDDHO%2BD8lVWBUU5ixGCgqbIjCICdue3HTH1ru9g7k%3D) ### 5. サーバ再起動 Xentoolsのインストールが完了したら、サーバを再起動します。 注意 再起動は OS上で行ってください。コンソールを通じて再起動する場合、正しくインストールされない場合があります。 ### 6. Xentoolsの運用状態確認 XenToolsを再インストールした後、Xentoolsの運用状態が正常か確認します。 1. 次のコマンドを実行します。 ``` # systemctl status xe-linux-distribution.service ``` 2. サービスが `active` 状態か確認します。 ``` [root@xentools ~]# systemctl status xe-linux-distribution.service ● xe-linux-distribution.service - LSB: Virtual Machine daemon providing host integration services Loaded: loaded (/etc/rc.d/init.d/xe-linux-distribution; bad; vendor preset: disabled) Active: active (running) since Wed 2023-04-26 14:54:33 KST; 5min ago Docs: man:systemd-sysv-generator(8) Process: 855 ExecStart=/etc/rc.d/init.d/xe-linux-distribution start (code=exited, status=0/SUCCESS) CGroup: /system.slice/xe-linux-distribution.service ├─937 /usr/sbin/xe-daemon -p /var/run/xe-daemon.pid ├─956 logger -t xe-daemon └─959 logger -t xenstore ``` ### 7. コンソールでサーバ状態確認 Xentoolsが正常にインストールされた場合は、再起動時にコンソールで **運用中** 状態に変更されたことが確認できます。 ![server-ts-xen-lin-classic-console01_ko](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/server-ts-xen-lin-classic-console01_ja.png?sv=2026-02-06&spr=https&st=2026-10-30T16%3A17%3A19Z&se=2026-10-30T17%3A17%3A19Z&sr=c&sp=r&sig=zeUDDHO%2BD8lVWBUU5ixGCgqbIjCICdue3HTH1ru9g7k%3D) Xentoolsが正常にインストールされなかったり、推奨されるバージョンでインストールされていない場合に再起動すると、OS上では問題なくてもコンソールで **再起動** 状態になることがあります。 ![server-ts-xen-lin-classic-console02_ko](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/server-ts-xen-lin-classic-console02_ja.png?sv=2026-02-06&spr=https&st=2026-10-30T16%3A17%3A19Z&se=2026-10-30T17%3A17%3A19Z&sr=c&sp=r&sig=zeUDDHO%2BD8lVWBUU5ixGCgqbIjCICdue3HTH1ru9g7k%3D) ## スクリプトを活用した再インストール スクリプトを活用した Xentoolsの再インストール方法は、次の通りです。 ### 1. Xentoolsのダウンロード NAVERクラウドプラットフォーム Linuxサーバで提供されるスクリプトを使用して Xentoolsをダウンロードします。 1. 次のコマンドでスクリプトを実行します。 ``` # wget https://kr.object.ncloudstorage.com/xen-tools-install/linux_xentools_install.sh # chmod u+x linux_xentools_install.sh # ./linux_xentools_install.sh ``` 1. インストールが完了したら、サーバを再起動します。 注意 再起動は OS上で行ってください。コンソールを通じて再起動する場合、正しくインストールされない場合があります。 ### 2. Xentoolsの運用状態確認 Xentoolsを再インストールした後、Xentoolsの運用状態が正常か確認します。 1. 次のコマンドを実行します。 ``` # systemctl status xe-linux-distribution.service ``` 2. サービスが `active` 状態か確認します。 ``` [root@xentools ~]# systemctl status xe-linux-distribution.service ● xe-linux-distribution.service - LSB: Virtual Machine daemon providing host integration services Loaded: loaded (/etc/rc.d/init.d/xe-linux-distribution; bad; vendor preset: disabled) Active: active (running) since Wed 2023-04-26 14:54:33 KST; 5min ago Docs: man:systemd-sysv-generator(8) Process: 855 ExecStart=/etc/rc.d/init.d/xe-linux-distribution start (code=exited, status=0/SUCCESS) CGroup: /system.slice/xe-linux-distribution.service ├─937 /usr/sbin/xe-daemon -p /var/run/xe-daemon.pid ├─956 logger -t xe-daemon └─959 logger -t xenstore ```