In migration, you install the latest version of Access Gateway Appliance on a new server, and then migrate the existing data to the new server.
During the migration process, you can provide a new IP address and host name or reuse an existing IP address and host name.
In addition to the Section 4.2.1, Prerequisites for Installing Access Gateway Appliance, ensure that the following prerequisites are met before migrating Access Gateway Appliance:
Upgrade all instances of Administration Console and Identity Server before migration.
(If the services are managed by an L4 switch) Remove the device, which needs to be migrated, from the L4 switch. This prevents the L4 switch from sending the user requests to that device during migration.
Ensure to add the device to the L4 switch after the migration is complete.
The upgrade path mentioned in the Release Notes applies to the migration path of Access Gateway Appliance.
If the version of Access Gateway Appliance is prior to 4.4 Service Pack 4, first upgrade from a supported upgrade path to 4.4 Service Pack 4 using the instructions in Upgrading Access Gateway Appliance in the Access Manager 4.4 Installation and Upgrade Guide.
Determine if you want to reuse the existing IP address or a new IP address to setup the system.
For using an existing IP address:
Take a backup of the following Access Gateway files if these are customized:
Make a note of the IP address and the host name (with the domain name, such as server.domain.com) of the existing Access Gateway Appliance before migrating to the latest Access Gateway Appliance. The IP address that the existing Access Gateway Appliance uses to communicate with Administration Console will be used for installing the new Access Gateway Appliance.
The number of network interfaces along with their values are same for both the new Access Gateway Appliance and the existing Access Gateway Appliance.
(For using new IP address) Adding the new Access Gateway Appliance in the existing cluster restores files mentioned in the Settings tab of Code Promotion on Administration Console. If code promotion was performed earlier to get the existing version, a custom file cache is pushed instead of the files mentioned in the Settings tab.
If you have customized the server.xml and the web.xml files, ensure to take a backup of these files because these files are not restored automatically.
You have physical access to the server or server console (in case of VMWare setups) as a root user.
The required ports are opened in the firewall. See Setting Up Firewalls.
Verify if you have configured any Access Gateway advanced option that refers to a non-default folder in the file system. If yes, you must manually create the folders with the same name before migrating a new Access Gateway Appliance.
For example, if you have configured the CoreDumpDirectory option as CoreDumpDirectory /data/cores, then before migrating Access Gateway Appliance, create the /data/cores folder.
Register to Access Gateway Appliance 5.0 update service on the Common Appliance Framework user interface using https://<IP>:9443 URL. Ignore this step if you have already registered to this service.
NOTE:For information on registration, see Upgrading the base Operating System and Common Appliance Framework.
Log in to the Access Gateway terminal as a root user.
Run command zypper install nam-ag-channel-meta.
Navigate to the /opt/novell/channel directory.
Run the./upgrade_nam.sh command.
Follow the on-screen prompts to complete the upgrade.
Migrating the existing Access Gateway Appliance to new Access Gateway Appliance does not cause any disruption to the existing setup. You can add new Access Gateway Appliance nodes into the existing Access Gateway Appliance cluster. They can co-exist, but it is recommended to replace all the existing nodes to the latest version.
You can select any one of the following approaches to migrate to Access Gateway Appliance 4.5.x:
Workflow:
Back up any files that you have customized and note down the IP address and host name of the existing Access Gateway Appliance.
Shut down the existing Access Gateway Appliance.
Install Access Gateway Appliance with the IP address and host name noted in Step 1.
Restore any customized files from the backup taken earlier.
You are upgrading Access Manager 4.4 Service Pack 4 (4.4 SP4) to Access Manager 5.0. After upgrading Administration Console and Identity Server to 5.0 version, you require to migrate Access Gateway Appliance to the 5.0 version using the existing IP address.
It is assumed that your server meets the system requirements mentioned in NetIQ Access Manager System Requirements.
Consider that the setup includes the following components:
Access Manager 5.0 Administration Console (primary Administration Console: AC 1)
Access Manager 5.0 Identity Server cluster (primary Identity Server: IDP 1 and secondary Identity Server: IDP 2)
Access Manager 4.4 SP2 Access Gateway Appliance cluster (primary Access Gateway: AG 1 and secondary Access Gateway: AG 1, AG 2 and A G 3)
Migration process:
If you are first migrating AG 2 using the existing IP address of AG 2, ensure to perform the following actions:
Shut down AG 2
Ensure that Prerequisites for Migrating Access Gateway Appliance are met
Install Access Gateway Appliance (newAGA 2) with the same IP address and hostname as of 4.4 SP2 Access Gateway Appliance (AG 2). For information about installing the new Access Gateway Appliance, see Section 4.2, Installing Access Gateway Appliance.
After the installation is complete, the configuration sync up takes some time. Do not modify any configuration during this time.
When the configuration is synced up, the health of this Access Gateway Appliance and the other members of the cluster turn green.
NOTE:After the installed Access Gateway Appliance turns green, it is recommended to migrate all members of Access Gateway Appliance to Access Gateway Appliance 5.0 before applying the changes by using the update option in Administration Console.
Restore any customized files that you backed up earlier as part of Prerequisites for Migrating Access Gateway Appliance.
server.xml: If you have modified any elements or attributes in the 4.4 Service Pack 2 environment, the corresponding changes will need to be applied to the server.xml file of the new Access Gateway Appliance.
Typical changes done to the server.xml in 4.4 SP2 include modifying the 'Address=' attribute to restrict the IP address the application will listen on, or 'maxThreads=' attribute to modify the number of threads.
In the following example, 4.4 SP2 has customized maxThreads value.
<Connector port="9029" enableLookups="false" protocol="AJP/1.3" address="127.0.0.1" minSpareThreads="25" maxThreads="300" backlog="0" connectionTimeout="20000", ... ../>
Make a note of the customizations and merge the changes to the new server.xml file using Advanced File Configurator. For information about how to add or merge files using the Configuration Files page, see Managing Configuration Files
in the NetIQ Access Manager 5.0 Administration Guide. After upgrading to 5.0, to restore the customization, you can upload the backup files or make the changes in file and add to Advanced File Configurator to make the changes effective.
NOTE:Post-Upgrade: To avoid any mismatch of customizations seen on Advanced File Configurator user interface and the file present in the VM server, it is recommended to click the Send Configurations to Servers icon () for all non-temporary files and folders in Access Gateway from the Advanced File Configurator user interface. This action must be performed even if file status is displayed as Configuration sent successfully on the Advanced File Configurator user interface post-upgrade.
Test the Access Gateway Appliance functionality by accessing Access Gateway protected resources and ensuring that pages are rendered successfully.
Repeat Step 1 through Step 4 until you have completely migrated all the existing 4.4 SP2 Access Gateway Appliance (AG 1 and AG 3) to Access Gateway Appliance 5.0.
On the newly added Access Gateway Appliance, restart Tomcat by using the /etc/init.d/novell-mag restart or systemctl restart novell-mag.service command.
Workflow:
Back up any files that you have customized.
Install the new Access Gateway Appliance.
For information about installing the new Access Gateway Appliance, see Section 4.2, Installing Access Gateway Appliance.
Restore the customized files from the backup taken earlier. For information about how to add or merge files using the Configuration Files page, see Managing Configuration Files
in the NetIQ Access Manager 5.0 Administration Guide.
You are upgrading Access Manager 4.4 SP2 to Access Manager 5.0. After upgrading Administration Console and Identity Server to 5.0 version, you require to migrate Access Gateway Appliance to the 5.0 version using the new IP address.
This scenario assumes that you have a server with the system requirements as mentioned in NetIQ Access Manager System Requirements to install the new Access Gateway Appliance.
Consider that the setup includes the following components:
Access Manager 5.0 Administration Console (primary Administration Console: AC 1)
Access Manager 5.0 Identity Server cluster (primary Identity Server: IDP 1 and secondary Identity Server: IDP2)
Access Manager 4.4 SP2 Access Gateway Appliance cluster (primary Access Gateway: AG 1 and secondary Access Gateway: AG 2).
Migration process:
Determine the primary server in the 4.4 SP2 Access Gateway cluster.
In this scenario, AG 1 is the primary server. To verify which is the primary server in your set up, perform the following:
Log in to Administration Console.
Click Devices > Access Gateways and select the cluster.
The primary server is indicated by a red mark beside the IP address.
Install the new Access Gateway Appliance (newAGA 1). See Installing Access Gateway Appliance.
After the installation, you must configure Access Gateway Appliance to specify the IP address of Administration Console (AC 1), user name, and password in the Administration Console Configuration field on the Appliance Configuration page.
Add the newly installed Access Gateway Appliance to the existing Access Gateway Appliance 4.4 Service Pack 2 cluster.
By default, all proxy services of newly added devices to the cluster listen on the same IP address and port. To configure each reverse proxy service to a specific IP address and port, perform the following steps:
Configure a primary IP Address in YaST for the remaining interfaces.
Go to YaST > Network Devices > Network Settings > Overview.
Select the network card and click Edit.
Specify the IP address.
Repeat the steps for all the interfaces.
Click Devices > Access Gateways, and select the device.
Click New IP > OK.
Add the secondary IP address, if applicable, to the interfaces from Network Settings > Adapter List.
Configure the DNS in Network Settings > DNS.
Add the Host entries (if any) in Network Settings > Hosts.
Set up the routing (if any) in Network Settings > Gateways.
Under Services, click Reverse Proxy/Authentication. In the Reverse Proxy List, click the proxy service name. Select the newly added cluster member and select the listening IP address for that service.
(Optional) If you want to specify the outbound connection to the web server, click Web Servers > TCP Connect Options. Select the Cluster Member and select the IP address from the list against Make Outbound Connection Using if you want to select the outbound IP address to communicate with the web server.
Restore any customized files that you backed up earlier as part of Prerequisites for Migrating Access Gateway Appliance.
The files mentioned in Administration Console at <username> > Code Promotion > Settings get restored automatically:
Copy the content of the server.xml file to the corresponding file in the new location.
Typical changes done to the server.xml in 4.4 SP2 include modifying the 'Address=' attribute to restrict the IP address the application will listen on, or 'maxThreads=' attribute to modify the number of threads.
server.xml: If you have modified any elements or attributes in the 4.4 SP2 environment, apply the corresponding changes the server.xml file of the new Access Gateway Appliance.
In the following example, 4.4 SP2 contains maxThreads value.
<Connector port="9009" enableLookups="false" redirectPort="8443"protocol="AJP/1.3" address="127.0.0.1" minSpareThreads="25" maxThreads="300" backlog="0" connectionTimeout="20000", ... ../>
Make a note of the customizations and merge the changed values in the new server.xml file. For information about how to add or merge files using the Configuration Files page, see Managing Configuration Files
in the NetIQ Access Manager 5.0 Administration Guide.
Test the Access Gateway Appliance functionality by accessing Access Gateway protected resources and ensuring that the pages are rendered successfully.
On the Administration Console, specify AGA 1 as the primary server and click Update.
Remove 4.4 SP2 Access Gateway Appliance (AG 1) from the cluster.
Install new Access Gateway Appliance (AGA 2) as in Step 2 and add it to the 4.4 SP2 Access Gateway Appliance cluster as in Step 3.
After you confirm that all the services are running remove 4.4 SP2 Access Gateway Appliance (AG 2) from the cluster.
Click OK > Update all.
Repeat Step 2 to Step 5 until you migrate all existing Access Gateway Appliance from 4.4 Service Pack 2 to 5.0.
After installing Access Gateway Appliance, delete all 4.4 SP2 Access Gateway Appliances from Administration Console.
On the newly added Access Gateway server, restart Tomcat by using the /etc/init.d/novell-mag restart or systemctl restart novell-mag.service command.