Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Network dispatcher 1

Status
Not open for further replies.

Barn

Technical User
Feb 22, 2002
37
0
0
FR
Hi,

I'm using Network Dispatcher on AIX 5.2 with high availability and load balancing options.

The issue here is that, when I stop ND (ndserver stop) the script "goInOp" is not use whereas GoActive and GoStanby are used. goInOp is suppose to delete the aliase of the cluster on the interface (en1 or lo0 in my case) when ND stops or start for the first time:

ifconfig en1 delete cluster_ip
ifconfig lo0 delete cluster_ip

Any idea of what wrong in my configuration?

Thanx in advance.

Barn.
IBM Certified -- lsuser command user
 
Did you create teh GoInOp script yourself? Does it have execute permission? Also: must be placed in the bin directory where ND is installed...

perhaps ndcontrol executor stop instead of ndserver stop?

Note I do not use ND, I just googled for a user's guide and this is what I came up with:

ndugv3_us.pdf p. 178 said:
Problem: Dispatcher high-availability function is not working
This problem appears when a Dispatcher high-availability environment is
configured and connections from the client machines are not being served or
are timing out. Check the following to correct or diagnose the problem:
- Make sure you have created the goActive, goStandby, and goInOp scripts,
and place them in the bin directory where Dispatcher is installed.
- For AIX, Red Hat Linux, and Solaris, make sure the goActive, goStandby,
and goInOp scripts have execute permission set.

also:

same book p.159 said:
Stopping the Dispatcher
Stop all functions of the Dispatcher by:
- Entering ndcontrol executor stop (AIX, Red Hat Linux, and Solaris)

HTH,

p5wizard
 

Indeed I created it myself.
The three scripts have the mode 755 and are placed in the directory : /opt/ibm/edge/lb/servers/bin

When I use "ndserver executor stop" instead of "ndserver stop" ND doesn't stop any more, plus I've got and error:
"
can not create registry on port 10,099.
java.lang.NullPointerException
blablabla
"



Barn.
IBM Certified -- lsuser command user
 
I'm sorry, I used "ndserver executor stop" instead of "dscontrol executor stop".

AND NOW IT WORKS!

goInOp is used. I'll use the both:

dscontrol executor stop
ndserver stop

in a stop_nd.ksh script.

Thank you!

Barn.
IBM Certified -- lsuser command user
 
Good thing you caught it yourself - I would have probably read over it a couple of times until it would have caught my eye...

Allthough I'm a bit curious - manual says "ndcontrol executor stop" - not "dscontrol executor stop" Or is that just another name for the same command?

ndcontrol - Network Dispatcher CONTROL
dscontrol - DiSpatcher CONTROL

HTH,

p5wizard
 
/distrib/scripts/nd # ls -l /usr/bin|grep control
-rwx------ 1 root system 526 Oct 6 2003 cbrcontrol
-rwx------ 1 root system 520 Oct 6 2003 ccocontrol
-rwx------ 1 root system 523 Oct 6 2003 dscontrol
-rwx------ 1 root system 520 Oct 6 2003 nalcontrol
-rwx------ 1 root system 523 Oct 6 2003 ndcontrol
-rwx------ 1 root system 525 Oct 6 2003 sscontrol


Same size, I think they are the same command.

I have an other problem now. I can't restart ND properly.

#ndserver start

ends with no error but the executor is not started. When I try to start it:
#ndcontrol executor start

Error : kernel was not loaded.


Is that because I'm in a 64 bits kernel mode? I'm not sure because when I restart the system, "ndserver start" works well. I don't need to start the executor manualy and every think is configure.

Any ideas?

Barn.
IBM Certified -- ls command user
 
Check out if there is something configured in /etc/inittab or /etc/rc.local or... that starts some extra daemon or loads a kernel extension at boot time.


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top