This section describes how to use securetool to install and uninstall Enterprise Security, and how to upgrade the middleware using a sample response file. The response file includes all the argument/value pairs that are required to perform these tasks.
The following lines in a response file allow you to install and configure a new Enterprise Security installation, assuming there are locally installed versions of Adaptive Server and EAServer that use the default port numbers and path names:
rootorg_name=Sybase.com enkfile=C:\Sybase\Security\.enk output_enkfile=C:\Sybase\Security\.enk security_dir=C:\Sybase\Security easerver_dir=C:\Sybase\EAServer shared_dir=C:\Sybase\Security\shared_libs rootrog_dn=dc\=sybase.com dns_domain=sybase.com
To use this response file with the following procedures, create a file called configure_security.rsp that contains the preceding lines.
Manually installing Enterprise Security
To manually install Enterprise Security using configure_security.rsp, run the following commands.
To generate an encryption key file:
securetool genenk @configure_security.rsp
To create a new ACDB:
securetool createdb @configure_security.rsp
To deploy the Enterprise Security middleware into EAServer:
securetool deploymw @configure_security.rsp
To deploy Enterprise Security Manager into EAServer:
securetool deploysm @configure_security.rsp
Upgrading the Enterprise Security middleware
To upgrade the middleware using configure_security.rsp, run:
securetool deploymw @configure_security.rsp
Uninstalling Enterprise Security
To manually uninstall the software, perform the following tasks using configure_security.rsp.
To remove Enterprise Security Manager from EAServer:
securetool removesm @configure_security.rsp
To remove the middleware from EAServer:
securetool removemw @configure_security.rsp
This is necessary because typically, EAServer holds a database connection open.
To remove the database:
securetool removedb @configure_security.rsp
Before you remove the database, verify that there are no processes with database connections.
Manually delete the encryption key file.
Delete the Security directory.