Amazon RDS for Oracle 用更新準備ツールのデータベース アカウントの作成
Enforce サーバ ホスト コンピュータでコマンド プロンプトから更新準備ツールを実行できます。
- RDS マスタ ユーザとしてログオンします。以下の手順では、RDS マスタ ユーザはmasteruser、パスワードはpasswordを使用します。これらの値に、実装に固有の情報を入力します。
- 次のスクリプトを実行します。sqlplusmasteruser/password@endpoint_name.rds.amazonaws.com:1521/protect
- 以下のスクリプトを実行して、「protect」ユーザにDATA_PUMP_DIRへのフル アクセス権を付与します。SQL> GRANT read,write on DIRECTORY DATA_PUMP_DIR toprotect;
- 以下のスクリプトを実行して、Amazon RDS for Oracle にログオンします。sqlplusOracle RDS username/password@endpoint_name.rds.amazonaws.com:1521/RDS ServicenameOracle RDS username、password、およびRDS Servicenameを実装に固有の情報に置き換えます。
- 以下のスクリプトを実行し、更新準備ツールのデータベース アカウントを作成します。SQL> @oracle_create_user_aws_oracle_rds.sql
- プロンプトが表示されるので、以下の情報を入力します。
- Please enter the database username:に「protect」
- Please enter the database user password:に「protect」
- Please enter the database readiness username:に「protect_urt」
- Please enter the database readiness user password:に「protect」
- Please enter the database service name:に「endpoint_name.rds.amazonaws.com:1521/protect」