A typical configuration step when building a Maximo cluster on Windows systems is to mount a shared filesystem on all the physical systems that belongs to the cluster. This allows to store attachments in a single place in order to be able to access them from all the servers that builds up the cluster.
It is also important to adopt an approach that automatically remounts the network share in case of system restarts.
This article describes the steps required to mount a shared filesystem on Windows 2008 Server.
- Launch Windows Task Scheduler
- Create a folder named ‘IBM’
- Create a Basic Task
- Name: Mount DOCLINKS folder
- Trigger: When the computer starts
- Program: net
- Arguments: use X: \\[SHAREDFOLDER] /persistent:YES
Running this task with SYSTEM privileges will make the mounted drive accessible from all users including the WebSphere processes.
Providing network credentials
If the net use command fails asking for credentials you can use the following syntax to provide them.
net use X: \\[SHAREDFOLDER] /persistent:YES [PASSWORD] /USER:[USERNAME]
Symbolic link technique
Drew Hohnstein has proposed to use the mklink command to create a symbolic link to the network folder.
A command like this should do the trick.
mklink /D C:\doclinks \\[SHAREDFOLDER]
If you can avoid to secure the shared folder you may also try this simple technique: Configure the doclink attachment folder in UNC path