JCAPSMentor - Java CAPS Unleashed - Basic to Expert Discussions

JCAPSMentor - Basic to Expert Discussions Jcaps, SOA, SUN, Netbeans, Enterprise, Sun System Application Server, Java, J2EE, EAI, JBI, Composite Application Platform Suite, EDI, SeeBeyond, HL7, Singapore

 
  FOLLOW US!
  JCAPSMentor

Visit us at Facebook



 

  Visitors LIVE! Stats
 
  Covering the World!
 
How to Replicate the JCAPS Repository
1.Do the following on the source server:

a.Start the repository.
b.Change to the directory where the replicate utility (replicate.bat or replicate.sh) is located (JavaCAPS_Home\repository\repository\util).
c.Create a backup of the source repository by running one of the following commands, replacing the parameters with actual values:
•For Windows: replicate.bat export username password RepositoryBackupFileName
•For UNIX: replicate.sh export username password RepositoryBackupFileName

2.Do the following on the target server:
a.Ensure that the Java CAPS Repository CD1 (or a copy of its contents) is available on the target server.
The location of the installation files is a required parameter for the replicate utility.
b.Copy the following files from the source server to the target server:
•JavaCAPS_Homerepository\repository\util\replicate.bat (on Windows) or JavaCAPS_Homerepository/repository/util/replicate.sh (on UNIX)
•JavaCAPS_Homerepository\repository\util\repositoryutil\com.stc.repositoryutil.jar
•The backup file created above from running the replicate utility on the source machine. If you do not want to copy the files from the source machine to the target machine, you can create a shared network directory on the target machine that points to the respective directories on the source machine.
c.Navigate to JavaCAPS_Home\install\docs and open either unix-install.properties or win-install.properties, depending on your operating system.
d.Modify the configuration settings for your installation.
•CHOSEN_INSTALL_FEATURE must be set to Repository.
•The following properties must be configured: USER_JDK_HOME, USER_INSTALL_DIR, REPOSITORY_NAME, and REPOSITORY_ADMIN_PORT.

Note -
For Windows repository replication, the USER_JDK_HOME and USER_INSTALL_DIR directory values must contain double backslash characters after the drive designation (for example, C:\\JavaCAPS).

e.Save and close the file.
f.Change to the directory where the replicate utility is located.
g.Start the replicate utility by running one of the following commands:
•For Windows: replicate.bat import RepositoryImagePath BackupFile RepositoryPropertiesFile
•For UNIX: replicate.sh import RepositoryImagePath BackupFile RepositoryPropertiesFile
where:
•RepositoryImagePath is the location of the Java CAPS installation file on the Java CAPS Repository CD1
•BackupFile is the location of the backup file created by running the replicate utility on the source machine
•RepositoryPropertiesFile is the location of the properties file you configured earlier

The contents of the original repository are now available in the new location. The target repository can be started by running the repository startup command (startserver.bat for Windows or startserver.sh for UNIX) from the TargetRepositoryPath directory.

Labels: ,

 
0 Comments:
Post a Comment
<< Home
 
Manesh Abhimanyu
Manesh is a Sr. EAI Consultant, at present working in Singapore (Little Red Dot).

His focus is in the areas of SOA, ESB and Enterprise Architecture Management.

Contact him via email (mak2powerATyahoo.co.in)

Menu
Archives
Links
Website developed & maintained by

Manesh Abhimanyu K. (Mak)

Click here to contact Manesh









Free Domain CO.NR