Installing the first node
-
Run the
startcommand and wait until services are ready:$ ./sfn start $ -
Run the
statuscommand to check services' status:$ ./sfn statusThe first node is installed and ready when the status of all services is
healthy:================================================== Secure Factory Service ================================================== Secure Factory Service installed under: /usr/local/arm/secure_factory Secure Factory Service Docker containers: Secure Factory Service status: version: 2019.12.827 running version: 2019.12.827 status: healthy Secure Factory Command service status: version: 2019.12.827 running version: 2019.12.827 status: healthy HSM client service: version: 398 running version: 398 status: healthy Mongo database service: version: 4.2.0 running version: 4.2.0 status: healthyIf a service is in
unhealthystatus for more than few minutes, try using therestartcommand. -
Run the
db statuscommand to check the database cluster status:$ ./sfn db statusVerify that the first node database is up and in
PRIMARYstate:Mongodb Replica Set Status Number of active members: 1 Mongodb cluster members: Id: 1 Hostname: secure-room-node-1 IP Address: 192.168.33.10 State: PRIMARY Id: 2 Hostname: secure-room-node-2 State: down Id: 3 Hostname: secure-room-node-3 State: down $