Any node that is set up for replication on either a source or target replication server cannot be renamed or removed.
The requested operation fails.
If you want to rename or remove the node, you must first remove the node from replication by issuing the REMOVE REPLNODE command.