How to change the PDS that Rosetta uses?
- Article Type: General
- Product: Rosetta
Question
How to point Rosetta to different PDS or change the PDS port.
Answer:
We highly recommend that you contact Ex Libris support.
Changes that need to be done include:
A) PDS hostname is the same as Rosetta server - use rosettings. csh
Procedure:
1. Backup and update in the global.properties file all pds urls:
dps_conf
vi global.properties
2. To apply changes, you need to shut down Rosetta
dps_stop
3. Go to the bin folder, and run rosettings script
dps_bin
rosettings.csh
4. Start Rosetta
dps_start
B) PDS on a different hostname than Rosetta
Rosettings.csh cannot be used when updating the port or hostname of PDS on a different server than Rosetta.
Before applying the changes:
- shut down Rosetta (dps_stop)
- stop PDS apache (apachectl stop)
1. Update the global.properties on Rosetta server (dps_conf/global.properties)
- load.balancer.pds=PDShostname
- load.balancer.pds.host=PDShostname
- load.balancer.pds.port=80
- pds.port=80
- pds.server=PDShostname
- protocol.pds=http
2. Update following
○ $dps_dev/pds/program/PDSDefinitions on PDS server
- our ($server_httpd) = "http://PDShostname";
- our ($server_httpsd) = "https://PDShostname:443";
- our ($server_pds) = "http://PDShostname/pds";
○ pdsroot /apache/conf/httpd.conf (/exlibris/dps/d4_1/pds/apache/conf/httpd.conf on PDS server)
§ Listen 80
○ $dps_dev/profile/dps_start on Rosetta server
- setenv PDS_HOST PDShostname
- setenv HOST_LB_PDS PDShostname
- setenv PDS_LB_PORT 80
- setenv HTTPD_PORT 443
- setenv PDS_PORT 80
3. Update Rosetta DB
§ update HFrGeneralParameter set value = 'http://PDSHostname:81/R/TEST' where name = 'pds_registration_url';
§ update HFrGeneralParameter set value = 'http://PDSHostname/pds?' where name = 'pds_url';
§ update HFrGeneralParameter set value = 'http://PDShostname/pdsadmin/' where name = 'pds_admin';
Apply the changes:
start pds apache on PDS server
start Rosetta on Rosetta server (dps_start)
Additional Information
Please note that Rosetta can work with only one PDS.
Therefore only the server that is configured to be PDS link in the global.properties should start apache.
Rosetta can point to a different application's pds (e.g. Primo's) as long as there is a connection to the other server.
Category: Rosetta -
- Article last edited: 5/10/2018