Sharing var Data

  1. Create directories on the mount point on one node.
    It is assumed that the following filepath is the Orchestrator mount point on the shared storage.
    /mnt/shared/orchestrator/
    On one node, create the three directories specified below under this mount point.
    $ cd /mnt/shared/orchestrator/
    $ mkdir -p var/archive/orchestrator
    $ mkdir -p var/config/orchestrator
    $ mkdir -p var/run/orchestrator
  2. On both nodes, create the following symbolic links.
    $ cd /opt/aspera/var/archive
    $ mv orchestrator orchestrator.bak
    $ ln -s /mnt/shared/orchestrator/var/archive/orchestrator orchestrator
    $ cd /opt/aspera/var/run
    $ mv orchestrator orchestrator.bak
    $ ln -s /mnt/shared/orchestrator/var/run/orchestrator orchestrator
    $ cd /opt/aspera/var/config
    $ mv orchestrator orchestrator.bak
    $ ln -s /mnt/shared/orchestrator/var/config/orchestrator orchestrator
  3. On one node where the shared storage is accessible, copy the shared data.
    $ cp -R /opt/aspera/var/archive/orchestrator.bak/* /opt/aspera/var/archive/orchestrator
    $ cp -R /opt/aspera/var/config/orchestrator.bak/* /opt/aspera/var/config/orchestrator
    $ cp -R /opt/aspera/var/run/orchestrator.bak/* /opt/aspera/var/run/orchestrator
  4. Now go to the other node and verify that you can see the shared files in these directories.
    /opt/aspera/var/archive/orchestrator/
    /opt/aspera/var/config/orchestrator/
    /opt/aspera/var/run/orchestrator/
    Note: It may be necessary to perform a failover to make the shared storage visible.