Install File Analytics for SMB

Contributors ciarm netapp-pcarriga netapp-barbe netapp-aherbin Download PDF of this page

Install or upgrade File Analytics for SMB.

For system requirements for SMB, see Install XCP SMB.

Before you begin

  • You must configure XCP File Analytics for NFS on a Linux machine to use the XCP SMB service.

  • Make sure the XCP service is running on your Linux machine, before you begin configuring XCP File Analytics on a Windows machine.

Fresh install of File Analytics for SMB

To perform a fresh install of File Analytics for SMB, complete the following steps.

Steps
  1. Copy the xcp.exe file to your Windows C: drive, this binary is available inside /xcp/windows after you untar the tgz.

  2. Download the XCP license file from the XCP site.

  3. Create the folder C:\\NetApp\XCP and copy the XCP license to this location.

  4. Activate the XCP license using the following command at the command prompt: xcp.exe activate

  5. Copy the server.key and server.crt files from /opt/NetApp/xFiles/xcp/ (in the Linux box where XCP File Analytics is already configured) to C:\NetApp\XCP
    Optional - If you have a CA certificate, place the certificate in this location with the same name and extensions.

  6. In the Windows CLI command prompt, run xcp configure.

  7. When prompted, provide the IP address of the Linux machine where the XCP File Analytics server is configured.

  8. When prompted, provide the password for the database that was entered during the XCP Linux File Analytics configuration.

  9. Go to the Linux machine and run ./configure.sh.

  10. Select option 4 (Update XCP windows agent IP) on the main menu and provide the IP address for the Windows machine.

  11. Go to your Windows machine and run xcp listen, now XCP File Analytics for SMB is configured. Keep the window in an open state to continuously run the service.

  12. Launch File Analytics on the Google Chrome browser and refresh the page: https://<ip address of linux>/xcp

  13. Click OK when the dialog box displays.
    A new tab will open. Please enable pop ups on the browser if it is blocked. Accept the privacy policy for the URL and the following message displays: SMB agent is ready to use. Please refresh the analytics page

  14. Return to the original tab where the XCP File Analytics GUI is hosted and refresh the page.
    This will display the SMB agent under the Agents card.

Upgrade of File Analytics for SMB

To upgrade the existing File Analytics for SMB, complete the following steps.

  1. Before you run File Analytics make sure the Linux server where File Analytics is running is also upgraded and the service is running.

  2. In Windows, stop the existing XCP service by entering CTRL-C on the command line.

  3. Replace xcp.exe with latest binary.

  4. Go to the Linux machine and run ./configure.sh.

  5. Select option 4 (Update XCP windows agent IP) on the main menu and provide the IP address for the Windows machine.

  6. Go to your Windows machine and run xcp listen, now XCP File Analytics for SMB is configured. Keep the window in an open state to continuously run the service.

  7. Launch File Analytics on the Google Chrome browser and refresh the page: https://<ip address of linux>/xcp

  8. Click OK when the dialog box displays.
    A new tab will open. Please enable pop ups on the browser if it is blocked. Accept the privacy policy for the URL and the following message displays: SMB agent is ready to use. Please refresh the analytics page

  9. Return to the original tab where the XCP File Analytics GUI is hosted and refresh the page.
    This will display the SMB agent under the Agents card.