Managing the variable-length deduplication using the cacontrol command-line utility
You can use cacontrol command-line utility to set the variable-length deduplication. Use --vld flag to set the variable-length deduplication by creating the marker entry for a client or policy in a configuration file.
The cacontrol command-line utility is located at the following locations:
Windows:
install_path\Veritas\pdde\cacontrolUNIX:
/usr/openv/pdde/pdcr/bin/cacontrol
From NetBackup 10.2 and later, you can configure variable-length deduplication using the following options.
Table: Command options for VLD in cacontrol
Option | Description |
|---|---|
client | Enable Variable Length Deduplication for a specific client. |
policy | Enable Variable Length Deduplication for specific policy. |
vldtype |
|
minsegsize | The minimum segment size (KB) of the segmentation range for Variable Length Deduplication segmentation (KB). Suggested values are 16, 32, and 64. Sizes must be a multiple of 4 and fall in the range 4-16384. |
maxsegSize | The maximum segment size (KB) of the segmentation range for Variable Length Deduplication segmentation (KB), this value must be greater than sw_min. Suggested values are 32, 64, and 128. The maximum segment size must be greater than the minimum. |
Warning:
A change in a variable-length deduplication version decreases the deduplication ratio of image backups until new images are backed up once or twice. Therefore, choose new variable-length deduplication cautiously.
To manage variable-length deduplication for MSDP by using cacontrol command-line utility
- Query the active settings for the client and policy.
cacontrol --vld queryactive <CLIENT> <POLICY>
- Set the configuration for client and policy.
cacontrol - -vld update <CLIENT> <POLICY> <VLDTYPE> <MINSEGMENTSIZE> <MAXSEGMENTSIZE>
- Delete the settings for client and policy.
cacontrol --vld delete <CLIENT> <POLICY>
- Query the settings for client and policy.
cacontrol --vld get <CLIENT> <POLICY>
- Set the configuration for the policy.
cacontrol - -vld updatebypolicy <POLICY> <VLDTYPE> <MINSEGMENTSIZE> <MAXSEGMENTSIZE>
- Delete the settings for client.
cacontrol --vld deletebypolicy <POLICY>
- Query the settings for the policy.
cacontrol --vld getbypolicy <POLICY>
- Set the configuration for the client.
cacontrol - -vld updatebyclient <CLIENT> <VLDTYPE> <MINSEGMENTSIZE> <MAXSEGMENTSIZE>
- Delete the settings for client.
cacontrol --vld deletebyclient <CLIENT>
- Query the settings for the client.
cacontrol --vld getbyclient <CLIENT>
When you set parameters for client and policy, you can use asterisk (*) to indicate all clients or policies.
For example,
cacontrol --vld updatebypolicy "*" VLD_V2 32 64