Monday, December 28, 2009

How to install and commission all A2E 8.0 elements on a demo laptop

This document explains how to install and commission all A2E elements (SM,AM,SESM,IPCM,PROV,MAS,RTP) on a demo laptop computer. SM,AM,SESM,IPCM, PROV and MAS can be deployed in same operational system (not supported, lab use only), however RTP should be installed in different operational systems. To make this possible you need to install VMware server which is going to run as A2E RTP Platform for RTP (ple3).

Recommended Hardware Requirements

  1. 2 Core CPU
  2. 4G Memory

1) Installing A2E platform on laptop

Boot your laptop from A2E platform CD. Type “install-kvm LabMachine” for starting installation. LabMachine parameter is necessary for skipping hardware compatibility check in installer. Most laptops have only one ethernet interface even they have 4G of memory and 2 Core CPU. No worries second interface won’t be necessary.

Please proceed with installer guide to finish platform installation.

Please apply platform patches if there is one.

2) Installing MCP and Oracle

  • Place Oracle installer load in /var/mcp/media directory with ntappadm.

  • Place MCP load in /var/mcp/loads directory with ntappadm

  • Extract your MCP_14.0.0.0_X.zip which located in /var/mcp/loads

  • Copy all files in /var/mcp/loads/MCP_14.0.0.0_X/install_scripts/bin to /var/mcp/install directory

  • Copy installprops.txt, Staging_A2E-Demo_Small.tags and Staging_A2E-Demo_Small.xml in /var/mcp/loads/MCP_14.0.0.0_X/install_scripts/data to /var/mcp/install directory

  • Populate installprops.txt by hand or with script populateInstallpropsFile.pl

  • Populate Staging_A2E-Demo_Small.tags by hand or script populateTagsFile.pl

  • Execute ./oracleInstall.pl it will install Oracle software to demo laptop

  • After oracle install run ./mcpInstall.pl –p installprops.txt –i Staging_A2E-Demo_Small.xml –t Staging_A2E-Demo_Small.tags, this will install MCP in your laptop.

3) Installing MAS on A2E Platform

  • Place Setup_linux_platform_14.0.0.30_2009.12.01.bin load in /var/mcp/loads directory with root rights
  • chmod 777 Setup_linux_platform_14.0.0.30_2009.12.01.bin for execute right
  • ./ Setup_linux_platform_14.0.0.30_2009.12.01.bin
  • Accept license agreement and wait till installer ends its job
  • Hit Enter to finalize the setup
  • After that you need to install other bin files like Setup_linux_Crbt_14[1].0.0.30_2009.12.01.bin etc. with the same method above.

On A2E system, MAS and MCP cannot have the same IP address. Demo laptop has only one ethernet interface. You need to add second IP address to this interface so MAS can use that.

To do that,

# ifconfig eth0:0 192.168.54.17 netmask 255.255.254.0 up

# vim /etc/sysconfig/network-scripts/ifcfg-eth0:0

Add following lines in this script to make this eth0:0 permanent (hey, remember these are my IPs, you should use yours instead)

DEVICE=eth0:0

BOOTPROTO=static

BROADCAST=192.168.55.255

IPADDR=192.168.54.17

NETMASK=255.255.254.0

NETWORK=192.168.54.0

ONBOOT=yes

4) Installing VMware Server on A2E Platform

Standart A2E platform has many rpm files and tools installed, however some basic tools and packets do not exist which are available in other Red Hat release by default. So we need to add some rpm packets by hand. You need to get following 2 packets for installing VMware server.

· make-3.81-1.1.x86_64.rpm

· VMware-server-2.0.1-156745.x86_64.rpm

Then, install them

# rpm -ivh make-3.81-1.1.x86_64.rpm
# rpm -ivh VMware-server-2.0.1-156745.x86_64.rpm

If all rpm installations were successful then we can configure vmware server settings. To do that execute,

# /usr/bin/vmware-config.pl

Follow directions to complete configuration. You need to pay attention 2 major thing in here. First you need to change installation directories and make them in /var/mcp partition (cause default values are small disk size in A2E disk layout). Second, you need to select a main ethernet interface for all bridge connections (it should be eth0)

After configuration is done, you can access vmware server gui via your browser. https://192.168.54.16:8333

You can login with your root/password. After this point you can resume with PLE3 installation

5) Installing A2E BCP Platform on VMware Server

A2E BCP platform requires 40GB of disk space and 2 NICS. You need to create your VM with this specs to avoid any interuption during installation procedure. 40GB of disk space quite large if you use a laptop but remember this not a dedicated space, it is the largest, so no harm to set disk space in 40GB in VMware server menu.

After boot from iso, you can follow OS installation guide and finish the installation. Remember RTP needs different IP than MCP and MAS platforms.

Wednesday, December 9, 2009

L2/L3 Emulation with WANem

How to Emulate a Long Distance Network Cloud with WANem

WANem is a very useful and strong open source network emulator if you'd like to emulate WAN environment in your LAN.

Download from http://wanem.sourceforge.net/ . It's live CD so need to install, just boot and go.

There is 2 type of emulation that i need to create. L3 (pure ip network emulation) and L2 (pure ethernet network emulation)

L3 emulation is quite easy to configure, you need a server/laptop that has at least 2 NICs. We will put this server/laptop between your source and destination and you will define WANem's IP as default GW for this 2 servers.

L2 emulation needs a special handling, cause remember this is pure L2, so you need to set you NICs as bridge.

To do that,

From the Console execute “exit2shell”

Make all interfaces up with,

ifconfig eth0 0.0.0.0 up
ifconfig eth1 0.0.0.0 up
ifconfig eth2 0.0.0.0 up
ifconfig eth3 0.0.0.0 up

Create a bridge-group interface:

brctl addbr br0

Add each interface to the bridge-group br0

brctl addif br0 eth0
brctl addif br0 eth1
brctl addif br0 eth2
brctl addif br0 eth3

Assigned an ip address to the bridge-group br0 for management

ifconfig br0 192.168.1.2 netmask 255.255.255.0

Add default route so you can manage the WANem box from another network

route add default gw 192.168.1.1

Start the tool again with the command “wanem”

I hope you find is useful

Typhoon Master


ESXi 3.5 on HS20 8678 with IDE Controller

How to Install VMWare ESXi 3.5 on IBM HS20 8678 Blade with IDE Controller

I was trying to install VMWare 3.5 on one of the 32bit servers of mine for Virtulization. As you know ESXi 4.0 is for 64bit CPUs and if you want to install VMware Hypervisor, you must use ESXi 3.5 or ESX 3.0 which is not free.

If you look at Hardware Compatibility List for 8678, you will find out ESXi 3.5 is not offically supported. That's correct, you cannot install ESXi 3.5 if you have IDE controller (if you have SCSI controller, you cannot install it but it is still be unsupported configuration).

I googled it in couple of websites, and i can say the solution that find is workin successfully.

Problem occurs when ESXi 3.5 OS try to find your Hard Drive Controller. It is giving an error that setup cannot find any hard drive controller.

The exact error is,

Installation operation Failed!

The installation operation has encountered a fatal error: Unable to find a supported device to write the VMware ESX Server 3i 3.5.0 image to.

Ok if you have this error, following workaround maybe a solution for you as well.

You need to reach ESXi's console by hitting ALT-F1 during that error screen. You need to access ESXi's console so you change some pre installation scripts by hand and make the problem gone.

You'll be prompted for a login, type root, just hit enter for password.

lspci for determinate what type of controller that you have

Mine is CSB5 IDE Controller, now you need figure that out that this soulution is solving your problem or not. To figure that out,

fdisk -l

If any outputs, you're ready for the next step, otherwise you might have one the unsupported controller types.

i.e. CSB6 RAID/IDE Controller (i couldn't make it work)

The next step is changing /usr/lib/vmware/installer/Core/TargetFilter.py file with vi

You need to search for def IDEFilter(lun) and change

return interface.GetInterfaceType() == ScsiInterface.SCSI_IFACE_TYPE_IDE

to

return interface.GetInterfaceType() == ScsiInterface.SCSI_IFACE_TYPE_ISCSI

:wq

After that you should install command by typing "install" in console. It will bring you ALT-F2, you need to ALT-F1 again to access console again. You will see (Enter Install) screen, press Enter then F11 for license confirmation. If everything is ok, you should see your driver in screen Select a Disk, Select your disk and Enter for continue.

That's it.

I hope you find it useful. For further info, check this site http://vm-help.com/esx/esx3i/ESXi_install_to_IDE_drive/ESXi_install_to_IDE_drive.php

Typhoon Master