Guideline to Create Two IP Addresses on Same Host, in order to run Shareplex for source and target on the same host with seperate databases
In order to run Shareplex for source and target on same host with seperate databases, you need two IP addresses on same host. The following is just the Guideline to Create Two IP Addresses on Same Host. Your SA may take different approach.
You can have two IP addresses using either one of following options:
1. Use two NIC cards.
This allows you to have two different IPs with associates hostname within the same server.
2. Adding virtual hosts in Solaris
IP addresses in Solaris are set by creating a hostname file for an interface and then putting the IP address for that hostname in the /etc/hosts file. Multiple interfaces require a hostname file for each interface, but each interface can have multiple hostname files allowing the creation of multiple IP addresses for the same interface.
For example a machine with an interface called le0:
Create a file /etc/hostname.le0 with the hostname in (can be fully qualified or not).
Add an entry in etc/hosts
To create virtual IP addresses (that is have the interface arp for more than one IP address) create hostname files /etc/hostname.le0:1 for the first virtual IP address, /etc/hostname.le0:2 for the second and so on.
Hence in /etc there will now be files:
the hostname entries for the virtual host created in the same way with a corresponding entry in /etc/hosts
Once you have two IP addresses or virtual host names on same physical host, then you can login to each virtual host and install shareplex by following the same instructions in the installation guide.