|
|
@ -54,6 +54,9 @@ if (not $anvil->data->{sys}{database}{connections}) |
|
|
|
# Get the job details |
|
|
|
# Get the job details |
|
|
|
load_job($anvil); |
|
|
|
load_job($anvil); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Hold until both subnodes are marked as configured and not in maintenance mode. |
|
|
|
|
|
|
|
wait_for_subnodes($anvil); |
|
|
|
|
|
|
|
|
|
|
|
# Update the user passwords |
|
|
|
# Update the user passwords |
|
|
|
update_passwords($anvil); |
|
|
|
update_passwords($anvil); |
|
|
|
|
|
|
|
|
|
|
@ -215,9 +218,6 @@ sub configure_pacemaker |
|
|
|
return(0); |
|
|
|
return(0); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# Hold until both subnodes are marked as configured and not in maintenance mode. |
|
|
|
|
|
|
|
wait_for_subnodes($anvil); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Run on both nodes. |
|
|
|
### Run on both nodes. |
|
|
|
# Enable pcsd and start the pcsd daemon. |
|
|
|
# Enable pcsd and start the pcsd daemon. |
|
|
|
my ($return_code) = $anvil->System->enable_daemon({daemon => "pcsd.service"}); |
|
|
|
my ($return_code) = $anvil->System->enable_daemon({daemon => "pcsd.service"}); |
|
|
|