It sounds like you're setting up an Informix HDR (High-Availability Data Replication) environment on your personal laptop using Oracle VirtualBox and RHEL 7.9. Since you've checked the Linux side connectivity and everything seems fine (e.g., Telnet, SSH), the issue might be related to the Informix configuration.
Here are a few things you might want to check:
Informix Configuration Files:
ONCONFIG: Ensure that the DRDAUTO parameter is set correctly, and the HDR configuration parameters such as DRLOSTFOUND, DRINTERVAL, and DRTIMEOUT are properly configured.
sqlhosts: Make sure the sqlhosts file has the correct entries for both the primary and secondary servers, and that the hostnames/IPs are reachable from both machines.
Networking:
Firewall: Check if the firewall settings on your VM or host machine are blocking the required ports for Informix. You can use iptables or firewalld commands to check and update the firewall settings.
Network Interfaces: Ensure that the network interfaces are correctly configured and the VMs can communicate with each other.
Hostname Resolution:
Make sure that both the primary and secondary servers can resolve each other's hostnames. You can test this with the ping command. If necessary, update the /etc/hosts file with the appropriate IP addresses and hostnames.
Informix Services:
Verify that the Informix services (oninit processes) are running on both servers. You can use the onstat - command to check the status of the servers.
HDR Logs:
Check the Informix logs for any error messages related to HDR. The logs can provide more detailed information about what might be going wrong. You can find the logs in the online.log file located in the $INFORMIXDIR directory.
Matching Configuration:
Ensure that the ROOTPATH, DBSERVERNAME, DBSERVERALIASES, and other critical parameters are correctly set and match between the primary and secondary servers as required.
Network Latency:
Although unlikely in a local VM setup, network latency or instability can sometimes cause issues. Check the stability of the network connections between the VMs.
If you've already checked these aspects and are still facing issues, please provide more specific details or error messages from the logs. This information will help in diagnosing the problem more accurately.
You can also refer to the Informix documentation for detailed steps on HDR setup and configuration. If the issue persists, consider reaching out to the IBM support team for more specialized assistance.
Good luck with your setup!
------------------------------
Muhammad Sajjad
------------------------------
Original Message:
Sent: Sat July 27, 2024 09:17 AM
From: AMIT PATEL
Subject: HDR Issue
Hello All,
I'm doing Informix HDR setup in personal laptop with using vmware.
VM - Oracle Virtual Box
Linux - RHEL 7.9
IDS - 14.10
I create two virtual machines and accessing those machine using putty in windows.
Looks I am missing something in Informix configuration side, As I checked everything from Linux side connectivity e.g. Telnet, ssh etc.
Kindly help me to find the root cause to HDR Connection issue.
attached the word file for the reference.
Thanks
Amit Patel
------------------------------
AMIT PATEL
------------------------------