Adding a Fast Data Directory to existing Forest
07 May 2019 09:04 AM
|
|
Introduction This article will show you how to add a Fast Data Directory (FDD) to an existing forest. Details The fast data directory stores transaction journals and stands. When the directory becomes full, larger stands will be merged into the data directory. Once the size of the fast data directory approaches its limit, then stands are created in the data directory. Although it is not possible to add an FDD path to a currently-existing forest, it is possible to do the following: 1. Destroy an existing forest configuration (while preserving the data) 2. Re-create a forest with the same name & data, with an FDD added
The queries below illustrate steps one and two of the process. Note that you can also do this with Admin UI. The query below will delete the forest configurations but not data. Preparation: 1. Schedule a downtime window for this procedure (DO NOT DO THIS ON A LIVE PRODUCTION SYSTEM) 2. Insure that all ingestion and merging has stopped 3. Just to be on safer side, take a Backup of the forest first before applying this in Production 3. Detach the forest before running these queries
NOTE: make sure to set the $delete-data papameter to false().
declare namespace html = "http://www.w3.org/1999/xhtml";
let $forest-name := "YOUR_FOREST_NAME" let $new-fast-data := "YOUR_NEW_FAST_DATA_DIR" let $old-data := admin:forest-get-data-directory($config, admin:forest-get-id($config, $forest-name)) let $old-large-data := admin:forest-get-large-data-directory($config, admin:forest-get-id($config, $forest-name))
| |
|