6.3. CDS への設定の再インストールおよび再適用
CDS の設定を再インストールして再適用する必要がある場合に、状況が発生する可能性があります。Red Hat Update Infrastructure Management Tool では、このタスクを簡単に実行できます。
前提条件
- CDS が少なくとも 1 つインストールされている。
Update instance(s) after reinstalling? (y/n):
という質問にはい (y) と答えると、インスタンスの再インストール後に dnf update
がインスタンスで実行されます。これには、インスタンスの再起動が必要になる場合があります。この質問にいいえ (n) と答えると、dnf update
は実行されません。
手順
Red Hat Update Infrastructure Management Tool のホーム画面に移動します。
[root@rhua ~]# rhui-manager
-
c
を押して、manage content delivery servers (CDS) を選択します。 -
Content Delivery Server (CDS) Management 画面で、
r
を押して、reinstall and reapply configuration to an existing CDS instance を選択します。Red Hat Update Infrastructure Management Tool は、すべての再インストールおよび再設定タスクを自動的に実行します。 再インストールする CDS を選択します。
1 - Hostname: <cds1.example.com> SSH Username: <cloud-user> SSH Private Key: /<cloud-user>/.ssh/id_rsa_rhua
-
Enter a value or
b
to abort: 1: で 1 を入力します。 Update instance (s) after reinstall? (y/n) で y を入力します。
Checking that the RHUA services are reachable from the instance... Done. Installing and configuring the CDS... PLAY [Registering a CDS instance] ********************************************** ... TASK [Update CDS instance] ***************************************************** ok: [cds1.example.com] PLAY RECAP ********************************************************************* cloud-user@cds1.example.com : ok=24 changed=10 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Done.
検証
コードの出力を表示して、CDS が正常に再インストールおよび再設定されたことを確認します。
Ensuring that instance ports are reachable ... Done.