Creating a Db2 pureScale instance in a virtual environment using a single physical server (Linux)
You might find that creating a Db2 pureScale instance on a single physical server is useful in some environments.
Before you begin
Creating a Db2 pureScale instance in a virtual environment using a single physical server is not supported in a production environment. It is only for demonstration, education, and internal testing.
You must have a network adapter for the service console or VMkernal, and a separate network adapter for the public network to be able to connect to remote clients. You must have a local disk or FC SAN storage that you export as virtual disks to the guest VMs.
About this task
To create a Db2 pureScale instance in a Linux® virtual environment with one physical server:
- Install and configure VMware ESX/ESXi 5.0
- Configure a host-only IP address to be used as the private network for all VMs on this host.
- Configure a shared host IP address to be used as the public network for all VMs sharing host IP address. You must configure a shared host IP address to access the external network.
- Create a guest VM image for the first Db2 pureScale member on the physical server.
- Assign your exported virtual disks to the member VM. Refer to pureScale disk requirements for how many shared disks that are required
- Install Linux operating system on the guest VM.
- You can create more Db2 pureScale members, the primary cluster caching facility (CF), and the secondary CF by cloning the VM image of the first member or following the same procedure. All guest VMs that you create must reside on the same physical server.
- Install the Db2 pureScale Feature. When you create the pureScale instance, choose the guest VMs that you created on the same physical server.
- Create a database or move existing databases to the instance you created.