Uploaded image for project: 'VXQuery (Retired)'
  1. VXQuery (Retired)
  2. VXQUERY-207

Data and Index Directories Set In Configuration

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      The cluster configuration should be updated to set the cluster data nad index directories in the configuration.

      If the cluster configuration has the data and index directories defined (maybe its required). The system can use these paths as the base for executing relative file paths for doc, collection and other collection based functions.

      The configuration should have a separate path for each partition. The number of partitions should match the number of paths. The data_dir and index_dir could be defined for the whole cluster or by each node controller.

      Example two node global cluster settings:
      <cluster xmlns="cluster">
      <name>Two nodes - Two partitions</name>
      <username>joe</username>
      <data_dir>/path/to/partition/1,/path/to/partition/2</data_dir>
      <index_dir>/path/to/index/partition/1,/path/to/index/partition/2</index_dir>
      <master_node>
      <id>master</id>
      <client_ip>128.195.52.177</client_ip>
      <cluster_ip>192.168.100.0</cluster_ip>
      </master_node>
      <node>
      <id>nodeA</id>
      <cluster_ip>192.168.100.1</cluster_ip>
      </node>
      <node>
      <id>nodeB</id>
      <cluster_ip>192.168.100.2</cluster_ip>
      </node>
      </cluster>

      Attachments

        Issue Links

          Activity

            People

              sjaco002 Steven Jacobs
              prestonc Preston Carman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: