メンテナンスウィンドウ

SUSE Multi-Linux Managerのメンテナンスウィンドウ機能を使用すると、スケジュールされたメンテナンスウィンドウ期間中にアクションを実行するようにスケジュールできます。 メンテナンスウィンドウスケジュールを作成してクライアントに適用すると、指定した期間外に一部のアクションを実行できなくなります。

メンテナンスウィンドウは、システムロックとは異なる方法で動作します。 システムロックは必要に応じてオンまたはオフに切り替えられますが、メンテナンスウィンドウではアクションを許可する期間が定義されます。 また、許可されたアクションと制限されたアクションが異なります。 システムロックの詳細については、システムのロックを参照してください。

Maintenance windows require both a calendar, and a schedule. The calendar defines the date and time of your maintenance window events, including recurring events, and must be in ical format. The schedule uses the events defined in the calendar to create the maintenance windows. You must create an ical file for upload, or link to an ical file to create the calendar, before you can create the schedule.

スケジュールを作成したら、SUSE Multi-Linux Managerサーバに登録されているクライアントに割り当てることができます。 メンテナンススケジュールが割り当てられているクライアントは、メンテナンスウィンドウ以外に制限されたアクションを実行できません。

制限されたアクションによってクライアントが大幅に変更され、クライアントの実行を停止させる可能性があります。 制限されたアクションの例は次のとおりです。

  • パッケージのインストール

  • クライアントのアップグレード

  • 製品の移行

  • highstateアプリケーション

制限されたアクションは、安全であるとみなされ、クライアントに問題が発生する可能性が低いマイナーアクションです。 制限されたアクションの例は次のとおりです。

  • パッケージプロファイルの更新

  • ハードウェアの更新

  • ソフトウェアチャンネルのサブスクライブ

Before you begin, you must create an ical file for upload, or link to an ical file to create the calendar. You can create ical files in your preferred calendaring tool, such as Microsoft Outlook, Google Calendar, or KOrganizer.

プロシージャ: 新しいメンテナンスカレンダーのアップロード
  1. SUSE Multi-Linux Manager Web UIで、スケジュール  メンテナンスウィンドウ  カレンダーに移動し、作成をクリックします。

  2. In the Calendar Name section, type a name for your calendar.

  3. Either provide a URL to your ical file, or upload the file directly.

  4. Create Calendar(カレンダーの作成)をクリックして、カレンダーを保存します。

プロシージャ: 新しいスケジュールの作成
  1. SUSE Multi-Linux Manager Web UIで、スケジュール  メンテナンスウィンドウ  スケジュールに移動して、作成をクリックします。

  2. In the Schedule Name section, type a name for your schedule.

  3. OPTIONAL: If your ical file contains events that apply to more than one schedule, check Multi.

  4. このスケジュールに割り当てるカレンダーを選択します。

  5. スケジュールの作成をクリックして、スケジュールを保存します。

プロシージャ: スケジュールをクライアントに割り当てる
  1. In the SUSE Multi-Linux Manager Web UI, navigate to Systems  Systems List, select the client to be assigned to a schedule, locate the System Properties panel, and click Edit These Properties. または、システム  システムセットマネージャに移動し、その他  メンテナンスウィンドウタブを使用して、システムセットマネージャからクライアントを割り当てることができます。

  2. In the Edit System Details page, locate the Maintenance Schedule field, and select the name of the schedule to be assigned.

  3. プロパティの更新をクリックし、メンテナンススケジュールを割り当てます。

新しいメンテナンススケジュールをクライアントに割り当てると、クライアントですでにいくつかの制限されたアクションがスケジュールされている可能性があり、これらが新しいメンテナンススケジュールと競合する可能性があります。 この場合は、Web UIにエラーが表示され、スケジュールをクライアントに割り当てることができません。 この問題を解決するには、スケジュールを割り当てるときに、影響する動作のキャンセルオプションをオンにします。 これにより、新しいメンテナンススケジュールと競合する、以前にスケジュールされた動作がすべてキャンセルされます。

メンテナンスウィンドウを作成したら、メンテナンスウィンドウ中に実行される、パッケージの更新などの制限されたアクションをスケジュールできます。

プロシージャ: パッケージのアップグレードのスケジュール
  1. SUSE Multi-Linux Manager Web UIで、システム  システム一覧に移動して、アップグレードするクライアントを選択し、ソフトウェア  パッケージ  アップグレードタブに移動します。

  2. リストからアップグレードするパッケージを選択し、パッケージのアップグレードをクリックします。

  3. In the Maintenance Window field, select which maintenance window the client should use to perform the upgrade.

  4. 確認をクリックして、パッケージのアップグレードをスケジュールします。

1. メンテナンススケジュールタイプ

When you create a calendar, it contains a number of events, which can be either one-time events, or recurring events. Each event contains a summary field. If you want to create multiple maintenance schedules for one calendar, you can specify events for each using the summary field.

For example, you might like to create a schedule for production servers, and a different schedule for testing servers. In this case, you would specify SUMMARY: Production Servers on events for the production servers, and SUMMARY: Testing Servers on events for the testing servers.

maint windows multi

There are two types of schedule: single, or multi. If your calendar contains events that apply to more than one schedule, then you must select multi, and ensure you name the schedule according to the summary field you used in the calendar file.

プロシージャ: マルチスケジュールの作成
  1. SUSE Multi-Linux Manager Web UIで、スケジュール  メンテナンスウィンドウ  スケジュールに移動して、作成をクリックします。

  2. In the Schedule Name section, type the name for your schedule. Ensure it matches the summary field of the calendar.

  3. Check the Multi option.

  4. このスケジュールに割り当てるカレンダーを選択します。

  5. スケジュールの作成をクリックして、スケジュールを保存します。

  6. 次のスケジュールを作成するには、作成をクリックします。

  7. In the Schedule Name section, type the name for your second schedule. Ensure it matches the summary field of the second calendar.

  8. Check the Multi option.

  9. スケジュールの作成をクリックして、スケジュールを保存します。

  10. 作成する必要がある各スケジュールごとに繰り返します。

2. 制限されたアクションと制限されないアクション

このセクションには、制限されたアクションと制限されないアクションのリスト全体が含まれています。

制限されたアクションにより、クライアントが大幅に変更され、クライアントの実行が停止する可能性があります。 制限されたアクションは、メンテナンスウィンドウ中にのみ実行できます。 制限されたアクションは次のとおりです。

  • パッケージ操作(たとえば、パッケージのインストール、更新、または削除)

  • パッチの更新

  • クライアントの再起動

  • トランザクションのロールバック

  • 設定管理の変更タスク

  • highstateの適用

  • 自動インストールと再インストール

  • リモートコマンド

  • 製品移行

  • クラスター操作

Salt  リモートコマンドに移動することで、いつでもリモートコマンドを直接実行できます。 これは、クライアントがメンテナンスウィンドウ中であるかどうかに関係なく適用されます。 リモートコマンドの詳細については、アクションを参照してください。

Unrestricted actions are minor actions that are considered safe and are unlikely to cause problems on the client. If an action is not restricted it is, by definition, unrestricted, and can be run at any time.