Configuring NDMP backup prefetch
The NDMP backup prefetch function navigates the directory that is being backed up, reading files in advance of the files actually coming due to be backed up. The prefetch function opens files in read-only mode and places the files in the cache of the file module for improved backup performance. Use the cfgndmpprefetch CLI command to configure, activate and deactivate the NDMP backup prefetch function. You can also use the graphical user interface (GUI) to work with this function.
cfgndmpprefetch ndmpg1 --activate
If NDMP is not active on the specified NDMP file module group, a message is displayed indicating that prefetch for NDMP will be activated when NDMP is activated.
EFSSG0448W Command requires NDMP to be deactivated before configuration can change.
Deactivating NDMP will stop all NDMP sessions currently in progress and not allow
new NDMP sessions to start for this NDMP node group. Depending on how many NDMP
sessions will be killed (if any), there may be some delay.
Do you really want to perform the operation (yes/no - default no):
If you enter yes, the NDMP configuration
is deactivated, the configuration is changed, and the configuration
is reactivated. Any NDMP operations, such as backups and restores,
which were in progress on the specified NDMP file module group,
stop prematurely, and are not automatically restarted when the cfgndmp command
completes. To complete an interrupted operation, it must be restarted
manually.cfgndmpprefetch ndmpg1 --deactivate
If NDMP is not active on the specified NDMP file module, a message is displayed indicating that prefetch for NDMP will be deactivated when NDMP is activated.
cfgndmpprefetch ndmpg1 --appLimit 4
If NDMP is not active on the specified NDMP file module group, a message is displayed indicating that the configuration for Prefetch for NDMP has been updated.
The value for the --applimit option must be a positive integer greater than 0 and less than or equal to 10. The default value is 4.
cfgndmpprefetch ndmpg1 --numThreads 100
If
NDMP is not active on the specified NDMP file module group,
a message is displayed indicating that the configuration for Prefetch
for NDMP has been updated.The value for the --numThreads option must be a positive integer greater than 50 and less than or equal to 180. The default value is 100.
lsndmpprefetch -s
Output
is displayed in the following format:NODES_GROUP_NAME NODE NDMP_SERVICE_STATUS
NDMPTEST mgmt002st001(192.168.132.2) RUNNING
NDMPTEST mgmt001st001(192.168.132.1) RUNNING
If the -g option is not specified, status information for both file module group file modules is displayed by default.
lsndmpprefetch -d
NODES_GROUP_NAME NETWORK_GROUP_ATTACHED AUTHORIZED_NDMP_CLIENTS NDMP_PORT DATA_TRANSFER_PORT_RANGE NDMP_TCP_WINDOW_SIZE DATA_IP DEFAULT_PROTOCOL_VERSION FILE_SYSTEM_PATHS LOG_FILE_TRACE_LEVEL NDMP_USRENAME ENABLE_NEW_SESSIONS
DEFAULT 10000 2048-2098 160 4 0 ndmp allow
You cannot specify a file module group using the -g option or use the -s or --status options when using the -d or --default default options.
To display lsndmpprefetch command output as colon-delimited fields, use the -Y option.
All prefetch code running on all of the file modules on a file module group is at the same code level with the same configuration, so if an NDMP session with prefetch activated begins on one file module and fails because the file module fails, the session can begin again on another file module. Restarting the NDMP session on another file module is a manual process unless the timeout configured for the DMA allows the session to be restarted after the IP address has automatically been moved to another file module.
A default NDMP backup prefetch configuration is assigned to a newly created NDMP file module group, with the function deactivated. Messages generated by the function are posted to the alert log.