Overview
You are upgrading from version 10.x to 12.x.
You have configured Aurea Monitor Management Server (AMS) 12.x and Aurea Monitor Intermediary (AI) 12.x as per the suggestions in the Aurea Monitor: Upgrade and Clustering blog.
After the installation, you have imported the data from AMS 10.X and AI 10.x to AMS 12.X and AI 12.X.
Most of the configurations updated properly, except in External directories, where you got "java.lang.NoClassDefFoundError: com/oblix/access/ObAccessException" and the External Directories configurations are not imported properly.
You suspect this is due to AI 12.x is not connected back to Sonic MQ message brokers because in JMS transport you can see exceptions like: JMS Error: Cannot instantiate class: com.sonicsw.jndi.cachecontext.ContextFactory.
Solution
The java.lang.NoClassDefFoundError is thrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of a class and no definition of the class could be found (typically when a class was available when the program was compiled but is no longer available at runtime). The name of the class that is not found in this case shows that you have a custom implementation in place and the issue is not AMS related.
To pinpoint the real root cause of the issue we recommend trying to get AMS / AI 12.x working with the default JMS first, and then implement the LDAP configuration manually.
Notes for the LDAP configuration steps
When configuring LDAP after upgrading from version 10.x to 12.x consider the following:
- Make sure you have the latest version of AMS and AI (there are LDAP related fixes in 2021 R1 HF1)
- The configuration needs to be done manually via the web UI. There is no way to import the external directories from AI 10.X to AMS 12.x as a package.
- Make sure you use the proper LDAP password (not the encrypted version that you might have found in your 10.x installation).
- The configuration steps have changed since the 11.x/12.x version. At a high level these are steps:
-
Import certificates into AMS if you are using SSL + LDAP
-
You will need to add the certificates under AMS -> Configure View -> Platform -> Trusted Certificate Authorities -> Import.
-
Detailed steps are in the Aurea Monitor Management Server Guide -> Configuring -> Configuring the Platform -> Trusted Certificate Authorities.
-
-
Configure your LDAP Directory on AMS
-
Go to AMS -> Configure View -> Platform -> User Directories -> Add the LDAP Directory.
-
Detailed steps are in the Aurea Monitor Management Server Guide -> Configuring -> Configuring the Platform -> Configuring External User Directories.
-
-
Configure LDAP on the Intermediary Profile
-
Go to the Intermediary profile in AMS -> Network -> Profiles -> Click on the desired Intermediary profile and under the User Directory section add as External User Directory the configuration of your LDAP.
-
Detailed steps are in the Aurea Monitor Management Server Guide -> Configuring -> Configuring the Network -> Profiles -> User Directory.
-
-
Configure the Group/Roles mapping on the Intermediary Profile
-
You need to define the roles on the Intermediary profile by going in AMS -> Network -> Profiles -> Click on the desired Intermediary profile and under the Group/Role Mapping section edit the Group/Role Mapping method. This section will be visible only when the User Directory type specified is External User Directory (see the previous step).
- Detailed steps are in the Aurea Monitor Management Server Guide -> Configuring -> Configuring the Network -> Profiles -> Group/Role Mapping.
-
-
Import certificates into AMS if you are using SSL + LDAP