On 4/12/2024 we will be changing some of our internal URL's to have better consistency between our products. This will require that the URL being used by the DataPump is updated in the application.properties file. This is a quick change, but is mandatory for the pump to continue functioning properly. Below are instructions on how to make this change (see Windows or Linux instructions depending on the machine where your DataPump is installed).
Make sure to not make these changes before 4/12 or else there won't be updated data in White Cup BI until after our upgrade is finished.
As a note, we're planning on beginning the upgrade process at 3pm PT on 4/12/2024. If this URL change is made before this time on 4/12, then there might be some errors in the DataPump log because it can't connect yet. These errors will not matter, the DataPump should correctly connect after we finish the deployment of the upgrade. This upgrade is expected to take no longer than 2 hours to complete.
Windows Instructions:
- Locate the location of the DataPump folder
- This folder is typically stored at the following location: C:\Program Files\DataPump
- It's possible that it's stored in a separate location, if this is the case, you can get the DataPump folder location by taking a look at the properties on the pump service. Here's how to do this:
- Open the "Services" application
- Find the "White Cup Data Pump" service within the list
- Right click and choose "Properties"
- The "Path to executable" info will show you the path of the service. The first part of that will be what we need. Here's an example on what this could look like:
- Once you have opened the DataPump folder in the file explorer, open the config folder
- This is where the application.properties file is stored. Open this file
- Towards the top there's a line that should say "pump.issuer-uri=https://login.tdfanywhere.com". We want to change this to "pump.issuer-uri=https://login.whitecupgo.com".
- Once the change is made, save the file.
- If you get an error about needing the text editor to be started as an admin, follow the below instructions:
- Open the application search
- Search for Notepad
- Right click and choose "Run as administrator". This is how this should look:
- Once Notepad is opened as an admin, click "File" in the top left, and select "Open..." from the drop down. Then follow steps 3 & 4 from above to reopen, modify, and save the file.
- If you get an error about needing the text editor to be started as an admin, follow the below instructions:
- Once the file has been modified and saved, we'll need to restart the service.
- To restart the service, open the "Services" appliction
- Find the "White Cup Data Pump" service within the list
- Right click the service and choose "Restart" from this list
- Once this is finished, then you are done with the URL change!
Linux Instructions:
- A quick note, anywhere you see double quotes surrounding a phrase or command, make sure NOT to include them while following the instructions.
- Locate the location of the DataPump directory
- This directory is typically stored at the following location: /opt/DataPump
- It's possible that it's stored in a separate location, if this is the case, you can get the DataPump directory location by taking a look at the properties on the pump service. Here's how to do this:
- Run the following command:
-
systemctl status DataPump
-
- You can find the location of the DataPump directory from the outputed information. Here's how this can look:
- Run the following command:
- Navigate into the DataPump directory using cd. Using the above example, the command would look like this:
-
cd /opt/DataPump
-
- Go into the config directory by doing cd config
- From here, you can modify the application.properties file. Enter the following command to get into the editor:
-
sudo vi application.properties
-
- Once you're in the editor, you should see a line towards the top that says: "pump.issuer-uri=https://login.tdfanywhere.com". Enter the 'i' key to enter Insert mode (this will allow editing)
- Use the arrow keys to navigate to the line mentioned in step 6
- Delete out the "tdfanywhere" portion of the line
- Type in "whitecupgo" where the "tdfanywhere" was removed
- The line should now say: "pump.issuer-uri=https://login.whitecupgo.com"
- Hit the ESC key to exit insert mode
- Hit the ":" key
- Enter "wq" to save the document
- Next we'll need to restart the DataPump service to get the change to take effect.
- Run the following command to stop the service:
-
sudo systemctl stop DataPump
-
- Run the following command to start the service:
-
sudo systemctl start DataPump
-
- Run the following command to check the status of the service:
-
sudo systemctl status DataPump
-
- The "Active" portion of the status output should say "active (running)". If this is the case, then you are finished with the URL change!
Comments
0 comments
Please sign in to leave a comment.