MarkLogic: Failed to update hostname - waiting for retry

I am using a cloudformation template for a 3 node cluster and testing DR for AZ failure in AWS.

What I've done:

  • successfully created 3 node cluster (master +2 slave),
  • completed by ASG using Master (instances under ELB go to OutOfService state, which is fine) and EBS, which uses the master
  • created ASG with Master and EBS in another AZ (result: Master returns to the Internet, ELB returned, the website returned, but ... slaves never leave OutOfService status)
  • I uninstalled ASG using slave2 and its EBS. Reconstituted complaints by ASG and EBS, but subordinate instances with these messages:

March 3 16:31:30 ip-10-58-3-36 MarkLogic: Original hostname ip-10-58-3-68.us-west-1.compute.internal does not match our new hostname f-10- 58-3-36.us-west 1.compute.internal Mar 3 16:31:30 ip-10-58-3-36 MarkLogic: [/ opt / MarkLogic / mlcmd / scripts / initialize- node.xsh line: 52 ] Mar 3 16:31:31 ip-10-58-3-36 MarkLogic: no hosts on the network - attempts by other hosts Mar 3 16:31:31 ip-10-58-3-36 MarkLogic: [/ opt / MarkLogic /mlcmd/scripts/initialize-node.xsh line: 56] Mar 3 16:31:31 ip-10-58-3-36 MarkLogic: unknown hosts online Mar 3 16:31:31 ip-10-58-3- 36 MarkLogic: [/opt/MarkLogic/mlcmd/scripts/initialize-node.xsh line: 59] Mar 3 16:31:31 ip-10-58-3-36 MarkLogic: Failed to update host name - waiting for retry Mar 3 16:31:31 ip-10-58-3-36 MarkLogic: [/ opt / MarkLogic / mlcmd / scripts / initialize-node. xsh line: 153] Mar 3 16:31:31 ip-10-58-3-36 MarkLogic: sleep for 14 seconds Mar 3 16:31:31 ip-10-58-3-36 MarkLogic: [/opt/MarkLogic/mlcmd/scripts/initialize-node.xsh line: 154]

/var/log/messages, :

3 15:05:05 ip-10-58-3-36 MarkLogic: MARKLOGIC_INSTANCE: INSTANCE: i- MDM_NODE_NAME: MARKLOGIC_NODE_NAME: NodeB # MARKLOGIC_ZONE: us-west-1a ZONE: us -West-1b

MARKLOGIC_ZONE .

: ? ?

user_data, .

, , , .

, Master (stop service/stop ec2), . , , ?

MarkLogic 8.0-6

+4
1

, , . "", , -:

ASG Master EBS AZ

AWS CF "" , , , "" , Cloud Formation , , ( ) .

CF ( CF). , DynamoDB, EC2, . . , , , EC2. . EC2, ASG, " " . . ASG ( ) - , CF, , - - . , , , EC2.

, : , - ASG , . , , .

, , - EBS - EBS , ML EBS. , , , , . , " " CF. , . " ". (, ..) ( REST API, ).

- * , , , EC2. - , - , .

  • "", , CF-. "" . , .

  • , , , , . . .

  • , . ASG, "" , , . , .

  • ASG ONE .
+3

Source: https://habr.com/ru/post/1671408/


All Articles