Version Differences for Cloning an AnthillPro Instance

(Added headings)
Line 1:
- The steps below are for cloning an instance of AnthillPro with a non-Derby database:      
       
       
  = Database Cloning =    = Database Cloning = 
  If you are looking to have a separate copy of the database, please refer to the tools that come with your database vendor to export/import/clone a database, and their documentation.    If you are looking to have a separate copy of the database, please refer to the tools that come with your database vendor to export/import/clone a database, and their documentation. 
Line 63:
       
  Either way, after the clone is complete, you are free to copy over the \var\ directory from the server to the new server’s \var\ directory. This will copy over all old artifacts, job logs, published reports, etc.    Either way, after the clone is complete, you are free to copy over the \var\ directory from the server to the new server’s \var\ directory. This will copy over all old artifacts, job logs, published reports, etc. 
       
    + # Extract the archive to an accessible folder.  
    + # From an Administrative Command Prompt, navigate to the extracted anthill3-install directory, and run install-server.bat.  
    + # When prompted, provide the following information:  
    + ## Directory: Directory where you would like the server installed on the new machine  
    + ## Confirmation: Type ‘y’ if this was the correct directory to install to. Typing ‘n’ will fail the program out.  
    + ## JDK: Home directory of the JDK  
    + ## Host: The hostname of the AnthillPro server (the agents will use this to connect to the server)  
    + ## JMS: The port that the agents will be using for communication (Default is 7915)  
    + ## Devilfish/Remoting: The port that will be used for remoting connections (Default is 4567)  
    + ## IP Address: Also known as the ‘Bind-IP’. This is the address the server will bind to (default is all [0.0.0.0]).  
    + ### HTTPS (optional): Type ‘y’ if you want to use HTTPS protocol to connect to the WebUI, else type ‘n’.  
    + ### HTTPS Port (optional): Input the secure port that you want the WebUI to listen on (Default is 8443).  
    + ### HTTP Port: Input the port that you want the WebUI to listen on (Default is 8080).  
    + ### SSL (optional): Type ‘y’ if you want to use SSL between Server ? Agents. Else type ‘n’.  
    + ### Mutual Authentication (optional): Type ‘y’ if you want to use mutual authentication. This will require a manual key exchange between server and each agent that will connect to it.  
    + # When prompted for database type, specify derby or just press enter as we want to do a default Derby install.  
    + # Press enter twice to accept defaults (anthill3/password) as the username/password combination.  
    + # Once file system installation finishes, select ‘N’ for the Windows Service install (this can always installed manually later).  
    + # Once the database installation finishes, press enter a couple of times to exit the installer.  
    + # Now that the server is installed, navigate to the server’s lib directory, and create a subdirectory called ‘ext’.  
    + # Place your database driver JAR file in this ext directory.  
    + # Ensure that your cloned database (or old database) is running, and you can connect to it.  
    + # Navigate to the server’s conf\server directory and modify the following files:  
    + ## Installed.properties  
    + ### Install.db.type should get the type of database you are going to (for example, mysql for MySQL, oracle for Oracle, sqlserver for SQL Server)  
    + ### Install.db.url should get the connection string for your database (for example, one for Oracle might look like jdbc:oracle:thin:@oraclebox:1521/ORCL )  
    + ### Install.db.password should be replaced with the plaintext password of the database user.  
    + ### Install.db.driver needs the class name of the driver (for example, Oracle’s is oracle.jdbc.driver.OracleDriver if using ojdbc6.jar)  
    + ### Install.db.user should be replaced with the database user’s username.  
    + ## Spy.properties  
    + ### Find line 42 (should say realdriver=org…) and change the class name of the driver to match with what you specified in the install.db.driver line in installed.properties file.  
    + # Navigate to the server’s conf\server\spring-server directory and modify the following files:  
    + ## Base.xml  
    + ### url should get changed to the connection string specified in installed.properties  
    + ### username should get changed to the database user’s username specified in installed.properties  
    + ### password should get changed to the plaintext database user’s password specified in installed.properties  
    + # Finally, ensuring that all the correct values are specified, you should be able to start your server and have it connect to the cloned database (or old database depending if you cloned the database or not).  
       
    + An alternative method (as found http://documentation.urbancode.com/anthill3-help-3.8/html/CloneAnthillpro.html) is available as well:  
    + # Install the new AnthillPro server and instruct it to connect to a new empty database created specifically for the instance.  
    + # Modify the production server to ensure that it is configured to bind to the address: 0.0.0.0 on startup. Go to System