2016-11-07 154 views
0

我正在为payara 4.1(最新版本)设置集群,我使用了实例机器和das ,当我尝试在安装后启动集群时,创建节点( 1,2)和创建实例我得到这个:Glassfish(Payara)集群将无法启动

start-cluster cluster 
remote failure: inst2: Could not start instance inst2 on node node2 (inst2). 

Command failed on node node2 (inst2): Previous synchronization failed at Oct 18, 2016 3:03:13 PM 
Will perform full synchronization. 
Removing all cached state for instance inst2. 
NCLS-ADMIN-00010 
CLI802 Synchronization failed for directory config, caused by: 
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateNotYetValidException: NotBefore: Mon Nov 07 09:26:30 CET 2016 
Command start-local-instance failed. 

To complete this operation run the following command locally on host inst2 from the GlassFish install location /opt/payara41: 

lib/nadmin start-local-instance --node node2 --sync normal inst2 
inst1: Could not start instance inst1 on node node1 (inst1). 

Command failed on node node1 (inst1): Previous synchronization failed at Oct 18, 2016 3:03:18 PM 
Will perform full synchronization. 
Removing all cached state for instance inst1. 
NCLS-ADMIN-00010 
CLI802 Synchronization failed for directory config, caused by: 
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateNotYetValidException: NotBefore: Mon Nov 07 09:26:30 CET 2016 
Command start-local-instance failed. 

To complete this operation run the following command locally on host inst1 from the GlassFish install location /opt/payara41: 

lib/nadmin start-local-instance --node node1 --sync normal inst1 

The command start-instance failed for: inst2 inst1 
Command start-cluster failed. 

对于集群:

  • 群集名称:集群。
  • 节点:node1,node1。
  • 实例:inst1,inst2。

我使用:

  • 贾乌德7
  • 似鲭水狼牙鱼4.1.1.163 #badassfish(建立215)
  • 的Centos 6

回答

0

问题是之间的通信故障由于证书验证失败导致SSL异常,DAS和远程节点。

例外情况是,您的证书尚未生效,这意味着您的证书的“有效日期”是未来的日期。如果您的系统时间错误并且过去(即您在多天后刚刚恢复的虚拟机),您也可以获得此信息。

进一步的问题是已经尝试了完全同步。不幸的是,这项工作通过第一个删除所有的配置,然后然后试图从DAS中检索新的配置。在您无法访问DAS或通信失败的情况下,您将留下远程节点,甚至无法手动启动。

此行为旨在最终在Payara Server中进行更改,但在此之前,请避免在启动远程实例时使用sync=full

+0

确实!! 我更新了实例机器的日期,它的工作原理! 非常感谢 –