2.4. SGD Gateway の削除

SGD Gateway を削除するには、SGD Gateway ホストにインストールされているソフトウェアを削除します。

2.4.1. SGD Gateway を削除する方法

  1. SGD Gateway ホストにスーパーユーザー (root) としてログインします。

  2. SGD アレイの SGD Client のルーティング構成を変更します。

    1. プライマリ SGD サーバーにスーパーユーザー (root) としてログインします。

    2. SGD アレイの --security-gateway 属性を編集します。

      単一の SGD Gateway を使用した基本的な配備の場合は、次のコマンドを実行します。

      # tarantella config edit --security-gateway ""
      注記

      複数の SGD Gateway と外部ロードバランサを使用した負荷分散された配備の場合、--security gateway 属性を編集する必要はありません。

  3. SGD Gateway をアンインストールします。

    次のコマンドを実行します。

    # /opt/SUNWsgdg/bin/gateway uninstall

    SGD Gateway を停止するかどうかの確認を求める警告メッセージが表示されます。

    注意

    SGD Gateway の削除方法としてサポートされているのは、gateway uninstall コマンドだけです。pkgrm コマンドや rpm コマンドを使用して SGD Gateway を直接削除しないでください。

  4. (オプション) SGD アレイに登録されている SGD Gateway のリストから、この SGD Gateway を削除します。

    1. SGD アレイに登録されている SGD Gateway を表示します。

      # tarantella gateway list
      Installed gateway: gateway1.example.com
      Issuer: CN=gateway1.example.com, OU=Marketing, O=Example, L=Boston, 
      ST=Massachusetts, C=US
      Serial Number: 1208509056
      Subject: CN=gateway2.example.com, OU=Marketing, O=Example, L=Boston, 
      ST=Massachusetts, C=US
      Valid from Fri Sep 26 09:57:36 GMT 2008 to Thu Dec 25 09:57:36 GMT 2008
    2. SGD アレイに登録されている SGD Gateway のリストから、この SGD Gateway を削除します。

      # tarantella gateway remove --name gateway1.example.com