Skip to end of metadata
Go to start of metadata

A clustered BI platform environment requires the Input and Output File Repository Servers to use a common file share location for the servers within the cluster.

There are many options for file sharing between Linux machines. Two of the most popular ways are
Network File System (NFS) and Samba. NFS is more common when the file share will remain in a Linux environment. Samba is mainly used for sharing files within a mixed Linux/Windows environment.

We use NFS within this pattern and also provide some resources on how to use Samba if you wanted to go down that road instead.

By now, you should already have your 2 BI platform servers up and running along with your Application Server (Tomcat) and Web Server (Apache). These are prerequisites for this sections so if you don't have these up, please revisit those sections to complete the setup of those components.

We setup the FRS in our cluster by following the below checklist:

Move files from original FRS location on BIP Servers to shared location

(tick)

Start up BIP Servers and disable all services

(tick)

Update Input/Output FRS Services on BIP Servers to the shared location

(tick)

Enable BIP Server services

(tick)


Moving files from original FRS location on BIP servers to shared location

Please ensure that the steps in the section NFS Configuration have been carried out before continuing.

  1. Log into lnxpb04 as the sapbi user

  2. Ensure your NFS mount point is available by running the following command:
    > mount |grep bi43pbfrs

    You should see output similar to the following:

    vantgvmlnxpb01:/home/nfs/bi43pbfrs on /opt/sap/bi4/bi43pbfrs type nfs (rw,vers=4,addr=10.165.28.122,clientaddr=10.165.28.125)


  3. Once the mount has been set up, run the following command to navigate to the sap_bobj directory:
    > cd /opt/sap/bi4/sap_bobj

  4. Run the following command to stop your SIA servers:
    > ./stopservers

  5. Run the following command to navigate to your default input FRS directory:
    > cd /opt/sap/bi4/sap_bobj/data/frsinput/

  6. Run the following command to copy all of the files and folders in the input FRS directory to the mounted drive:
    > cp -r * /opt/sap/bi4/bi43pbfrs/frsinput

  7. Run the following command to navigate to the output FRS directory:
    > cd /opt/sap/bi4/sap_bobj/data/frsoutput/

  8. Run the following command to copy all of the files and folders in the output FRS directory to the mounted drive:
    > cp -r * /opt/sap/bi4/bi43pbfrs/frsoutput

  9. Repeat steps 1-8 on lnxpb05.

    In most cases, only one of your servers will have content within these directories but in the odd chance that one of your servers did failover to the backup FRS, it is best to copy the content from both servers over to the new location.


    Now that you have copied all of the content into the shared input and output FRS directories, start up the SIA servers (both servers)

  10. Run the following command to navigate to the sap_bobj folder:
    > cd /opt/sap/bi4/sap_bobj/

  11. Run the following command to start up the SIA servers:
    > ./startservers
    You have successfully copied the content of the input and output FRS directories.

  12. This next step ensures that no further files are written to the old FRS locations while we are making the changes within the Central Management Console (CMC). From either server, run the following commands:
    > cd /opt/sap/bi4/sap_bobj/
    > ./ccm.sh -disable all -username Administrator -password Pattern123

    You should see output similar to the following:

    Creating session manager...
    Logging onto CMS...
    Creating infostore...
    Sending query to get all server objects on the local machine...
    Checking server status...
    SAPBI43A.CentralManagementServer has been disabled.
    SAPBI43A.AdaptiveProcessingServer has been disabled.
    ...
    ...
    Committing changes to infostore...


  13. Repeat steps 10-12 for lnxpb05.

We can now carry out our steps in the CMC without worrying about more files being written to the old FRS locations.

Updating Input/Output FRS services on BIP servers to the shared location

Now that the physical files have been moved to the new location, its important for us to update the services on the BIP servers.

  1. Log onto the Central Management Console as Administrator.


  2. Click Servers.


  3. Click Core Services.


  4. Double-click SAPBI43A.InputFileRepository.


  5. Under the "Input Filestore Service" section, enter the following text in the File Store Directory field:
    /opt/sap/bi4/bi43pbfrs/frsinput


  6. Enter the following text in the Temporary Directory field:
    /opt/sap/bi4/bi43pbfrs/frsinput/temp


    Click Save and Close.

  7. Repeat steps 4 to 6 for SAPBI43B.InputFileRepository.

  8. Repeat steps 4 to 6 for the SAPBI43A.OutputFileRepository and SAPBI43B.OutputFileRepository services as well. Ensure that the following root path is used:
    /opt/sap/bi4/bi43pbfrs/frsoutput

  9. Restart each of the modified servers to for the changes to take effect.

  10. Enable all servers from within the CMC or with the following command line in lnxpb04 or lnxpb05:
    > ./ccm.sh -enable all -username Administrator -password Pattern123

You have successfully updated the input and output FRS in the CMC.

Setup with Samba

See the sections To set up Samba on Linux servers and To create a Windows-shared folder and a new user in the BusinessObjects XI Release 2 Pattern Book for Linux to set up the file repositories on a Red Hat server using Samba.

  • No labels