Closed jsjiang closed 4 months ago
I/ve requested new alias and ssl certs for names
see cdlsys issues:
Updated SSM parameter for EZID-STG:
-bash-4.2$ aws ssm get-parameter --name /uc3/ezid/ui/stg/binder_url
{
"Parameter": {
"Name": "/uc3/ezid/ui/stg/binder_url",
"Type": "String",
"Value": "https://n2t-stg.n2t.net/a/ezid/b",
"Version": 1,
"LastModifiedDate": "2022-05-21T10:12:38.440000-07:00",
-bash-4.2$ aws ssm put-parameter --name /uc3/ezid/ui/stg/binder_url --value "https://legacy-n2t-stg.n2t.net/a/ezid/b" --type String --overwrite
{
"Version": 2,
"Tier": "Standard"
}
-bash-4.2$ aws ssm get-parameter --name /uc3/ezid/ui/stg/binder_url
{
"Parameter": {
"Name": "/uc3/ezid/ui/stg/binder_url",
"Type": "String",
"Value": "https://legacy-n2t-stg.n2t.net/a/ezid/b",
"Version": 2,
"LastModifiedDate": "2024-03-07T13:34:08.170000-08:00",
"ARN": "arn:aws:ssm:us-west-2:451826914157:parameter/uc3/ezid/ui/stg/binder_url",
"DataType": "text"
}
}
Redeploy application after parameter change
Checked transaction on n2t-stg
/apps/n2t/sv/cv2/apache2/logs
ids-n2t2-stg:logs n2t<> $ [svu cv2:cur] grep fk8tt4p6v transaction_log
PRD:
binder_url
(no /uc3/ezid/ui/prd/binder_url)-bash-4.2$ aws ssm get-parameter --name /uc3/ezid/ui/default/binder_url
{
"Parameter": {
"Name": "/uc3/ezid/ui/default/binder_url",
"Type": "String",
"Value": "https://n2t.net/a/ezid/b",
"Version": 2,
"LastModifiedDate": "2022-05-21T09:23:32.451000-07:00",
"ARN": "arn:aws:ssm:us-west-2:451826914157:parameter/uc3/ezid/ui/default/binder_url",
"DataType": "text"
}
}
-bash-4.2$ aws ssm put-parameter --name /uc3/ezid/ui/default/binder_url --value "https://legacy-n2t.n2t.net/a/ezid/b" --type String --overwrite
{
"Version": 4,
"Tier": "Standard"
}
-bash-4.2$ aws ssm get-parameter --name /uc3/ezid/ui/default/binder_url
{
"Parameter": {
"Name": "/uc3/ezid/ui/default/binder_url",
"Type": "String",
"Value": "https://legacy-n2t.n2t.net/a/ezid/b",
"Version": 4,
"LastModifiedDate": "2024-03-07T14:32:09.277000-08:00",
"ARN": "arn:aws:ssm:us-west-2:451826914157:parameter/uc3/ezid/ui/default/binder_url",
"DataType": "text"
}
}
/apps/n2t/sv/cv2/apache2/logs
ids-n2t2-stg:logs n2t<> $ [svu cv2:cur] grep fk4tq7jp6s transaction_log
Domain change has completed and tested for both stage and prd.
As part of the N2T migration roll back plan, we will continue sending ARK's metadata to current N2T servers. IAS will create alias for current N2T instances. Update EZID to use N2T alias for the binder:
PRD: BINDER_URL = 'https://n2t.net/a/ezid/b'
Stg: BINDER_URL = 'https://n2t-stg.n2t.net/a/ezid/b'
Also, check to see if we need to update
RESOLVER_ARK
On Prd: RESOLVER_ARK = 'https://n2t.net/'
On Stg: RESOLVER_ARK = 'https://n2t-stg.n2t.net'
Checked with Dave on
RESOLVER_ARK
:So we only need to update
BINDER_URL
.