Enabling Windows shares mounting

This topic describes how to enable the application server to mount Windows shares.

Note

This task is also relevant for the WinShareUtil, which is an ETL utility for mounting Windows shares.

To enable the application server to mount Windows shares

Note

The Windows share option uses sudo mount for mounting the file system to the application server. Only sudo is supported for an su type command alternative, and BMC Helix Capacity Optimization does not support sesu. Also note that the cpit id must be able to sudo to get root privileges, as mount requires root access.

  1. Verify that the commands mount and sudo are installed on the system.
  2. Grant the ETL user (usually cpit) permission to run the mount command via sudo by configuring it in /etc/sudoers.
  3. Comment out the following configuration line:

    Defaults requiretty

    Change it to:

    #Defaults requiretty

The following is an example of the configuration:

cpit ALL=(ALL) NOPASSWD: ALL

You can configure sudoers to restrict the commands available to the ETL user. For example:

cpit <localBMCCapacityOptimizationHost> = (root) NOPASSWD:/bin/mount, /bin/umount
Was this page helpful? Yes No Submitting... Thank you

Comments