Previous Topic: Install the Second Report ServerNext Topic: Configure Identity Management for High Availability Reporting


Mount NFS Share Location on both CABI Servers

Perform the following steps on both CABI server machines to setup the NFS client. This is required to access the shared location available in the file repository server.

Follow these steps:

  1. Login as a root.
  2. Create a directory which will be used to mount the shared directory:
  3. Make the user ‘bobje’, the owner for this directory
  4. Open /etc/fstab.
  5. Mount the directory /home/nfs/cabi from the File repository server, to the directory /home/nfs/cabi in the current machine
  6. Mount all the shares:
  7. Verify the share has been mounted and its location by executing mount.
  8. Login as bobje su –bobje.
  9. Ensure that you have write permissions for the share by creating a file with the following commands:
    cd /home/nfs/cabi
    touch a
    

    If you do not have permissions, this command will throw an error.

    rm a
    

    Note: Delete the file if it was created

  10. Copy the file repositories from this machine to the share.
    cd /opt/CA/SharedComponents/CommonReporting3/bobje
    
  11. Stop the servers by runing:
    ./stopservers”
    
  12. Navigate to the location of the Input File repository:
    cd data/frsinput”
    
  13. Copy all the files from this directory to the share:
    cp -r * /home/nfs/cabi/frsinput
    
  14. Navigate to the Location of the Output File Repository:
    cd ../frsoutput
    
  15. Copy all the files from Output file repository to the share:
    cp -r * /home/nfs/cabi/frsoutput
    
  16. Remove the frsinput and frsoutput folders from /opt/CA/SharedComponents/CommonReporting3/bobje/data”
  17. Add softlinks pointing to the NFS shared folders:
    ln -s /home/nfs/cabi/frsinput
    ln -s /home/nfs/cabi/frsoutput
    
  18. Start the servers:
    “cd /opt/CA/SharedComponents/CommonReporting3/bobje”
    ./startservers