Home > Cloud Cruiser 4 > Installing > Optional configurations > Setting up multiple application instances

Setting up multiple application instances

Table of contents
No headers

You can host multiple instances of Cloud Cruiser on the same server. This is useful when you have customer bases that require different account structures.

To create a new application instance

  1. Stop the Cloud Cruiser service.
  2. Make a copy of the directory <install_dir>/apache-tomcat-7.0.54/webapps/ROOT and give it the name you want to use for this application instance in its URL.
    For example, in a Linux environment, to create an application instance named foo1, run the following commands:
       # cd /usr/local/<install_dir>/apache-tomcat-7.0.54/webapps/
       # cp -r ROOT foo1

    In a Windows environment, to create an application instance named foo1, do the following:
    1. Navigate to the webapps directory.
    2. Right-click the ROOT folder and select Copy, then right-click again and select Paste.
    3. Rename this folder foo1 .
  3. Edit the database properties for this application instance and specify a unique database name and user name for this instance.
    For more information, see Modifying the database connection. You'll edit the properties file under the foo1, not ROOT, subdirectory.
  4. Run the install script, using the -a parameter to specify the application instance you are configuring.
    In a Linux environment, continuing the previous example:
       # cd /usr/local/<install_dir>
       # ./install -a foo1 -u <dba_user> -p 
    <dba_password>
    In a Windows environment
    , continuing the previous example​:
       cd <install_dir>
       install -a foo1 -u 
    <dba_user> -p <dba_password>
  5. Restart the Cloud Cruiser application server.

​​To access the Cloud Cruiser Portal on the new instance

  1. In the URL field of your browser, enter http://<hostname>:<port>/<appName> where <appName> is the name of your application instance.
    For example: http://localhost:8080/foo1
    The login prompt is displayed.

  2. Log in as admin with the password admin.
    This is the default administrator account. You can change this username and password after logging in.
Last modified

Tags

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP