Tool

jimgoodall's picture
tool
Reads:

4786

Score:
2.333335
2.3
3
 
Comments:

0

ndsall

(View Disclaimer)

license: 
Free

This script can start all instances of eDirectory on a server at boot time, and can shut them all down gracefully at shutdown.

#!/bin/bash
case "$1" in
	start)
		/opt/novell/eDirectory/bin/ndsmanage startall
		;;
	stop)
		/opt/novell/eDirectory/bin/ndsmanage stopall
		;;	
	restart)
		/opt/novell/eDirectory/bin/ndsmanage stopall
		/opt/novell/eDirectory/bin/ndsmanage startall
		;;
	*)
		echo "Useage: $0" \
		"{start|stop|restart}"
		;;
esac

Copy the script into a file in /etc/init.d and flag it as executable (chmod +x)

You can now configure it to stop / start all instances at desired run levels (I used "System Services (Runlevel)" from yast to do this, setting it to run at levels 3 and 5)

Enjoy!

Cheers

Jim


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

Post new comment

Anonymous
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <p> <a> <em> <i> <cite> <code> <img> <ul> <ol> <li> <div> <dl> <dt> <dd> <b> <strong> <h1> <h2> <h3> <pre> <table> <td> <tr> <th> <blockquote>
  • Lines and paragraphs break automatically.
  • Glossary terms will be automatically marked with links to their descriptions. If there are certain phrases or sections of text that should be excluded from glossary marking and linking, use the special markup, [no-glossary] ... [/no-glossary]. Additionally, these HTML elements will not be scanned: a, abbr, acronym, code, pre.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
5 + 5 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

© 2012 Novell