Set up Junction Links for Shared Folders

This topic describes how to create junction links to shared folders and provide easy access to shared resources in your failover cluster setup.

About this task

Repeat the steps in this topic on other nodes in the cluster where you want to create junction links for shared folders.

Procedure

  1. Log in to Node1 and make sure the shared drive is available on this server.
  2. Navigate to the location described in the following table and create the respective folder structure.
    Location Create Folder Structure
    C:\ProgramData\GE Operations Hub\iqp-config\iqpsites\iqp
    C:\Program Files\GE Operations Hub\iqp-endapp\public
  3. Create shared drive folders.
    1. Navigate to the shared drive (for example, E:).
    2. Create a top-level folder with any name. For example, ophub-data.
    3. In ophub-data folder, create the sub-folders (can be any name) described in the following table:
      Create Sub-Folder Purpose
      end-app-resources to store plug-ins
      imagedata to store image files
      node-red to store Node-RED application files
      pki to store trust certificates
  4. Open Command Prompt as Administrator and run the following commands.
    Note: Make sure to replace the folder paths and names with your specific directory structure.
    To link end-app-resources sub-folder:
    mklink /J "C:\Program Files\GE\Operations Hub\iqp-endapp\public\custom" “E:\ophub-data\end-app-resources"
    
    Link imagedata sub-folder:
    mklink /J "C:\ProgramData\GE\Operations Hub\iqp-config\iqpsites\iqp\imagedata" "E:\ophub-data\imagedata"
    Link node-red sub-folder:
    mklink /J "C:\ProgramData\GE\Operations Hub\node-red" "E:\ophub-data\node-red"
    Link pki sub-folder:
    mklink /J "C:\ProgramData\GE\Operations Hub\pki" "E:\ophub-data\pki"

Results

You have successfully created junction links between the local folders on Node1 and the corresponding folders on the shared drive.

Play video: