onmode -P: Unknown option
Posted in 2010
Topics: Server Administration, Networking & sqlhosts Configuration
Hi,
I start a drdaexec thread on IDS 11.5 FC6WE with the command 'onmode -P
start $DRDA_SERVER'.
The $DRDA_SERVER is an Alias in etc/sqlhosts:
---------------------------------------
ids_hdw_dr drsoctcp host drdaexec
---------------------------------------
The problem:
How do I have to start the drdaexec thread on IDS 11.5 UC3WE?
Here the command returns an error "onmode -P: Unknown option".
The command "execute function task('start listen', 'ids_hdw_dr')" is not
known on 11.5 UC3WE.
Anyone have a good solution?
Regards,
Holger de Wall
On May 6, 3:15 pm, Holger de Wall <hol...@dewall-net.de> wrote:
> Hi,
>
> I start a drdaexec thread on IDS 11.5 FC6WE with the command 'onmode -P
> start $DRDA_SERVER'.
> The $DRDA_SERVER is an Alias in etc/sqlhosts:
> ---------------------------------------
> ids_hdw_dr drsoctcp host drdaexec
> --------------------------------------->
> The problem:
> How do I have to start the drdaexec thread on IDS 11.5 UC3WE?
>
> Here the command returns an error "onmode -P: Unknown option".
>
> The command "execute function task('start listen', 'ids_hdw_dr')" is not
> known on 11.5 UC3WE.
>
> Anyone have a good solution?
>
> Regards,
>
> Holger de Wall
The onmode command to dynamically start listener threads while the
system is online was new to 11.50.xC6. To start the drda listener
thread on 11.50.xC3 you need to add the line to you sqlhosts file, add
the DBSERVERALIAS to your $ONCONFIG file, and you then need to bring
your server off-line and then back up so that it rereads the sqlhosts
file and will then start up the appropriate listener threads.
Jacques Renaut
IBM Informix Advanced Support
APD Team
> On May 6, 3:15 pm, Holger de Wall <hol...@dewall-net.de> wrote:
>> Hi,
>>
>> I start a drdaexec thread on IDS 11.5 FC6WE with the command 'onmode -P
>> start $DRDA_SERVER'.
>> The $DRDA_SERVER is an Alias in etc/sqlhosts:
>> ---------------------------------------
>> ids_hdw_dr drsoctcp host drdaexec
>> --------------------------------------->>
>> The problem:
>> How do I have to start the drdaexec thread on IDS 11.5 UC3WE?
>>
>> Here the command returns an error "onmode -P: Unknown option".
>>
>> The command "execute function task('start listen', 'ids_hdw_dr')" is not
>> known on 11.5 UC3WE.
>>
>> Anyone have a good solution?
>>
>> Regards,
>>
>> Holger de Wall
>
> The onmode command to dynamically start listener threads while the
> system is online was new to 11.50.xC6. To start the drda listener
> thread on 11.50.xC3 you need to add the line to you sqlhosts file, add
> the DBSERVERALIAS to your $ONCONFIG file, and you then need to bring
> your server off-line and then back up so that it rereads the sqlhosts
> file and will then start up the appropriate listener threads.
>
> Jacques Renaut
> IBM Informix Advanced Support
> APD Team
Thanks!
It works now.
My mistake was the missing comma between the DBSERVERALIASES in the
$ONCONFIG file.
Because the listener thread was only started by 'onmode -P' in 11.50.xC6
I didn't notice this fault.
Holger de Wall