Hi Sergio
Your command syntax seems correct, so to me it implies it could be a Shell related issue. Split the work up into steps to see if it yields more information...
[Pri]$ ontape -s -L 0 -F -t STDIO | ssh informix@<RSS IP or DNS name> "source ~informix/.bashrc; ontape -p -t STDIO"
When your Primary returns to it's command prompt...
[RSS]$ onmode -d RSS <Pri INFORMIXSERVER>
...or my preference is as
@Art Kagel suggests, as it may be faster...
Set these $ONCONFIG parameters...
[Pri]$ onstat -g cfg | egrep "DISCOVER|SNAPSHOT|LOG_INDEX"
LOG_INDEX_BUILDS 1
ENABLE_SNAPSHOT_COPY 1
CDR_AUTO_DISCOVER 1
...then...
[RSS]$ ifxclone -T -S <Pri INFORMIXSERVER> -I <Pri IP or DNS name> -P <Pri Port> -t <RSS INFORMIXSERVER> -i <RSS IP or DNS name> -p <RSS Port> -d RSS
...then monitor the read/write activity with "onstat -D r 1" and also the Message Log.
You will have to format your sqlhosts file and tidy up your $ONCONFIG afterwards because ifxclone doesn't like doing the housekeeping.
Regardless of which method you choose, you may want to give consideration to RSS_FLOW_CONTROL on your Primary node.
------------------------------
Kirit Rana
------------------------------
Original Message:
Sent: Tue July 21, 2020 05:32 PM
From: Sergio Peres
Subject: ontape error
Hi,
I am doing one RSS installation over version 14.10.FC3 and getting some strange errors.
Using and old command that I used before:
ontape -s -L 0 -t STDIO -F | (ssh informix@10.0.11.113 '. ~/.bashrc ; ontape –p -e –t STDIO ; onmode –d RSS cmsantar01_net')
I am receiving syntax errors about ontape and onmode.
There any new options to define? like DBREMOTECMD for bash?
Thanks for any help,
SP
------------------------------
Sergio Peres
AIRC
Coimbra
------------------------------
#Informix