There are numerous reasons one may want to change the location of the product directory of Shareplex while retaining the existing replication, for example, need to move the proddir to a new location on the same server due to disk space issues (though proddir does not take too much space), standardization of directory structures (naming convention), etc.
This solution describes how to move proddir of Shareplex to a new location on the same server.
NOTE: This solution does not cover the server move to a different server which is an entirely different exercise which involves not only the proddir move but also the vardir move along with the change in IP address as applicable.
Moving of product directory of Shareplex is not as simple as simply tarring up the existing directory and moving it to a new location. The reason being the lib directory within the product directory of Shareplex also has links to Oracle libraries which can be removed when moving the directory around. The following procedure can ensure that the move is done seamlessly so as not to impact the existing replication:
1.Shutdown Shareplex.
2.Move the entire prod directory manually using appropriate Unix command (tar and untar, etc).
3.Run the utility sp_relink which is located in proddir/bin. The sp_relink will make the links under /var/adm/.splex/<Shareplex_version>/<Oracle_version> point to the new proddir. When running sp_relink, make sure that the environment variable LD_LIBRARY_PATH points to 32 bit Oracle library.
4.Start Shareplex.
This solution covers Shareplex 5.3 or below running on Unix platform.
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center