A silent uninstallation uninstalls software automatically without requiring user interaction at the time of uninstallation.
The procedure to silently uninstall AdvancedCopy Manager's agent (for Solaris) is as follows:
Log in to the target server. Perform the post-login operation as root (superuser).
Execute the following silent uninstallation command:
For uninstallLogFile, specify the file in which to output uninstallation log with an absolute path. It is optional to specify for uninstallLogFile.
# /opt/swstorage/setup/stg/acmagtsilentuninstall.sh [-l uninstallLogFile]
Point
If nothing is specified for uninstallLogFile, an uninstall log file named "acmagtsilentuninstall.log" is created in the /var/tmp directory.
If there is any file of the same name as the specified uninstall log file, it is overwritten.
It is required to specify an existing directory with write permission for the directory in which to store the uninstall log file. If it has no write permission, no error message is output in the command prompt or screen, and the process terminates with error.
Note
If an invalid option is specified, its corresponding error message is output in the uninstall log file and the process exits. No error message is output in the command prompt or screen.
Do not execute multiplexly the command for silent uninstallation. If it is multiplexly executed, the command executed after that will terminate abnormally. At this time, an uninstall log file is not created.
On completion of uninstallation, a command prompt is displayed.
Check the return value from the silent uninstallation command. If necessary, check the uninstall log file. However, if the return value from the silent uninstallation command is 3 or 9, no uninstall log file is created. For details, refer to "F.5 Return values for silent uninstallation (AdvacedCopy Manager's agent for Solaris/Linux)".
The uninstallation result can be viewed in the uninstall log file, too.
Open the uninstall log file to see "ResultCode" in the ResponseResult section. In "ResultCode" is written the return value from the silent uninstallation command.
Information
After running uninstallation, if you reinstall AdvancedCopy Manager's agent to another directory, make sure that the directory for the package listed in the "A.2.2 Program components of AdvancedCopy Manager's agent" is not left.
Even running the uninstallation process may not delete the directory for the package listed in the "A.2.2 Program components of AdvancedCopy Manager's agent". If not needed, delete the left directory.