How to recreate a DH (Distribution Host)__ from a DMS (Database Management Server)__.

Document ID : KB000028756
Last Modified Date : 14/02/2018
Show Technical Document Details

1) Unsubscribe the existing DH using sepmd -u

For example:

sepmd -u DMS__ DH__@localhost

2) Stop ControlMinder/Access Control

secons -s

3) Make a backup copy of the DMS__ folder and DH__ folder


4) Delete the contents of the original DH__ folder

5) Copy the contents of the DMS__ folder into the empty DH__ folder

6) In the newly populated DH__ folder, remove the following files:

subscribers.* (4 files)

7) In a command prompt, change to the newly populated DH__ folder

8) Run the following command, this will open the local DH while ControlMinder/Access Control is still down)

selang -d .

9) From the selang prompt run the following 2 commands:

so is_dh+
so is_dms-

10) Exit out of selang

11) Start ControlMinder/Access Control

seosd -start

12) subscribe the DH to the DMS

For example:

sepmd -s DMS__ DH__@localhost