升级到 IDPA 2.7 或 2.7.1 后,报告和分析 (DPA) 在 ACM 中将应用程序服务和应用程序服务器管理 UI 显示为红色
Summary: 本知识库文章介绍如何解决 IDPA 2.7 或 2.7.1 升级后 DPA 应用程序服务无法启动的问题。
Symptoms
升级到 IDPA 2.7 或 2.7.1 后,报告和分析 (DPA) 应用程序服务无法启动,并且在 ACM UI 中显示红色标记。
检查位于以下位置的 DPA 应用程序服务器日志: <dpa_install_path>/services/logs/server.log 将显示以下消息。
2021-12-27 14:14:07,113 INFO [com.emc.apollo.serverstart.pre.PreApolloStartupBean] (ServerService Thread Pool -- 62) Server starting
2021-12-27 14:14:07,114 INFO [com.emc.apollo.services.container.ApolloClusterServicesJbossImpl] (ServerService Thread Pool -- 62) initIsMaster set to true
2021-12-27 14:14:07,115 INFO [com.emc.apollo.serverstart.pre.PreApolloStartupBean] (ServerService Thread Pool -- 62) Apollo Version: 19.5.0.1634796815
2021-12-27 14:14:07,117 WARN [org.jboss.jca.core.connectionmanager.pool.strategy.PoolBySubject] (ServerService Thread Pool -- 62) IJ000604: Throwable while attempting to get a new connection: null: javax.resource.ResourceException: Could not create connection
...
Caused by: org.postgresql.util.PSQLException: Connection to <ip_address_of_DS>:9003 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
...
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method) [rt.jar:1.8.0_301]
和
2021-12-27 14:14:07,120 ERROR [com.emc.apollo.serverstart.pre.PreApolloStartupBean] (ServerService Thread Pool -- 62) exception trying to obtain a connection to the database: com.emc.apollo.jdbc.ApolloSQLException: Could not obtain connection: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:jboss/datasources/ApolloDS
最后,要确认问题,请使用 PUTTY/SSH 以 root 用户身份登录 DPA DS 服务器,并运行以下命令:
dpa.sh ds con
如果 DPA APP 服务未启动,则输出类似于以下内容:
dpa.sh ds con
EMC Data Protection Advisor
[INFO] Service Bind Address(es) : 127.0.0.1
Client(s) Address(es) : 127.0.0.1/32
::1/128
127.0.0.1/32
::1/128
<DS_ip_addresss>/32
Command completed successfully.
Where <DS_ip_addresss> is the IP Address of the DPA Datastore, example 10.0.0.20.
识别问题具有以下一个或两个组成部分:
- 在服务绑定地址 (es)中,未列出 DPA 数据存储区的 IP 地址。
- 在Client (s) Address (es)中,未列出 DPA 应用程序的 IP 地址。
在此示例中,同时存在这两个问题。
此命令的正确输出应如下所示:
dpa.sh ds con
EMC Data Protection Advisor
[INFO] Service Bind Address(es) : <DS_ip_addresss>
Client(s) Address(es) : 127.0.0.1/32
::1/128
127.0.0.1/32
::1/128
<App_ip_addresss>/32
<DS_ip_addresss>/32
Command completed successfully.
Where <DS_ip_addresss> is the IP Address of the DPA Datastore, example 10.0.0.20.
Where <App_ip_addresss> is the IP Address of the DPA Application, example 10.0.0.21.Cause
Resolution
此问题无法解决。
此问题有解决方法。请按照以下步骤作。
必须同时执行以下两项中的任一项。在某些情况下,只有 DPA 数据存储区绑定地址必须是固定的,而在其他情况下,DPA 数据存储区绑定地址和 DPA 应用程序的客户端地址都必须是固定的。
修复 DPA 数据存储区“绑定”地址。
1. 在 DPA 数据存储区服务器上,从/opt/emc/epa/services/bin目录运行以下命令:
dpa.sh ds con -b <ip_address_of_the_datastore>
2. 重新启动 DPA 数据存储区服务。
opt/emc/epa/services/bin 目录:
dpa.sh ds restart
3. 重新启动 DPA 应用程序服务。
/opt/emc/epa/services/bin 目录:
dpa.sh app restart
修复 DPA 应用程序客户端地址
1. 在 DPA 数据存储区服务器上运行以下命令,从 /opt/emc/epa/services/bin 目录:
dpa.sh ds con -a <ip_address_of_the_dpa_application>
2. 重新启动 DPA 数据存储区服务。
/opt/emc/epa/services/bin 目录:
dpa.sh ds restart
3. 重新启动 DPA 应用程序服务。
/opt/emc/epa/services/bin 目录:
dpa.sh app restart
删除配置 IP(如果存在
)如果在 dpa.sh ds con 的输出中看到列出以下 IP,则必须将其删除:
10.63.62.242/32
要删除此条目,请在 DPA 数据存储区服务器上运行以下命令(从 /opt/emc/epa/services/bin 目录:
dpa.sh ds con -d 10.63.62.242
有关更多详细信息或信息,请联系 戴尔技术支持 。