Upgrading from ArcGIS Server 9.2

 

 

Before uninstalling ArcGIS Server 9.2 Service Pack 3 or later, you can export the ArcGIS Server users to be reused with ArcGIS Server 9.3.

Importing and exporting Local GIS Server users on Linux/Solaris

 

ArcGIS Java Server for the Linux/Solaris platform includes a Sun One Directory Server which gets installed with the Server. ArcGIS Server uses this directory server to maintain a repository of users that can use and manage ArcGIS Server over a local connection. When ArcGIS Server is uninstalled, the directory server is wiped clean and all user information gets deleted.

 

If you want to maintain this user list across multiple ArcGIS Server instances (or ArcGIS Server releases), you need to export your users list from ArcGIS Server into a text file. The users listed in this text file can then be imported into any deployment of ArcGIS Server for the Java Platform that has these tools available.

 

You can also leverage this functionality to maintain a backup of Local GIS Server users or replicate user information across several instances of the Server.

 

The tools to import and export Local GIS Server users

 

ArcGIS Server Java 9.2 Service Pack 3 and later for Linux/Solaris includes a tool driven by a shell script called "import_export_users.sh" located at <ArcGIS Server Installation Directory>/arcgis/scripts. This tool enables you to export Local GIS Server users to a text file. These users in a text file can then be imported into another instance of ArcGIS Server for the Linux or Solaris platform using the same tool. This tool is only available for installs including the SOM feature.

 

ArcGIS Server Java 9.2 Service Pack 3 and later includes additional utility tools that help you export users from a Windows machine into a text file (by running these additional tools on a Windows machine). The users in this text file can then be imported into ArcGIS Server for Linux or Solaris using the above mentioned "import_export_users.sh" script. The additional utility tools include a GUI-based and a console-based application to export your Windows users and is located at <ArcGIS Server Installation Directory>/arcgis/servercore/agsidsvr/import_export_users/windows

 

How to import and export Local GIS Server users on Linux/Solaris

 

You can run the script "<ArcGIS Server Installation Directory>/arcgis/scripts/import_export_users.sh". If you run the script without any input parameters, it will print the tool usage.

 

 

 

How to export Windows users and import them into ArcGIS Server for Linux/Solaris

 

ArcGIS Server 9.2 Service Pack 3 and later for Linux/Solaris includes additional tools that can be used to export Windows users. These tools for Windows are installed under <ArcGIS Server Installation Directory>/arcgis/servercore/agsidsvr/import_export_users/windows. Though these tools are included in the Linux/Solaris installs of ArcGIS Server 9.3, they are to be run on a Windows machine.

 

 

The log files

 

The log files are created during the import/export operation. The log maintains the users that were successfully imported or exported or any errors that occurred during these operations.

 

By default, the logs files are maintained at <ArcGIS Server Installation directory>/arcgis/server/user/logs. Each log file name includes a timestamp that indicates when the log file was created.

 

You can choose to put the log files into a different location by using the '-o' option in the 'import_export_users.sh' script.

You can turn off logging by using the '-n' option.

 

Log file example:-