WildFly CLI - Add Subordinate Host Controller Server Identity Secret Value: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
Line 29: Line 29:
</pre>
</pre>


=Verify if the change took=
Verify if the change took.


<pre>
<pre>

Latest revision as of 02:32, 19 February 2016

Internal

Set the host controller's secret identity

Use the actual host name instead of "master". Note that the value of the host name will be used in the authentication process as "user name" on the domain controller.

/host=master/core-service=management/security-realm=ManagementRealm/server-identity=secret:add(value="YXAwMm11MTIzIQ==")                                                 
{
    "outcome" => "success",
    "response-headers" => {
        "operation-requires-reload" => true,
        "process-state" => "reload-required"
    },
    "result" => undefined,
    "server-groups" => undefined
}

Reload

Use the actual host name instead of "master".

cd /host=master
:reload

Verify if the change took.

/host=master/core-service=management/security-realm=ManagementRealm/server-identity=secret:read-attribute(name=value)
{
    "outcome" => "success",
    "result" => "YXAwMm11MTIzIQ=="
}