robert_maury Absent Member.
Absent Member.
1435 views

Add new edir server slp config


Hello,
i have an edirectory server (A) which is running correctly with slpd
deam0n
i would like to install a second edirectory on my server (B). But when i
execute the command ndsconfig add i have a warning.

- config slpd on my server A :

net.slp.useScopes = DEFAULT, myScope1, myScope2, myScope3
net.slp.isDA = true
net.slp.DAAddresses = Myserver(A)
net.slp.isBroadcastOnly = false

- command on my server B :

../ndsconfig add -t robert-tree -n o=worldline -a cn=admin.o=worldline
-w pwd -S (server B) -d /var/opt/novell/eDirectory/data/dib/ -b 1025 -l
1027 -o 1028 -O 1029 --config-file
/etc/opt/novell/eDirectory/conf/nds.conf
WARNING: Unable to check the duplicate server context (server
B).o=worldline.robert-tree. : Returning -626Setting Variable data
location to : /var/opt/novell/eDirectory/data

Configuring the NDAP interfaces... Done
Configuring the HTTP interfaces... Done
Configuring the LDAP interfaces... Done

Configuring NetIQ eDirectory server with the following parameters,
Please wait...
--------
Starting the service 'ndsd'... Done.

Checking if server is ready to service requests... Done

Searching for the Tree "ROBERT-TREE" in the network. Please wait...
The given tree does not exist.
Verify the existence of the treename using slpinfo or specify IP
address to configure.
Stopping the service 'ndsd'... Done.

ERROR: ./ndsconfig return value = 52.

slptool findsrvs service directory-agent://server A
service:directory-agent://server A,65535

I don't understand why i can't add the server B.

Best regards


--
robert_maury
------------------------------------------------------------------------
robert_maury's Profile: https://forums.netiq.com/member.php?userid=9145
View this thread: https://forums.netiq.com/showthread.php?t=54002

Labels (1)
0 Likes
3 Replies
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: Add new edir server slp config

On 08/10/2015 06:31 AM, robert maury wrote:
>
> ./ndsconfig add -t robert-tree -n o=worldline -a cn=admin.o=worldline
> -w pwd -S (server B) -d /var/opt/novell/eDirectory/data/dib/ -b 1025 -l
> 1027 -o 1028 -O 1029 --config-file
> /etc/opt/novell/eDirectory/conf/nds.conf
> WARNING: Unable to check the duplicate server context (server
> B).o=worldline.robert-tree. : Returning -626Setting Variable data
> location to : /var/opt/novell/eDirectory/data
>
> Configuring the NDAP interfaces... Done
> Configuring the HTTP interfaces... Done
> Configuring the LDAP interfaces... Done
>
> Configuring NetIQ eDirectory server with the following parameters,
> Please wait...
> --------
> Starting the service 'ndsd'... Done.
>
> Checking if server is ready to service requests... Done
>
> Searching for the Tree "ROBERT-TREE" in the network. Please wait...
> The given tree does not exist.
> Verify the existence of the treename using slpinfo or specify IP
> address to configure.
> Stopping the service 'ndsd'... Done.
>
> ERROR: ./ndsconfig return value = 52.


Have you tried explicitly listing the IP address of the only/other server
in the tree when using ndsconfig? If you use ndsmanage it will prompt you
for this, which can be helpful when setting up something new. For ndsconfig:

-p ip.addr.of.master[:portIfNot524]

> slptool findsrvs service directory-agent://server A
> service:directory-agent://server A,65535


That port looks very wrong. Did you change it somehow for the post, or is
it really that number in the output as well as on the server somehow?

> I don't understand why i can't add the server B.


The error says it cannot find the tree, so apparently you need to tell it
how to find the tree explicitly, which is the -p option on ndsconfig.
Also, be sure firewalls on the host servers, networks, etc. are not
blocking traffic that you expect to get through.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
Highlighted
robert_maury Absent Member.
Absent Member.

Re: Add new edir server slp config


hello,

i add the option -p serverA:port and it's better now. could you confirm
my slpd setting is ok ?

Best regards


--
robert_maury
------------------------------------------------------------------------
robert_maury's Profile: https://forums.netiq.com/member.php?userid=9145
View this thread: https://forums.netiq.com/showthread.php?t=54002

0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: Add new edir server slp config

1. I do not often bother with SLP, so while I do not see anything glaring
(other than the port from your slptool command's response) I am not a
super-expert on SLP. A current test tree I have with fifteen replicas
(all holding a real copy of [root]) has no SLP configuration setup, and no
firewall rules to allow it even if it were.

2. Is there a reason you are wanting SLP to work? There are good reasons
to do so, and most of them are because of clients (Novell Client, in
particular), and then another good reason is because of lots of eDir
servers when not everything holds a copy of the entire tree. I do not
think that SLP is required (regardless of what the docs say) in a tree
where all servers hold real replicas of all other server objects (as in my
tree's case, with fifteen replicas).

Otherwise, SLP is a neat protocol, but not required.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.