メンテナンスウィンドウ
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.
-
SUSE Multi-Linux Manager Web UIで、に移動し、作成をクリックします。
-
In the
Calendar Namesection, type a name for your calendar. -
Either provide a URL to your
icalfile, or upload the file directly. -
Create Calendar(カレンダーの作成)をクリックして、カレンダーを保存します。
-
SUSE Multi-Linux Manager Web UIで、に移動して、作成をクリックします。
-
In the
Schedule Namesection, type a name for your schedule. -
OPTIONAL: If your
icalfile contains events that apply to more than one schedule, checkMulti. -
このスケジュールに割り当てるカレンダーを選択します。
-
スケジュールの作成をクリックして、スケジュールを保存します。
-
In the SUSE Multi-Linux Manager Web UI, navigate to , select the client to be assigned to a schedule, locate the
System Propertiespanel, and click Edit These Properties. または、に移動し、タブを使用して、システムセットマネージャからクライアントを割り当てることができます。 -
In the
Edit System Detailspage, locate theMaintenance Schedulefield, and select the name of the schedule to be assigned. -
プロパティの更新をクリックし、メンテナンススケジュールを割り当てます。
|
新しいメンテナンススケジュールをクライアントに割り当てると、クライアントですでにいくつかの制限されたアクションがスケジュールされている可能性があり、これらが新しいメンテナンススケジュールと競合する可能性があります。 この場合は、Web UIにエラーが表示され、スケジュールをクライアントに割り当てることができません。 この問題を解決するには、スケジュールを割り当てるときに、影響する動作のキャンセルオプションをオンにします。 これにより、新しいメンテナンススケジュールと競合する、以前にスケジュールされた動作がすべてキャンセルされます。 |
メンテナンスウィンドウを作成したら、メンテナンスウィンドウ中に実行される、パッケージの更新などの制限されたアクションをスケジュールできます。
-
SUSE Multi-Linux Manager Web UIで、に移動して、アップグレードするクライアントを選択し、タブに移動します。
-
リストからアップグレードするパッケージを選択し、パッケージのアップグレードをクリックします。
-
In the
Maintenance Windowfield, select which maintenance window the client should use to perform the upgrade. -
確認をクリックして、パッケージのアップグレードをスケジュールします。
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.
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.
-
SUSE Multi-Linux Manager Web UIで、に移動して、作成をクリックします。
-
In the
Schedule Namesection, type the name for your schedule. Ensure it matches thesummaryfield of the calendar. -
Check the
Multioption. -
このスケジュールに割り当てるカレンダーを選択します。
-
スケジュールの作成をクリックして、スケジュールを保存します。
-
次のスケジュールを作成するには、作成をクリックします。
-
In the
Schedule Namesection, type the name for your second schedule. Ensure it matches thesummaryfield of the second calendar. -
Check the
Multioption. -
スケジュールの作成をクリックして、スケジュールを保存します。
-
作成する必要がある各スケジュールごとに繰り返します。
2. 制限されたアクションと制限されないアクション
このセクションには、制限されたアクションと制限されないアクションのリスト全体が含まれています。
制限されたアクションにより、クライアントが大幅に変更され、クライアントの実行が停止する可能性があります。 制限されたアクションは、メンテナンスウィンドウ中にのみ実行できます。 制限されたアクションは次のとおりです。
-
パッケージ操作(たとえば、パッケージのインストール、更新、または削除)
-
パッチの更新
-
クライアントの再起動
-
トランザクションのロールバック
-
設定管理の変更タスク
-
highstateの適用
-
自動インストールと再インストール
-
リモートコマンド
-
製品移行
-
クラスター操作
|
に移動することで、いつでもリモートコマンドを直接実行できます。 これは、クライアントがメンテナンスウィンドウ中であるかどうかに関係なく適用されます。 リモートコマンドの詳細については、アクションを参照してください。 |
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.