Upgrading file system approach
Pages 202
- Home
- 2009 Esri Federal UC
- 2009 Esri International UC
- 2010 Esri Federal UC
- 2010 Esri International UC
- 2011 Esri Federal UC
- 2012 Esri Federal UC
- 2013 Esri Federal GIS Conference
- 2013 Esri International User Conference
- 2015 SDI Special Interest Group
- Add a Custom Profile
- Add an OpenSearch endpoint for Federated Search
- Add Another Tab to the Geoportal Interface
- Add Custom Link to a Search Result
- Add Custom Search Criteria
- Add the Geoportal Search to a List of Search Providers
- Add v1.1.1 FGDC editor to a previous Geoportal release
- AGP TO AGP Harvesting with the Geoportal
- AGS TO AGP Harvesting with the Geoportal
- All gpt.xml file settings
- An Introduction to vi
- Apache Tomcat geoportal logging
- Being a Good Robot
- Best Practice for Edits to JSP files
- Biological or Remote Sensing FGDC xsds
- Browse Tree
- Cart Processor
- Catalog Service
- Clear the Tomcat Work Folder
- Collections
- Common problems and solutions
- Communities and live examples
- Components
- Configure a Directory Server for the Geoportal
- Configure geoportal User and Schema in the PostgreSQL Database
- Configure Previewable Filetypes
- Configure Searching of YouTube
- Configure the gpt.xml File
- Configure Widgets
- Connecting to a User Directory
- Create a user account
- Create Relationships between Resources
- Customizations
- Customize DCAT output
- Customize Metadata Validation
- Database problems
- Database Tables
- DataDownload Tab
- Deploy and Configure the Geoportal Web Application in Tomcat
- Deploy and Configure the Servlet Web Application
- Deploy the Geoportal Web Application
- Details of Lucene Indexing in the Geoportal
- Development topics
- Discovering Resources
- Eclipse Project from Compiled WAR
- Eclipse Project from Source Code
- Enable Search Using an Ontology Service
- Error Messages in the Geoportal Web Application
- Esri Geoportal Server LiveDVD
- Extending the Web Harvester
- Federated Search in Portal for ArcGIS
- Feedback
- FGDC Biological Profile and Remote Sensing Extension
- FGDC Service Checker Integration
- Geoportal Clients for ArcGIS
- Geoportal CSW Clients
- Geoportal Facets using Apache Solr
- Geoportal genie
- Geoportal Project from Compiled WAR
- Geoportal Publish Client
- Geoportal Server 1.2.5 What's New
- Geoportal Server 1.2.6 What's New
- Geoportal Server 1.2.7 What's New
- Geoportal server as a broker
- Geoportal Server Downloads
- Geoportal Server v 1.0 What's New
- Geoportal Server v 1.1 What's New
- Geoportal Server v 1.1.1 What's New
- Geoportal Server v 1.2 What's New
- Geoportal Server v 1.2.2 What's New
- Geoportal Server v 1.2.4 What's New
- Geoportal SPARQL Sample
- Geoportal User Interface Components
- Geoportal Web Application File Organization
- Geoportal XML Editor
- Get Assistance with an Implementation
- GXE Concepts
- GXE Crash Course
- GXE Structure
- GXE Workflow
- High Availability and Large Number of Records
- How to Browse for Resources
- How to Create and Manage My Profile
- How to find all documents of a particular metadata standard
- How to Leave a Resource Review
- How to Login and Manage my Password
- How to Manage and Edit Resources
- How to Publish Resources
- How to Restrict Access to Resources
- How to Search for Resources
- How to Search with an Ontology Service
- How to Set Up an Esri Geoportal Server on Linux
- How to Use Search Page Results
- How to Use the Data Download Feature
- How to View Resource Relationships
- IDE Topics
- Identity Components LDAP and Single Sign On
- Index All Metadata Content
- Indexing and Searching the Time Period of the Content
- Install Apache Tomcat 6
- Install Desktop Tools
- Install Esri Geoportal Server
- Install PostgreSQL 9.1.2
- Install the JDBC .jar Files
- Installation
- Installation Version 1.0
- Installation Version 1.1
- Installation Version 1.2
- Installation Version 1.2.2
- Installation Version 1.2.4
- Installation Version 1.2.5
- Installation Version 1.2.6
- Installation Version 1.2.7
- Installation Version 1.2.8
- Integrate with a Content Management System
- Integrate with the con terra Security Solution
- Localization
- Log In to the Geoportal
- Logging
- Look and Feel of the User Interface
- Main Page
- Map LDAP Attributes on the Registration Page
- Map Viewer
- Online form editing for all publication methods
- Open source acknowledgements
- Oracle WebLogic geoportal logging
- Orientation to the Create Metadata Page
- Perform Preinstallation Computer Setup
- Portal for ArcGIS Integration
- Post Deployment Actions
- Preinstallation
- Preinstallation 0.9
- Preinstallation 1.0 and 1.1.x
- Preinstallation 1.2
- Preinstallation 1.2.2
- Preinstallation 1.2.4
- Preinstallation 1.2.5
- Preinstallation 1.2.6
- Preinstallation 1.2.7
- Preinstallation 1.2.8
- Preview Function
- Publication Components
- Ratings and Comments for Search Results
- Register ArcGIS for Server with the Geoportal
- Release notes
- REST API Syntax
- Sample FGDC metadata.xml
- Scheduled tasks
- Search Components
- Search Map
- Search Widget for Flex
- Search Widget for HTML
- Search Widget for Silverlight
- Security Concepts
- Set Up Systemwide Environment Variables
- Set up the Geoportal Database
- Share Link
- Single Sign On
- Smoketest the Geoportal
- Standards Support
- Supported CSW Profiles for Synchronization
- Theme Library
- Troubleshooting
- Troubleshooting Tips
- Two geoportals on the same server
- Upgrade 1.x to 1.2 database
- Upgrading file system approach
- Upgrading Read This Overview
- Upgrading SVN approach
- Url filter customization
- Use an XSLT to Render the Details Page
- Use Ant to build Geoportal
- User Functions and Roles
- User Management Interface
- Using a geoportal
- Using Lucene Search Text Queries
- Version 0.9
- Version 1.0
- Version 1.1
- Version 1.1.1
- Version 1.2
- Version 1.2.2
- Version 1.2.4
- Version 1.2.5
- Version 1.2.6
- Version 1.2.7
- Version 1.2.8
- What is a geoportal and the geoportal server
- What is the esri geoportal server
- What's New
- wiki template
- WMC Client
- Show 187 more pages…
Clone this wiki locally
Introduction
The purpose of this document is to outline one method of upgrading a geoportal server deployment with the goal of retaining all user configurations and modifications. Using SVN is preferred - see Upgrading - SVN approach. However, many people may not have started with SVN for version control. For those people, the following method should work using a more manual method for documenting user changes made to a geoportal. This is a necessary step so that you can prepare for incorporating user customizations into a new Geoportal upgrade. This document is divided into two main sections:
- Step A: Separating and Archiving User Changes from the Base Geoportal
- Step B: Merging User Changes from a Previous Configuration into a New Geoportal Release
Step A: Separating and Archiving User Changes from the Base Geoportal
Recommended preparation: Copy the geoportal.xml file from the /conf/Catalina/localhost folder to /webapps/geoportal/META-INF folder. Rename the geoportal.xml file to context.xml. (Why do this? First, it saves your JDBC connection information. Secondly, if you repackage your geoportal installation as a war file and include a context.xml file in the META-INF folder, the geoportal.xml file will automatically get created from the context.xml file when you redeploy the .war file)
Procedure to Separate the User Changes
Step 1. Create a directory to save the user changed files
- (Why? You need a place to store the user changes)
- example: C:\geoportalServer\myGeoportalConfig
- (Why? We want to identify a date that separates the base geoportal installation files from the files that have been added or modified by the user)
- Example: date to note is 5/18/2011

- example:

- will typically be *.*
- <destination></destination> is the directory path location you created in Step 1
- /D: is a directive to specify copying files changed on or after the input date
- <mm-dd-yyyy></mm-dd-yyyy> is the input date cutoff between original geoportal files and user modified/added files. Add one (1) day to the date identified in Step 2
- /S is a directive to copy subdirectories (except empty ones)
- Example: xcopy *.* <destination></destination> /D:05-19-2011 /S
- Example:

End Result:
You should have an archive of all of your deployed geoportal user configuration and user modifications.
Step B: Merging User Changes from a Previous Configuration into a New Geoportal Release
Purpose: Upgrade an existing geoportal deployment to a new geoportal server release.
Prerequisite: Successfully completing the steps in 'Separating and Archiving User Changes from the Base Geoportal' specified above.
Procedure:
Step 1. Download a new Geoportal Server release from https://sourceforge.net/projects/geoportal/files/ to a working directory
- Example: c:\ArcGIS\geoportalServer\newRelease
- Example: C:\geoportalServer\newRelease\geoportal-1.1\Web Applications\Geoportal\geoportal.war
- Example:

- Example:

- example: C:\geoportalServer\myGeoportalConfig
-
- Copy the file to the newRelease geoportal folder (created from unzipping the geoportal.war file), if the file does not exist there already
- Open the old user file from myGeoportalConfig and the new file from the newRelease and Merge changes from old to new on a line by line basis, if the file exists in both locations
- Sidebar Note: Notepad++ can be used to compare and merge changes between two files:
- Install Notepad++ (http://notepad-plus-plus.org/download).
- Open both old and new files in Notepad++.
- Use the Compare Plugin to locate modified or new lines.
- Copy any desired changes from the old myGeoportalConfig to the new newRelease version of the file.
- Save changes in the newRelease version of the file.
- example: all files inside C:\geoportalServer\newRelease\geoportal-1.1\Web Applications\Geoportal\geoportal

- Example:

Step 10. Deploy this geoportal.war file to Tomcat (after first undeploying and deleting the old geoportal deployment folders and war file.
End Result:
You should have a geoportal webapp deployed that contains all of your user-configured settings and modifications from the former installation while the underlying geoportal software has been upgraded to the newer release.
