Saturday, April 4, 2015

Install Websphere 8.5 IBM Installation Manager silently in preferred location

Download the Installation Manager zip file from IBM site.

Will explain the steps first and give a script to automate this.

unzip the files in desired location.

Edit the install.xml to define the preferred location during silent install.

Original install.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<agent-input clean='true' temporary='true'>
<server>
<repository location='.'/>
</server>
<install>
<offering features='agent_core,agent_jre' id='com.ibm.cic.agent' version='1.6.2000.20130301_2248'/>
</install>
</agent-input>


Modified File:
<agent-input clean='true' temporary='true'>
<profile id='IBM Installation Manager' kind='self'>
<data key='installLocation' value='/websphere8.5/InstallationManager/eclipse'/>
</profile>

<server>
<repository location='.'/>
</server>
<install>
<offering profile='IBM Installation Manager' features='agent_core,agent_jre' id='com.ibm.cic.agent' version='1.6.2000.20130301_2248'/>
</install>
</agent-input>
The below lines has been added 





<profile id='IBM Installation Manager' kind='self'>
<data key='installLocation' value='/websphere_8/InstallManager/eclipse'/>
</profile>

And also in offering attribute profile='IBM Installation Manager' is added

Now execute the below command to do silent install of IBM installation Manager
 ./installc -log /tmp/install.txt -sP -acceptLicense
                 25%                50%                75%                100%
------------------|------------------|------------------|------------------|
............................................................................
Installed com.ibm.cic.agent_1.6.2000.20130301_2248 to the<mentioned directory in install.xml>
cat /tmp/install.txt should contain the following lines if installation is successfull
<?xml version="1.0" encoding="UTF-8"?>
<result>
</result>

Shell script to automate the above steps:
cd <IIM agent path>
unzip agent*.zip
sed -i "2 a\<profile id='IBM Installation Manager' kind='self'>" install.xml
sed -i "3 a\<data key='installLocation' value='/websphere8.5/InstallationManager/eclipse'/>" install.xml
sed -i "4 a\</profile>" install.xml
/installc -log /tmp/install.txt -sP -acceptLicense
 
 

Tuesday, March 10, 2015

CWSIS1535E The messaging engine's unique id (ME_UUID) does not match that found in the data store issue in infosphere MDM

SIB Message Engine has a unique UUID.The UUID can be found in websphere administrative console.

Navigate to Buses > Busname > Messaging engines.

If you are using datasore check in the DB whether the Messaging engine UUID matches or not.If it is  not matching thenyou will get this error.

Please refer the IBM Link for resolution.

make sure the Create tables checkbox is checked.
Restart the MDM server and the tables will be containing the new entries.

If Messaging engine did not start your MDM JVM will not start .



Wednesday, February 4, 2015

Websphere application server template creattion in WAS 8.5

In Websphere Templates were available to create a standardised environment without much repetitive work.

To create a server template a single application server has to be created before.You can configure all the settings to that application server and create a template using that server

This is an example in WAS 8.5,




To understand how template work and benefits please visit the IBM Developer Link

Tuesday, February 3, 2015

wsadmin jython Websphere Variable creation

Below is the function you can use to create Websphere Variable at cell scope

def variableCreation():
   cellname=AdminControl.getCell()
   varName='urvarname';
   varValue='urvarvalue';
   AdminTask.setVariable('[-variableName '+varName+' -variableValue '+varValue+' -scope  Cell='+cellname+']')

Friday, January 30, 2015

Websphere 8.5 Network deployment trial download and installation

Go to IBM developer website  to download websphere ND trial software.

Login with your IBM credentials to download the required packages.

Websphere 8.5 ND trial has 3 parts,all need to be downloaded.

IBM Installation Manager is needed to install Websphere ND.So download IBM Installation manager as well.If needed you can download http server etc...

Step 1:Install IBM Installation Manager

Step 2 .Extract all the three parts in a folder .After extraction you will find repository.config which needs to be added in IIM.

PFB the screenshots for Installation.
Click on Install

Go to File->Preferences to add the repository config

Select the packages needs to be installed.Here only WAS ND is available
 Accep license in next step and click next
Select None if you dont want to create profiles now.Click on finish.

Also found a very good link which explains installation in Linux with diagram.
geekflare