Closed jsjiang closed 9 months ago
IAS ticket for RDS-Stg instance name change Assessment ticket: #508
There is no need to update puppet. What we need to do is update the SSM parameter.
From Ashley:
The RDS hostname (username, password ect.) comes from SSM. You can update the parameter yourself from the "aws ops box" uc3-aws2-ops as the uc3aws
user.
To get the /uc3/ezid/ui/stg/database_host
parameter:
agould@uc3-aws2-ops:~> aws ssm get-parameter --name /uc3/ezid/ui/stg/database_host
{
"Parameter": {
"Name": "/uc3/ezid/ui/stg/database_host",
"Type": "String",
"Value": "rds-ias-ezid-search3-stg.cmcguhglinoa.us-west-2.rds.amazonaws.com",
"Version": 1,
"LastModifiedDate": "2022-05-21T09:59:15.189000-07:00",
"ARN": "arn:aws:ssm:us-west-2:451826914157:parameter/uc3/ezid/ui/stg/database_host",
"DataType": "text"
}
}
To update the /uc3/ezid/ui/stg/database_host
parameter:
aws ssm put-parameter --type String --name /uc3/ezid/ui/stg/database_host --value rds-uc3-ezid1-stg.cmcguhglinoa.us-west-2.rds.amazonaws.com --overwrite
Run the uc3_pupapply.sh
command to deploy the change
~/install/ezid directory
, for example 3.2.0
uc3_pupapply.sh
command to deploy the newest version
verify_ezid_after_patching.py
command.
Update puppet deployment script for RDS-Stg instance name change: