AGRIS Customer Documentation
Agent - Remove mapped datasets
When you encounter a dataset that is no longer needed to be displayed for end users the steps below allow you to remove the agent.
(Technical level = Medium)
(Resource requirements = AGRIS server access)
Instructions
METHOD 1:
Log into the server where the AGRIS Agent is running.
Stop the agent service PSQL or MSSQL
Right-click and select properties to identify where the agent is installed.
Navigate to the folder listed in step 3.a. make changes to the dbconnections.config in BOTH the Server and Smart Client folder.
Locate the DBConnections.Config in the Server folder and create a backup copy.
Open the official DBConnections.Config with a text editor to remove the dataset that is no longer needed !!!! NOTE - You must remove all instances listed below for that dataset!!!!!
Delete this dbconnection
change this, it should be what is in 3
Save and exit and repeat the process in the smart client folder.
Navigate to the Service and restart the service again.
METHOD 2:
This method could crash the agent permanently if there is mistake in dbconnection during editing it
Log into the agent health (production or CTD) where the AGRIS Agent is running.
Without filtering via search, find the agent in the list which needs to be updated
Verify agent is online
Refresh the Agent
Scroll down till you find file named ‘dbconnection.config’
Right click and open inspect, go to network tab.
Hit download button, and select corresponding call on network.
Copy text from response tab and save it in text editor on desktop as ‘dbconnection.config’
Open the DBConnections.Config with a text editor to remove the dataset that is no longer needed !!!! NOTE - You must remove all instances listed below for that dataset!!!!!
Delete this dbconnection
change this, it should be what is in 3
Save the file
Open Developer Panel
Open Upload Files, and click choose Files (select updated dbconfiguration.config file from desktop). Finally click upload file button.
Now restart the service, and check online status and wait for it to come back online.
Note: step 6,7 and 8 will be simplified once AH-289 is completed
Once you restart the service the changes will be seen in all applications.
Related articles
3820 Mansell Road, Suite 350 ✦ Alpharetta, GA 30022 ✦ www.GreenstoneSystems.com
© 2011 - 2024 Cultura Technologies LLC. All Rights Reserved Worldwide. Products and company names mentioned herein may be trademarks or registered trademarks of their respective owners.