Hello,
I have been set up AWS enterprise cluster using AWS Marketplace(AWS Marketplace: Neo4j Enterprise Causal Cluster)
(*Recently we have taken Startup license)
When I test Neo4j connection after complete create resources in AWS, all connection succeed(I can monitor 3 nodes(1 Leader , 2 Follower) in neo4j desktop.
But, when I reboot("sudo reboot" in ssh terminal) a specific EC2 instance, this instance couldn't restart(It means that the instance didn't join neo4j cluster, And I couldn't connect ssh to this EC2 instance)
I can read from system log in AWS EC2 console.
e[0m] A start job is running for dev-xvdb.device (1min 28s / 1min 30s)
e[K[e[0me[0;31m* e[0m] A start job is running for dev-xvdb.device (1min 29s / 1min 30s)
e[K[e[0;1;31m*e[0me[0;31m* e[0m] A start job is running for dev-xvdb.device (1min 29s / 1min 30s)
e[K[e[0;1;31m TIME e[0m] Timed out waiting for device dev-xvdb.device.
......
[e[0;32m OK e[0m] Started Initial cloud-init job (metadata service crawler).
[e[0;32m OK e[0m] Reached target Network is Online.
Starting Availability of block devices...
[e[0;32m OK e[0m] Reached target Remote File Systems (Pre).
[e[0;32m OK e[0m] Reached target Remote File Systems.
[e[0;32m OK e[0m] Reached target Cloud-config availability.
[e[0;32m OK e[0m] Started Availability of block devices.
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.
Press Enter for maintenance
I doubt that what is "dev-xvdb"?
I checked cloudformation template (https://s3.amazonaws.com/neo4j-cloudformation/neo4j-enterprise-stack-4.2.1.json).
In this template EBS doesn't create "xvdb", It create two volumns "/dev/sda1" and "/dev/sdb".
I think "/dev/sda1" will play a role as a data storage, but I can't find codes which initialization and mount this "/dev/sdb".
"BlockDeviceMappings": [
{
"DeviceName": "/dev/sda1",
"Ebs": {
"VolumeType": {
"Ref": "VolumeType"
},
"VolumeSize": "100",
"DeleteOnTermination": "true"
}
},
{
"DeviceName": "/dev/sdb",
"Ebs": {
"VolumeType": {
"Ref": "VolumeType"
},
"VolumeSize": {
"Ref": "VolumeSizeGB"
},
"Encrypted": {
"Ref": "EncryptDataVolume"
}
}
}
]
What is next step to solving this problem?
- Do modify cloudformation template?
- Or Set up other cluster options?
- Or I looking forward best(easy) solution to implement Neo4j Causal Cluster in AWS.
Thank you.