本製品で使用する設定ファイルについて説明します。
必須に○がついている項目は、必ず設定ファイルに記載してください。
設定項目 | 意味 | 必須 | デフォルト値 |
---|---|---|---|
admin_username | OpenStackのadminユーザーのユーザー名 | ○ | なし |
admin_password | OpenStackのadminユーザーのパスワード | ○ | なし |
admin_project | OpenStackのadminユーザーが属するプロジェクト | ○ | なし |
admin_domain | OpenStackのadminユーザーが属するドメイン | ○ | なし |
auth_uri | Keystone v3のエンドポイント | ○ | なし |
sruser_password | SRユーザーのパスワード | ○ | なし |
main_controller | メイン作業用コントロールノードのホスト名(ドメイン名なし) | ○ | なし |
snapshot_check_interval | rcx_srosp_backup instanceコマンドのCinderスナップショット作成の完了確認間隔(秒) | 5 | |
snapshot_check_max_retries | rcx_srosp_backup instanceコマンドのCinderスナップショット作成の最大完了確認回数 | 60 | |
backup_check_interval | rcx_srosp_backup instanceおよびrcx_srosp_backup volumeコマンドのCinderバックアップ作成の完了確認間隔(秒) | 5 | |
backup_check_max_retries | rcx_srosp_backup instanceおよびrcx_srosp_backup volumeコマンドのCinderバックアップ作成の最大完了確認回数 | 720 | |
backup_rollback_retry_interval | rcx_srosp_backup instanceおよびrcx_srosp_backup volumeコマンドでエラーが発生した場合のロールバック処理の完了確認間隔(秒) | 5 | |
backup_rollback_max_retries | rcx_srosp_backup instanceおよびrcx_srosp_backup volumeコマンドでエラーが発生した場合のロールバック処理の最大完了確認回数 | 12 | |
delete_check_interval | rcx_srosp_stash instanceコマンドのリソース退避の完了確認間隔(秒) | 10 | |
delete_check_max_retries | rcx_srosp_stash instanceコマンドのリソース退避の最大完了確認回数 | 60 | |
keystone_service_retry_interval | rcx_srosp_restore systemコマンドのkeystoneサービス起動後の起動完了の確認間隔(秒) | 5 | |
keystone_service_max_retries | rcx_srosp_restore systemコマンドのkeystoneサービス起動後の起動完了の最大確認回数 | 12 | |
volume_restore_check_interval | rcx_srosp_restore volumeコマンドのCinderボリュームリストアの完了確認間隔(秒) | 5 | |
volume_restore_check_max_retries | rcx_srosp_restore volumeコマンドのCinderボリュームリストアの最大完了確認回数 | 720 |
注意
main_controllerには、3台のコントロールノードのうち1台だけを指定してください。
例
[DEFAULT] # OpenStack admin account auth_uri = http://keystone:5000/v3/ admin_username = admin admin_password = password admin_project = admin admin_domain = Default # SRUser password sruser_password = password # main controller hostname main_controller = controller-0
本番サイト、災対サイトのホスト名の対応を記載してください。
1行ごとに半角スペースで区切り、以下のように記載してください。
<本番サイトのホスト名> <災対サイトのホスト名>
注意
記載するホスト名は下記コマンドで表示されるホスト名を記載してください。
openstack compute service list
例
site1-controller-0.localdomain site2-controller-0.localdomain site1-controller-1.localdomain site2-controller-1.localdomain site1-controller-2.localdomain site2-controller-2.localdomain site1-compute-0.localdomain site2-compute-0.localdomain site1-compute-1.localdomain site2-compute-1.localdomain site1-compute-2.localdomain site2-compute-2.localdomain
参考
切替え後にコンピュートノードを縮退運用したい場合は、本番サイト側のコンピュートノードに対して、災対サイト側のコンピュートノードを対応付けて記載してください。
例
site1-compute-0.localdomain site2-compute-0.localdomain site1-compute-1.localdomain site2-compute-0.localdomain