NetWorker(Linux): NetWorker 19.13으로 업그레이드할 때 AUTHC 서버를 구성할 수 없음
Summary: Linux NetWorker Server를 이전 릴리스에서 19.13.x로 업그레이드하면 AUTHC 설치 중에 Java 오류가 보고됩니다.
Symptoms
NetWorker Authentication Service는 이전 릴리스에서 19.13.x로 업그레이드할 때 다음 오류를 보고합니다.
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/emc/brs/auth/util/ServiceConfigurator has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
AUTHC 구성 스크립트를 실행할 때 동일한 오류가 반환됩니다. /opt/nsr/authc-server/scripts/authc_configure.sh
[root@lnx-srvr01 linux_x86_64]# /opt/nsr/authc-server/scripts/authc_configure.sh
Specify the directory where the Java Standard Edition Runtime Environment (JRE) software is installed [/opt/nre/java/latest]:
The installation process will install an Apache Tomcat instance.
For optimum security, EMC NetWorker Authentication Service will
use a non-root user (nsrtomcat) to start the Apache Tomcat instance.
If your system has special user security requirements, ensure that proper
operational permissions are granted to this non-root user (nsrtomcat).
Please refer to NetWorker Installation Guide.
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/emc/brs/auth/util/ServiceConfigurator has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:359)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:641)
ERROR: Could not get hostname in FQDN format.
Cause
NetWorker 19.13에는 JDK(Java Development Kit) 17이 필요합니다. NetWorker Server는 NetWorker 19.12 및 이전 버전에서 사용된 JRE(Java Runtime Environment) 1.8을 사용합니다.
[root@lnx-srvr01 linux_x86_64]# sudo find /usr /opt /lib* -type f -name "java" 2>/dev/null
/opt/nre/java/jre1.8.0_421/bin/java
Resolution
NRE(NetWorker Runtime Environment) 17.0.1 이상 또는 Oracle 라이선스 JDK 17을 설치합니다. NRE는 다음을 통해 사용할 수 있습니다 https://www.dell.com/support/product-details/en-us/product/networker/drivers
NRE(NetWorker Runtime Environment): 소개 및 설치
예:
[root@lnx-srvr01 17.0.1]# rpm -Uvh nre-linux-17.0.1.rpm
warning: nre-linux-17.0.1.rpm: Header V3 RSA/SHA256 Signature, key ID ff48d101: NOKEY
Verifying... ################################# [100%]
Preparing... ################################# [100%]
Updating / installing...
1:nre-17.0.1-1 ################################# [ 50%]
NOTE: To complete configuration execute the following script :
/opt/nre/nreconfig.sh
Cleaning up / removing...
2:nre-8.0.22-1 ################################# [100%]
[root@lnx-srvr01 17.0.1]# /opt/nre/nreconfig.sh
Creating the installation log in /opt/nre/logs/install.log.
Performing initialization. Please wait...
NRE configuration completed
JDK 17로 업그레이드한 후 authc_configure.sh 구성할 스크립트 authc을 설정합니다.
[root@lnx-srvr01 ~]# /opt/nsr/authc-server/scripts/authc_configure.sh Specify the directory where the Java Standard Edition Runtime Environment (JRE) software is installed [/opt/nre/java/latest]: The installation process will install an Apache Tomcat instance. For optimum security, EMC NetWorker Authentication Service will use a non-root user (nsrtomcat) to start the Apache Tomcat instance. If your system has special user security requirements, ensure that proper operational permissions are granted to this non-root user (nsrtomcat). Please refer to NetWorker Installation Guide. The Apache Tomcat will use "lnx-srvr01.networker.lan" as the host name. The Apache Tomcat will use "9090" as the port number. The NetWorker Authentication Service requires a keystore file to configure encryption and to provide SSL support. EMC recommends that you specify a keystore password that has a minimum of six characters. Do you want to use the existing keystore /nsr/authc/conf/authc.keystore [y]? Specify password for the existing keystore: The install will use the existing certificate "emcauthctomcat" for Apache Tomcat. The install will use the existing certificate "emcauthcsaml" for Authentication Service. Creating the installation log in /opt/nsr/authc-server/logs/install.log. Performing initialization. Please wait... The installation completed successfully. [root@lnx-srvr01 ~]# systemctl start networker
NetWorker Server 검토 /nsr/logs/daemon.raw 서비스 시작을 모니터링하려면 다음을 수행합니다. NetWorker: nsr_render_log 사용하여 .raw 로그 파일을 렌더링하는 방법
Additional Information
이 KB에 설명된 문제는 JDK 17 요구 사항이 충족되지 않는 경우 19.13을 새로 배포하는 동안에도 나타납니다.
NetWorker: NetWorker 19.13으로 업그레이드한 후 NMC Launcher가 NMC에 연결되지 않음