Update node nodename repls=enable replm=syncsend will not sync

Blade

Newcomer
Joined
Aug 2, 2019
Messages
3
Reaction score
0
Points
0
PREDATAR Control23

I have a client that I need to replicate. It has replicated in the past. If you perform a remove replnode you receive the following.

Do you wish to proceed? (Yes (Y)/No (N)) y
ANR1630W REMOVE REPLNODE: node_name is not configured for replication.
ANR2679E REMOVE REPLNODE: All of the nodes provided are invalid.
ANR1632E REMOVE REPLNODE: Command failed. Replication state information for the specified nodes could not be removed.
ANS8001I Return code 11.

If you perfrom the update node nodename with repls=enable replm=syncse you receive the following.

tsm: OTSM10>update node nodename repls=enable replm=syncsend
ANR2829E UPDATE NODE: parameter - REPLMODE is not allowed.
ANS8001I Return code 3.

Take off the replm=syncse and it just enables or disables the node. Which that part works but nothing else. I cant remove replnode or update to repls=syncsend.

I know the target server is configured correctly because we have other clients that replicate there from this same TSM server.

Any suggestions would be greatly appreciated.

Thanks
Rick
 
PREDATAR Control23

I have a client that I need to replicate. It has replicated in the past. If you perform a remove replnode you receive the following.

Do you wish to proceed? (Yes (Y)/No (N)) y
ANR1630W REMOVE REPLNODE: node_name is not configured for replication.
ANR2679E REMOVE REPLNODE: All of the nodes provided are invalid.
ANR1632E REMOVE REPLNODE: Command failed. Replication state information for the specified nodes could not be removed.
ANS8001I Return code 11.

If you perfrom the update node nodename with repls=enable replm=syncse you receive the following.

tsm: OTSM10>update node nodename repls=enable replm=syncsend
ANR2829E UPDATE NODE: parameter - REPLMODE is not allowed.
ANS8001I Return code 3.

Take off the replm=syncse and it just enables or disables the node. Which that part works but nothing else. I cant remove replnode or update to repls=syncsend.

I know the target server is configured correctly because we have other clients that replicate there from this same TSM server.

Any suggestions would be greatly appreciated.

Thanks
Rick

You probably need to reset the state via DB2.

I think it was something like this:
su - tsmsrv1 (or the user that runs your db2 instance)
db2 connect to tsmdb1
db2 "update nodes set repl_state=null, repl_mode=null where nodename='node'"

I am 90% sure it was something like this, but by all means please open a PMR and get the commands from IBM and do not just blindly run mine.
 
PREDATAR Control23

I have a client that I need to replicate. It has replicated in the past. If you perform a remove replnode you receive the following.

Do you wish to proceed? (Yes (Y)/No (N)) y
ANR1630W REMOVE REPLNODE: node_name is not configured for replication.
ANR2679E REMOVE REPLNODE: All of the nodes provided are invalid.
ANR1632E REMOVE REPLNODE: Command failed. Replication state information for the specified nodes could not be removed.
ANS8001I Return code 11.

If you perfrom the update node nodename with repls=enable replm=syncse you receive the following.

tsm: OTSM10>update node nodename repls=enable replm=syncsend
ANR2829E UPDATE NODE: parameter - REPLMODE is not allowed.
ANS8001I Return code 3.

Take off the replm=syncse and it just enables or disables the node. Which that part works but nothing else. I cant remove replnode or update to repls=syncsend.

I know the target server is configured correctly because we have other clients that replicate there from this same TSM server.

Any suggestions would be greatly appreciated.

Thanks
Rick
From HELP UPDATE NODE, does your scenario falls under these restrictions:
Restrictions:
* You can set the REPLMODE parameter only if the initial
replication state is NONE. To synchronize data, you change
the replication state to ENABLED or DISABLED and specify a
value for the REPLMODE parameter.
* Data can be synchronized only if you specified
DATES=ABSOLUTE on the IMPORT NODE command. If you specified
DATES=RELATIVE to import data, you must rename the node or
delete its data before replication. If you do not take one
of these steps, you can lose data.
* If the REPLMODE parameter was set incorrectly, you must
issue the REMOVE REPLNODE command before you update the
client node definition. For example, suppose that you
updated the definition of a client node whose data you
wanted to replicate. The data that belongs to the node was
previously exported to the target replication server. You
specified ENABLED as the setting of the REPLSTATE parameter.
However, you did not specify SYNCSEND on the source
replication server. As a result, the REPLMODE parameter was
automatically set to SEND, and data that belongs to the node
could not be synchronized or replicated.

Issuing REMOVE REPLNODE sets the replication state and the
replication mode to NONE. After the REMOVE REPLNODE command
is completed, reissue the UPDATE NODE command with the
correct parameters and values.
 
Top