Setting up a Virtual IDG/ IBM Datapower environment on your laptop

advertisement
Setting up a Virtual IDG/ IBM Datapower environment on your
laptop
What you will need to configure
Your machine must be 64-bit x86 virtualization technology (VT-x) enabled, minimum 2.0
GHz core speed, with 4 virtual CPU’s we would recommend at least 150 GB disk space,
and 4-8GB RAM. Note: a single instance of the XI52 VM can be configured in what
called a “Thin” mode which only requires 258.8 MB of space.
The Thin configuration allow you to setup multiple appliances. Including an XC10
environment.
1. VM Ware Player version 6 x64 version
http://www.vmware.com/products/player/
Download and install the VM Ware player.
2. An ESXi minimum version 4.1 minimum works well, but Version 5.0 or Version
5.1 editions: Standard, Enterprise, or Enterprise Plus can be used. For this setup
we used 4.1 (Install this on the VM Player)
https://my.vmware.com/web/vmware/details/hypervisor_41_installable_free/ZCV
0YmRoaHBiZHdldA
3. IBM WebSphere DataPower Integration Appliance XI52 Virtual Edition NonProduction Environment.
Note: Name of the image should be xi6010_vmware_nonpd
Login to IBM Partnerworld and search for the CRQ4KEN image if this link fails
https://www14.software.ibm.com/webapp/dswdown/dswdown.wss/web/jsp/home.
jsp?link_id=SDHome




The IBM download will contain
The image to deploy the DataPower virtual appliance
The Resource Kit for IBM WebSphere® DataPower Virtual Edition
And a Quick Start PDF document
Deploy the VM Player environment
Deploy the ESXi VMware vSphere server on the VMware player
The ESX/ESXi 4.1 not listed as a supported version
If you choose to install the OS later you won’t find a pre-existing option to build an ESX VM.
Use the “Other” Guest operating system. Will work fine.
Whatever media (DVD, or DVD Clone) you’re using. Point to the ESXi .ISO image
Next set up you VM Player parameters
For the Hard Disk I used a max size of 150GB, perhaps over-kill, but I did not pre allocate the space. So
the setup is Current size approximately 40G with a Max of 150GB.
I set my Processors to 4 and memory to 8GB, which I found was the most critical setting. I have 2 XC10’s
and 4 XI52’s. When they are all running they will consume the 8GB. SO if you have 16GB, I’d consider
using 12GB. Assuming that when you’re using this environment, you are primarily focused on the
configuration task of setting up your appliance.
Once the ESXi server is up and running you will need to configure your ESXi Server.
Configure your ESXi Server
This Sys@dmin has an excellent step-by-step setup guide for this section.
http://www.sysadmintutorials.com/tutorials/vmware-vsphere-4/esxi-4/setting-up-vmware-esxi-4/
Deploy the Datapower XI52 virtual machine OVA appliance
1. From Menu: File->Deploy OVF Template
You choose xi6000.vmware.ova file.
OVF Overview
Accept End User License Agreement
Give Name and Location to this instance. You may want to include more detail such as
the port number if you intend to setup multiple instances.
e.g. XI52-Port-30 XI52-Port-40 ect…
Deployment Configuration:
Small-4CPU-4GB RAM is good configuration for laptop environment.
NOTE: This is sufficient for a laptop environment in which you intend to run multiple
instances. The setup will only allocate 258 MB of disk space
Disk Format:
Choose Thin provisioned Format
Network Mapping:
Choose default options
Ready to Complete:
Enter Finish, and deploy will start:
Configure the Datapower appliance
Power on the VM for DataPower appliance by right clicking VM icon.
Now open console to the VM by right click and then clicking ‘Open Console’.
login: admin
password: admin
Enter Disaster Recovery mode [yes/no]: no
Enter Common Criteria Compatibility mode? [yes/no]: no
Please enter new password: provide-password
Do you want to run the Install Wizard? [y:n]: y
Step 1 – Do you want to configure network interfaces? [y]: y
Do you have this information? [y]: y
Do you want to configure the eth0 interface? [y]: y
Do you want to enable DHCP? [y]: n
Enter the IP address for interface in CIDR notation: 192.168.xxx.100/24
Note:
whichever is appropriate for your network, check ip address for your machine]
for home network /24 would be ideal network address.
Enter the IP Address for default IPv4 gateway []: 192.168.xxx.100
Note: Provide same address as earlier.
Enter n for question to configure eth1, eth2 and eh3 interfaces.
Step 2:
Do you want to configure network services? [y]: y
Do you want to configure DNS? [y]: n
Step 3:
Do you want to define unique system identifier for the appliance? [y] :
Note: Give any appropriate unique system identifier
Step 4:
Do you want to configure remote management access? [y]: y
These configuration require the IP address of the local interface that manage the
appliance.
Do you have this information? [y]: y
Do you want to enable SSH? [y]: y
Enter the local IP address [0 for all] : 192.168.1.10
Note: Provide same IP as provided earlier.
Enter the port number [22]:
Note: Just enter to accept default
Do you want to enable WebGUI access [y]: y
Enter the local IP address [0 for all] : 192.168.1.10
Note: Provide same IP as provided earlier.
Enter the port number [9090]:
Note: Just enter to accept default
Step 5: Do you want to configure a user account that can reset passwords [y]: y
Note: This is optional, but you can provide userid and password ( keep note of this
detail)
Step 6: Do you want to configure the hard disk array? [y]: y
Do you want to continue? [y]:
Enter name for the file system [ondisk]: dpdiskarray
Note: Provide any appropriate name
Step 7 – Do you want to review the current configuration? [y]:
Do you want to save current configuration? [y]: y
Overwrite previously saved configuration? [y/n]:
And now everything should be set and you can get to web interface.
Download