Install Upgrade Files for Solaris
This topic describes how to upgrade a gateway in the Software form factor, where the host machine's operating system is Solaris.
gateway
This topic describes how to upgrade a
CA API Gateway
in the Software form factor, where the host machine's operating system is Solaris. If your Software Gateway is running another operating system, refer to Install Upgrade Files for RHEL/CentOS/SUSE instead.
Prerequisite:
Ensure that steps 1 to 3 in Upgrade a Software Gateway have been performed.The upgrade differs depending on the database type of the Gateway:
MySQL Database
To upgrade a
CA API Gateway
with a MySQL database:- On the SolarisAPI Gatewayserver, install the JDK for Solaris and note the installation path. This JDK is available from .
- Download the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 8 from the Oracle web site. Unzip the files to the following directory (assuming JDK 1.8 was installed to the default directory/usr/j2se/):cp UnlimitedJCEPolicy/* /usr/j2se/jdk1.8.0_xx/jre/lib/security/
- If you have previously upgraded the MySQL software but not yet run "mysql_upgrade", navigate to the MySQL directory and run:text# mysql_upgrade --skip-write-binlogThe following steps upgrade the Gateway software:
- Stop the slave in MySQL on all nodes in the cluster.
- Stop the Gateway:# /opt/securespan/gateway/runtime/bin/gateway.sh stop
- Remove the old installation:text# pkgrm L7TECHssg
- Copy the new Gateway software packageL7TECHssg-<version>-<build>.pkgto the host machine.
- Install the package:# pkgadd -d L7TECHssg-<version>-<build>.pkg
- Select the package(s) to process.
- Openmy.cnffor editing:text# edit my.cnf
- Add the following properties tomy.cnf:textlog_bin_trust_function_creators=1 slave_exec_mode=IDEMPOTENT
- Restart the MySQL service on all nodes in the cluster.
- Access the Gateway main menu:/opt/SecureSpan/Gateway/runtime/bin/setup.sh
- Select option2(Configure the Gateway) and the option1(Java VM). Verify that the Java VM settings are correct.
- Select option2(Database Connection) and then verify that the database connection settings are correct. The settings from the previous version of the Gateway should be displayed as the default for each setting. Press [Enter] to use the existing value from the previous installation. You will need to enter the password of the database from the previous installation.You will see an error stating ‘Database version mismatch’. This is expected because you have just updated the Gateway software. The database will be updated in the next step.
- Select option1(Upgrade the Gateway database) and follow the prompts to upgrade the database.
- Exit the main menu and restart the Gateway:# /opt/SecureSpan/Gateway/runtime/bin/gateway.sh start
The upgrade is now complete.
Embedded Database
To upgrade a
CA API Gateway
with an embedded database:- Stop the Gateway service:text# /opt/SecureSpan/Gateway/runtime/bin/gateway.sh stop
- Back up the previous embedded database by copying this directory to your local directory:/opt/SecureSpan/Gateway/node/default/var/db
- Remove the old installation:# pkgrm L7TECHssg-<version>-<build>.pkg
- Remove this directory:/opt/SecureSpan
- Reboot the computer.
- Copy the new Gateway software packageL7TECHssg-<version>-<build>.pkgto the host machine.
- Install the Gateway software:# pkgadd -d L7TECHssg-<version>-<build>.pkg
- EnterYwhen prompted whether to install the conflicting files, then enterYto confirm installing <L7TECHssg>.
- Select option2(Configure the Gateway) and t hen option1(Java VM). Verify that the Java VM settings are correct.
- Select option2(Database Connection) and then configure the Gateway to use the embedded database.
- Exit the Gateway main menu and reboot the computer.
- Restore the database by copying the backup to this directory:/opt/SecureSpan/Gateway/node/default/var/
- Change the ownership and permissions back for the database directory and all of its subdirectories/files:
- Change the owner of database directory (in the previous step) fromroottogateway.
- Change the permissions of database directory torwxrwxr-x
- Change the permissions of the following directory and all its subdirectories torwxrwxr-x/opt/SecureSpan/Gateway/node/default/var/db/ssgdb
- Change the permissions of all files within the "ssgdb" directory (from above) and all its subdirectories torw-rw-r- -
- Change the permissions of the following log file torw-rw-r- -/opt/SecureSpan/Gateway/node/default/var/db/derby.log
- Restart the Gateway:# /opt/SecureSpan/Gateway/runtime/bin/gateway.sh start
The upgrade is now complete.