Deploys the Enterprise Security middleware to EAServer.
deploymw --easerver_dir eas_dir --enkfile file_name --security_dir secure_dir --shared_dir share_dir [--audit_topic topic_name] [--database_type sybase_ase | sybase_asa | oracle] [--easerver_host host_name] [--easerver_password password] [--easerver_port port] [--easerver_restart true | false] [--easerver_servername server] [--easerver_username user_name] [--entldb_password password] [--entldb_username user_name] [--jdbc_admin_password password] [--jdbc_admin_username user_name] [--jdbc_driver driver] [--jdbc_url URL]
Argument |
Datatype |
Default value |
Description |
---|---|---|---|
* easerver_dir |
string |
EAServer installation directory. |
|
* enkfile |
string |
Encryption key file to use; must be a readable file. |
|
* security_dir |
string |
Enterprise Security installation directory. |
|
* shared_dir |
string |
Sybase shared directory. |
|
audit_topic |
string |
AuditTopic |
The preconfigured EAServer message service topic to use when publishing audit messages (if enabled). |
database_type |
choice |
sybase_ase |
The database type. This value is used to determine the default values for the jdbc_url and jdbc_driver arguments.Acceptable values are:
|
easerver_host |
string |
Name of the machine where EAServer is running. |
|
easerver_password |
string |
Password for the user identified by easerver_username. |
|
easerver_port |
integer |
9000 |
EAServer connection port. |
easerver_restart |
boolean |
true |
Specifies whether to restart EAServer when this task completes. |
easerver_servername |
string |
Jaguar |
Name of the server in which to install the software. |
easerver_username |
string |
jagadmin |
User name for the EAServer administrator. |
entldb_password |
string |
dbopswd |
Password of the user specified by entldb_username. |
entldb_username |
string |
acdbdbo |
User name for connecting to the database. This user should have read and write privileges on the security database only. |
jdbc_admin_password |
string |
Password for the user specified by jdbc_admin_username. |
|
jdbc_admin_username |
string |
sa |
User name for connecting to the database for administrative purposes (creating databases, tables, and so on). |
jdbc_driver |
Java class name |
Depends on the value of database_type; for sybase_ase: com.sybase.jdbc2.jdbc.SybDriver |
JDBC driver to use when connecting to the database. |
jdbc_url |
string |
Depends on the value of database_type; for sybase_ase: jdbc:sybase:Tds:host: 5000/acdb |
JDBC URL to use when connecting to the database. |
Return value |
Indicates |
---|---|
0 |
The command ran successfully; the result is true/success. |
1 |
The command failed. |
This command line example deploys the Enterprise Security middleware to EAServer. The arguments provide the name of the encryption key file, the installation locations of Enterprise Security and EAServer, and the location of the Sybase shared directory.
securetool deploymw --easerver_dir C:\Sybase\EAServer --enkfile C:\Sybase\Security\.enk --security_dir C:\Sybase\Security --shared_dir C:\Sybase\Shared-1_0