Page created: 6 Nov 2019
|
Page updated: 25 Mar 2020
| 2 min read
8.0 Product PingDirectory Administrator Audience IT Administrator System Administrator Software Deployment Method Administration User task Configuration PingDirectoryProxy Product documentation Content Type Capability Directory
-
Create a group called “group-one” using dsconfig.
$ bin/dsconfig create-server-group --group-name group-one
-
Add any directory server to the server group.
If you have set up replication between a set of
servers, these server entries will have already been created by the
dsreplication
enable command.
$ bin/dsconfig set-server-group-prop \ --group-name group-one --add member:server1 $ bin/dsconfig set-server-group-prop \ --group-name group-one --add member:server2 $ bin/dsconfig set-server-group-prop \ --group-name group-one --add member:server3
-
Set a global configuration property
for each of the servers that should share changes in this group.
$ bin/dsconfig set-global-configuration-prop \ --set configuration-server-group:group-one
-
Test the server group. In this example, enable the log publisher for each
directory server in the group,
server-group, by using the --applyChangeTo server-group
option.
$ bin/dsconfig set-log-publisher-prop \ --publisher-name "File-Based Audit Logger" \ --set enabled:true \ --applyChangeTo server-group
-
View the property on the first directory server
instance.
$ bin/dsconfig get-log-publisher-prop \ --publisher-name "File-Based Audit Logger" \ --property enabled
Property : Value(s) ---------:--------- enabled : true
- Repeat step 5 on the second and third directory server instance.
-
Test the server group by disabling the log publisher on the first directory server instance
by using the --applyChangeTo single-server.
$ bin/dsconfig set-log-publisher-prop \ --publisher-name "File-Based Audit Logger" \ --set enabled:disabled \ --applyChangeTo single-server
-
View the property on the first directory server instance.
The first directory server instance
should be disabled.
$ bin/dsconfig get-log-publisher-prop \ --publisher-name "File-Based Audit Logger" \ --property enabled
Property : Value(s) ---------:--------- enabled : false
-
View the property on the second directory server instance.
Repeat this step on the third directory server instance
to verify that the property is still enabled on that server.
$ bin/dsconfig get-log-publisher-prop \ --publisher-name "File-Based Audit Logger" \ --property enabled
Property : Value(s) ---------:--------- enabled : true