|
|
|
@ -97,6 +97,17 @@ sub configure_drbd |
|
|
|
|
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, 'print' => 1, level => 1, key => "job_0128"}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# Record that we're done configuring pacemaker. |
|
|
|
|
$anvil->Database->insert_or_update_variables({ |
|
|
|
|
variable_name => "system::drbd::configured", |
|
|
|
|
variable_value => 1, |
|
|
|
|
variable_default => "", |
|
|
|
|
variable_description => "striker_0296", |
|
|
|
|
variable_section => "system", |
|
|
|
|
variable_source_uuid => $anvil->data->{sys}{host_uuid}, |
|
|
|
|
variable_source_table => "hosts", |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
return(0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1117,6 +1128,17 @@ sub configure_pacemaker |
|
|
|
|
check_corosync($anvil); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# Record that we're done configuring pacemaker. |
|
|
|
|
$anvil->Database->insert_or_update_variables({ |
|
|
|
|
variable_name => "system::pacemaker::configured", |
|
|
|
|
variable_value => 1, |
|
|
|
|
variable_default => "", |
|
|
|
|
variable_description => "striker_0295", |
|
|
|
|
variable_section => "system", |
|
|
|
|
variable_source_uuid => $anvil->data->{sys}{host_uuid}, |
|
|
|
|
variable_source_table => "hosts", |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
return(0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|