uCosminexus Application Server, Command Reference Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
(1) Format
dabsetup [-d] [path-name]
(2) Function
This command sets up the working directory of the Cosminexus DABroker Library. When you execute the dabsetup command, the directories and files of the installation directory are moved to the working directory specified in path name.
Also, you can delete the working directory by specifying the -d option.
(3) Argument
- -d
- Deletes the Cosminexus DABroker Library system under the Cosminexus DABroker Library working directory from the OS. Do not specify this option for setting up the Cosminexus DABroker Library working directory.
- path-name
- Specifies any directory in which the Cosminexus DABroker Library is to be operated.
- The DABroker directory is created under the specified directory, and the directories and files of the installation directory are moved.
- If the specification is omitted, the Cosminexus DABroker Library working directory is considered as the installation directory (/opt/DABroker) of the Cosminexus DABroker Library. Note that you cannot specify the directories in the remote file system or local files linked with the directory.
(4) Input examples
- When specifying Cosminexus DABroker Library working directory
- dabsetup /home
- When deleting Cosminexus DABroker Library system
- dabsetup -d /homeu
- Super user must execute the dabsetup command.
- Execute the dabsetup command, when Cosminexus DABroker Library is stopping.
- When you set up the Cosminexus DABroker Library using the dabsetup command again, the operating status of the Cosminexus DABroker Library of the working directory changes to the initial status. However, the Cosminexus DABroker Library operating environment definition files, log files, and trace files created by the user are not set up.
- Stop the execution of the dabsetup command, when the path specified as the working directory exists as a file.
- Stop the execution of the dabsetup command, when the files with same names as the directories provided by the Cosminexus DABroker Library exist in the path specified as the working directory or when the directories with same names as the files provided by the Cosminexus DABroker Library exist.
- Confirms whether to overwrite when the path specified as the working directory exists as the directory. Note that even if you select overwriting, the Cosminexus DABroker Library that exists in the specified directory guarantees the files (Cosminexus DABroker Library operating environment definition files, log files, and trace files created by the user) that are not set up.
- When the execution of the dabsetup command fails, stop the execution of the dabsetup command, and return to the status before the execution of the dabsetup command.
(6) About deleting the Cosminexus DABroker Library working directory
- When the working directory is successfully deleted by the dabsetup command
- The files required in the system with commands, such as dabsetup, are retained in the installation directory of the system. Delete the files in the installation directory with the installer (uninstall).
- The Cosminexus DABroker Library operating the environment definition file created by the user is not deleted by the dabsetup command. Delete as and when required.
- When deletion of the working directory fails by the dabsetup command
- Delete the remaining directories and files by the rm command of the OS.
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.