If File Viewer is not running on HCL Connections nodes,
the directory where HCL Connections stores its files must be accessible
to File Viewer.
About this task
The HCL Connections directory is provided as a WebSphere®
Application Server variable: FILES_CONTENT_DIR. To configure this
directory for File Viewer, do the following steps:
Procedure
- Obtain the value of FILES_CONTENT_DIR:
- Log in to the Deployment Manager Integration Solutions
Console.
-
Click .
-
Locate the FILES_CONTENT_DIR variable either by scrolling through the list
or using the search filter.
-
Mount the FILES_CONTENT_DIR CIFS share:
-
If File Viewer is deployed on Linux, use the command:
mount -t cifs //[host_name]/[FILES_CONTENT_DIR] -o username=[username],password=[password] /[local_path]
This will mount the directory to the File Viewer nodes. This command must be added to
the fstab or equivalent to persistently mount the FILES_CONTENT_DIR.
-
If File Viewer is deployed on Windows, use the following procedure to persistently mount the
FILES_CONTENT_DIR.
- Start the command console as the administrator (Click . Right-click the command prompt and select Run as
administrator).
- Run the following command to map the shared
folder:
net use [LocalFolder] \\[CIFSServer]\[ShareFolder] [{Password | *}] /user:[DomainName\][UserName] /persistent:yes
Note:
This command must be included in the batch script with the VIEWER_DATA and
DOCS_DATA drive map. And it must be added to the fstab or equivalent to
persistently mount the FILES_CONTENT_DIR.
- LocalFolder is the device name that is used to connect to the remote shared
folder.
- CIFSServer and ShareFolder are the names of the CIFS
server and the shared folder. If the CIFSServer value contains spaces, use
quotation marks around the value, from the \\ to the end of the value (for
example, "\\CIFSServer \ShareFolder"). The value can be 1 to15 characters long.
You can also use the IP address as the value.
- Password is the password that is needed to access the shared folder. Type an
asterisk (*) to produce a prompt for the password. The password is not displayed when you type it at
the password prompt.
- /user specifies a different user name with which the connection is made.
DomainName is used to specify another domain. If you omit
DomainName, net use uses the domain on which you are logged in.
UserName specifies the user name with which to log in.
For example, run
net use h: \\192.168.0.100\cifs-test "password1" /user:"test" /persistent:yes
- This assigns the disk-drive device name h: to the cifs-test shared directory on the
\\192.168.0.100 server. The user name is test and the password is
password1.
- If you must disconnect from the shared folder on Windows,
run the following commands:
net use [LocalFolder]/delete