Thursday, October 18, 2012

WSRR install



1)
Download DB2_97_limited_CD_Linux_x86-64.tar.gz
gunzip DB2_97_limited_CD_Linux_x86-64.tar.gz
tar -xvf DB2_97_limited_CD_Linux_x86-64.tar
cd wser
./db2_setup

2)
Download WSRR_v8.0_LINUX_X86_ML.tar.gz
The installer is same for both 32 and 64 bit
tar -zxvf WSRR_v8.0_LINUX_X86_ML.tar.gz
./launchpad.sh

Installation issues
- set ulimit properly. Otherwise, install will fail
- gsr9015e: error related to creating remote database although local database is chosen
check resolv.conf and hosts file for proper name resolution.

3) Start server
4) Load enablement profile
5) I repeated the same steps across 3 servers (ex: s1, s2 and s3)

6) Server functionalities
s1 - WSRR Master Governance server
s2 - WSRR Production Runtime
s3 - WSRR Governance Runtime

7) Login into s1 WAS administration console
Security -> SSL Certificate and Key management -> Keystores and Certificates -> NodeDefaultTrustStore -> Signer Certificates -> Retrieve from port
Host name: s2
Port: 9443
Alias: s2

Repeat the step for s3 host

8) Login into s2 WAS administration console

Security -> SSL Certificate and Key management -> Keystores and Certificates -> NodeDefaultTrustStore -> Signer Certificates -> Retrieve from port
Host name: s1
Port: 9443
Alias: s1
If you are using itcam, configure signer certificate for itcam as well.


9) Login into s3 WAS administration console

Security -> SSL Certificate and Key management -> Keystores and Certificates -> NodeDefaultTrustStore -> Signer Certificates -> Retrieve from port
Host name: s1
Port: 9443
Alias: s1

If you are using itcam, configure signer certificate for itcam as well.

10) Update the realm name to be unique on each server. 

11) Restart all the servers


12) Login to ServiceRegistry for s1
http://s1:9080/ServiceRegistry
Perspective -> Configuration -> Active Profile -> Promotion -> Promotion Properties
Edit the xml to have the following content.

============

<?xml version="1.0" encoding="UTF-8"?>

<promotion-configuration xmlns="http://www.ibm.com/xmlns/prod/serviceregistry/6/1/PromotionProperties" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<environments>

<environment name="http://www.ibm.com/xmlns/prod/serviceregistry/6/1/GovernanceProfileTaxonomy#Staging">
<servers>
<server name="s3" port="2809"/>
</servers>
<promotion>
<type>sync-optimized</type>
</promotion>
<security enabled="true">
<wsrrUser>wasadmin</wsrrUser>
<wsrrRealm>defaultWIMFileBasedRealm3</wsrrRealm>
<wsrrPassword>(DES)aXRzbzR5b3U=</wsrrPassword>
</security>
</environment>

<environment name="http://www.ibm.com/xmlns/prod/serviceregistry/6/1/GovernanceProfileTaxonomy#Production">
<servers>
<server name="s2" port="2809"/>
</servers>
<promotion>
<type>sync-optimized</type>
</promotion>
<security enabled="true">
<wsrrUser>wasadmin</wsrrUser>
<wsrrRealm>defaultWIMFileBasedRealm2</wsrrRealm>
<wsrrPassword>(DES)aXRzbzR5b3U=</wsrrPassword>
</security>
</environment>

</environments>

<transitions>

<transition name="http://www.ibm.com/xmlns/prod/serviceregistry/lifecycle/v6r3/LifecycleDefinition#ApproveStagingDeployment">
<target-environments>
<name>http://www.ibm.com/xmlns/prod/serviceregistry/6/1/GovernanceProfileTaxonomy#Staging</name>
</target-environments>
<ignore-relationships>
<name>Deployed_On_Application_Server</name>
<name>Runs_On_Computer_System</name>
</ignore-relationships>
<include-policies>
<applies-to>http://www.ibm.com/xmlns/prod/serviceregistry/profile/v6r3/GovernanceEnablementModel#ServiceLevelDefinition</applies-to>
<applies-to>http://www.ibm.com/xmlns/prod/serviceregistry/profile/v6r3/GovernanceEnablementModel#ServiceLevelAgreement</applies-to>
<applies-to>http://www.ibm.com/xmlns/prod/serviceregistry/profile/v6r3/GovernanceProfileExtensions#ServiceLevelDefinition</applies-to>
<applies-to>http://www.ibm.com/xmlns/prod/serviceregistry/profile/v6r3/GovernanceProfileExtensions#ServiceLevelAgreement</applies-to>
<allowed-state>http://www.ibm.com/xmlns/prod/serviceregistry/lifecycle/v6r3/LifecycleDefinition#SOAPolicyLifecycle_Approved</allowed-state>
<allowed-state>http://www.ibm.com/xmlns/prod/serviceregistry/lifecycle/v6r3/LifecycleDefinition#SOAPolicyLifecycle_Superceded</allowed-state>
<allowed-state>http://www.ibm.com/xmlns/prod/serviceregistry/lifecycle/v6r3/LifecycleDefinition#SOAPolicyLifecycle_Deprecated</allowed-state>
<allowed-state>http://www.ibm.com/xmlns/prod/serviceregistry/lifecycle/v6r3/LifecycleDefinition#SOAPolicyLifecycle_Retired</allowed-state>
</include-policies>
</transition>

<transition name="http://www.ibm.com/xmlns/prod/serviceregistry/lifecycle/v6r3/LifecycleDefinition#ApproveProductionDeployment">
<target-environments>
<name>http://www.ibm.com/xmlns/prod/serviceregistry/6/1/GovernanceProfileTaxonomy#Production</name>
</target-environments>
<ignore-relationships>
<name>Deployed_On_Application_Server</name>
<name>Runs_On_Computer_System</name>
</ignore-relationships>
<include-policies>
<applies-to>http://www.ibm.com/xmlns/prod/serviceregistry/profile/v6r3/GovernanceEnablementModel#ServiceLevelDefinition</applies-to>
<applies-to>http://www.ibm.com/xmlns/prod/serviceregistry/profile/v6r3/GovernanceEnablementModel#ServiceLevelAgreement</applies-to>
<applies-to>http://www.ibm.com/xmlns/prod/serviceregistry/profile/v6r3/GovernanceProfileExtensions#ServiceLevelDefinition</applies-to>
<applies-to>http://www.ibm.com/xmlns/prod/serviceregistry/profile/v6r3/GovernanceProfileExtensions#ServiceLevelAgreement</applies-to>
<allowed-state>http://www.ibm.com/xmlns/prod/serviceregistry/lifecycle/v6r3/LifecycleDefinition#SOAPolicyLifecycle_Approved</allowed-state>
<allowed-state>http://www.ibm.com/xmlns/prod/serviceregistry/lifecycle/v6r3/LifecycleDefinition#SOAPolicyLifecycle_Superceded</allowed-state>
<allowed-state>http://www.ibm.com/xmlns/prod/serviceregistry/lifecycle/v6r3/LifecycleDefinition#SOAPolicyLifecycle_Deprecated</allowed-state>
<allowed-state>http://www.ibm.com/xmlns/prod/serviceregistry/lifecycle/v6r3/LifecycleDefinition#SOAPolicyLifecycle_Retired</allowed-state>
</include-policies>
</transition>

</transitions>
</promotion-configuration>

============

13) 
http://s1:9080/ServiceRegistry
Perspective -> Administration -> View -> Concepts -> New
Name: testObject
Finish

14) Perspective -> Administration -> View -> Concepts -> testObject -> Governance




1 Comments:

At August 13, 2015 at 7:07 AM , Blogger Radha said...

I am trying to install WSRR in my Windows 8.1 -64 bits version system.
I am not clear on where to start with.
Is there any free version of WAS available?
Is there any single package which contains all prerequisites softwares as well as WSRR software?

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home