Netezza Performance Server Replication Services 3.0.2.0 release notes
Versions 3.0.2.0 comes with changes to user interfaces related to nzdr status and nzdr replication start/stop, and NRS alerts.
Features
- nzdr status user interface updates
-
- Monitor node status separately using:
nzdr status node [--details] - Added a tabular format for node status with the following columns:
- node-name
- reachable
- health
- replication-status
- nps-status
- Monitor high level DB status using:
nzdr status db [--details] - Added tabular format for DB status which displays whether the database is in sync.
- Monitor node status separately using:
- Granular start and stop of replication
-
- You now have the option to start and stop replication for a specific database (not just at the
node level)
using:
nzdr replication [start|stop] --db-name <DB_NAME> [--node-name] <NODE_NAME> - You can now see more database-specific info in nzdr status.
- To support granular start and stop of replication, added specific replication field attributes
like
Capture StatusandApply Status. - Introduced a new replication state in nzdr status to show whether replication has been suspended only for a specific database.
- You now have the option to start and stop replication for a specific database (not just at the
node level)
using:
- Facility to prune older acknowledged alerts
- You can now prune the older acknowledged alerts
using:
nzdr alert prune --prune-age <age> --alert_rcs <list of alert types>
- New alerts
- The system alerts:
- When the NRS storage reaches 85%.
- When NPS goes down.
- Ability to set capture and apply flags on Replication nodes
- You can set the following flags in
local_config.jsonat each node to customize thenzbackup/nzrestoreflags. Following are the default setting:"c_capture_opts" : "-disableViewCheck -skipUnchangedViewDefs -useCxidZonemap 1", "c_apply_opts" : ""
- NRS logs rotation policy
- The NRS logs rotation policy is changed to size based rotation instead of daily rotation.
- Kafka version upgrade
- Upgraded Kafka version to 3.2.3.
Fixed issues
- Fixed the issue with backup happening on primary if database is in standalone state on replica.
- If
nzbackupfails partially, replication will now cleanupDIFFbackup directory. - Fixed the issue with the
cpds_deploynrstool not recognizing the -f option to deploy custom certificates. - The
backupmgrcan now remove database from DB_LIST. - Resolved the
kafka-client-ssl.propertiesfile corruption issue caused by nzdr add node command. - Fixed the failure of NRS incremental backup via filesystem if the full backup is taken via non filesystem (EMC).
- Resolved the replication failure issue with database due to
backupsetID directory not being created undertemp_backup_dir. - Added
nzdr alerthelp correction for list option. backupmgr.lognow shows Info Successfully completed capture for DB when there is an error in queuing the incremental backup.
Known issues
-
- Errors when deleting databases from replication
-
Under a bidirectional replication setup, you might encounter errors when you are running the nzdr delete db command.
You can ignore this error message.
-
- Deployment errors while running cpds_deploynrs with the -i option
- You might encounter this message while running cpds_deploynrs with the
-i option.
mmlsfs: Command failed. Examine previous error messages to determine cause.You can ignore this error message.
-
- Update and delete database failure on one of the replication systems
-
-
If nzdr update db failed on one of the replication systems, the nzdr list db output on both systems might be different.
WORKAROUND 1:
To revert to the state from before the update, complete the following steps:- Reach out to IBM Support to fix the failure.
- Run nzdr update db on the local system again.
-
If nzdr delete db failed on one of the replication systems, the nzdr list db output still displays the database on the system where it failed to delete the database.
WORKAROUND 2:
To manually delete the database, complete the following steps:- Log in to the system where the nzdr list db output displays the database to
be deleted.
ssh e2n1 docker exec -it nrs_replmgmt bash - Remove the database entry from /var/replmgmt/config/global_config.json.
- Remove the database from /var/replmgmt/status/status.json.
- Prune all kafka records from the database topic:
- Find the database topic
name:
/opt/kafka/bin/kafka-topics.sh --list --bootstrap-server localhost:29092 - On the list that was generated, find the topic that contains that database name.
- Change directories:
cd /var/replmgmt/kafka/ - Add the topic name from the list to prune.config and set offset to
-1. - Update
prune.config./opt/kafka/bin/kafka-delete-records.sh --bootstrap-server localhost:29092 --offset-json-file prune.config --command-config /var/replmgmt/config/kafka-client-ssl.properties -
- If it is a primary system, log in to the host container and delete the database directory: /nrsbackup/temp_backup_dir.
- If it is a replica system, log in to the host container and delete the database directory: /nrsbackup/temp_restore_dir.
- Find the database topic
name:
- Log in to the system where the nzdr list db output displays the database to
be deleted.
-
-
- The latency field in the nzdr status --details output does not include the time takes to restore a given database
-
- The GPFS filesystem for NRS in the Cloud Pak for Data System might not automount after GPFS service startup or system restart
-
WORKAROUND:
After GPFS or CPDS starts, to check whether GPFS filesystem for NRS is mounted or not, run the following command (
sshtoe2n1node as root).>mount | grep gpfs |nrs nrs on /opt/ibm/appliance/storage/nrs type gpfs (rw,relatime,seclabel)If the output does not contain NRS filesystem, run the following command to manually mount it.
[root@e2n1 ~]# /usr/lpp/mmfs/bin/mmmount all Fri Jul 21 14:15:13 EDT 2023: mmmount: Mounting file systems ...
-
- If you run the command nzdr alert prune to pass 0 to
prune-age, the following warning message appears
Ignore this warning message.WARNING: All acknowledged alerts older than 32 days will be removed. Are you sure you want to continue (yes/no)? no
- If you run the command nzdr alert prune to pass 0 to
Limitations
- Netezza Performance Server Replication Services does
not replicate table objects that are specified with
BACKUP DATA OFFandBACKUP OFF. For more information, see Avoiding backup and restore of selected tables. -
Netezza Performance Server Replication Services does not replicate following data objects:
-
GLOBALS- This includes user entries and so on. -
TEMP TABLE- This excludesGLOBAL TEMP TABLE.
-
- Only 2 replication nodes are supported.
- If your replication environment is one way, the size of a compressed change set cannot exceed 2
TB.
If your replication environment is bidirectional, the size of a compressed change set cannot exceed 1 TB.
This limitation is introduced due to the storage limitation in Cloud Pak for Data System.
- NRS does not support DB names with Unicode / Special character.
Upgrade paths
NRS 3.0.2.0 can be upgraded directly from the following versions:
- 3.0.1.0
- 3.0.1.1