dscontrol file
Manage your configuration files with the dscontrol file command.
Syntax
Parameters
- appendload
- To update the current configuration, the appendload command runs the
executable commands from your script file.
- file[.ext]
A configuration file consisting of dscontrol commands. The file extension (.ext) can be anything you like and can be omitted.
- file[.ext]
- delete
- Delete the file.
- newload
- Loads and runs a new configuration file into the Load Balancer. The new configuration file replaces the current configuration.
- report
- Report on the available file or files.
- save
- Save the current configuration for Load Balancer to the file.Note: Files are saved into and loaded from the install_root/servers/configurations/dispatcher directory.
- force
To save your file to an existing file of the same name, use force to delete the existing file before saving the new file. If you do not use the force option, the existing file is not overwritten.
- force
Samples
- To delete a file:
dscontrol file delete file3
- To load a new configuration file to replace the current configuration:
dscontrol file newload file1.sv
- To append a configuration file to the current configuration and load:
dscontrol file appendload file2.sv
- To view a report of your files (files that you saved earlier):
dscontrol file report
- To save your configuration into a file named file3:
dscontrol file save file3