Sunteți pe pagina 1din 18

1

Installation of MFP-8.0

Installation of MFP-8.0 as non-root


using CLI
2

Installation of MFP-8.0

Document Control Information


Document Author: Hemanth Marella
Document Owner: Hemanth Marella
Project Manager: Vidya Sankaran
Document Reviewer(s): Record of each reviewer must be maintained.

Reviewer Name Role Date Reviewed

Amit K Garg Advisory Infrastructure Architect-


Solutions

Abhay Sharma Infrastructure Specialist Middle-


Ware Administrator
Rakesh Kumar Infrastructure Specialist Middle-
Ware Administrator

Note: All reviewers in the list are considered required unless explicitly stated as optional.
3

Installation of MFP-8.0

Table of Contents
S.NO TITLE PAGE NO

1. Pre-Requisite for Installing MFP8.0 5

2. Installation of IIM 6

3. Installation of WAS Liberty 7

4. Fix Pack Installation of WAS Liberty 8

5. Installation of IBM JAVA 9

6. Installation of MFP-8.0 10

7. Fix Pack Installation of MFP-8.0 13

8. Configuration of Analytics 14

9. Run-Time Configuration of MFP-8.0 15

10. Checking Console 16


4

Installation of MFP-8.0

Below are the binaries generally used for installation of Mobile First Platform Version 8.0

Binary Part Number Required Version

RHEL NA At least V7.1

IBM Installation Manager CND0ZML V1.8.5 and above

WAS Liberty Profile CIK2VML V8.5.5

IBM JAVA CN6PSML At least V7

Mobile First Platform CNE4GEN V8.0

Database DB2 CIXV0ML V10 and Above


5

Installation of MFP-8.0

1.Pre- Requisites for installing MFP8.0


1.OS Type and Version
2.Server space should be at least 70GB.
3.IIM version should be at least 1.8.4
4.WAS version at least 8.5.5
5.IBM JAVA at least V7
6.Database DB2 or MySQL or Oracle.
7.Server Details

Since it is a non-root installation, check whether client provides user or not.


If client mention user, then proceed for installation in specified user.
If client did not mention any user for installation, then
Create a user mfps and keep password using below commands
useradd -g mfps
passwd yourwish

Now,
Switch to mfps user from root.
su - mfps
Now transfer all binaries into mfps user and unzip into the directories accordingly for our
convenience.
6

Installation of MFP-8.0
7

Installation of MFP-8.0
2.Installation of IIM
Go to IIM unzipped directory location and give the following command
Go to path/home/mfps/binaries/IIM/
Run./userinstc -acceptLicence

Installation of IIM is successful, and installation directory will be displayed.


8

Installation of MFP-8.0
3.Installation of WAS Liberty
Now we should install Liberty, so go to IIM installed directory and check available packages.
Go to/home/mfps/IBM/Installationmanager/eclipse/tools/
Run./imcl listavailablepackages -repositories <Path to WAS binary directory >

Above is the available package, install the package by giving the following command.
Go to/home/mfps/IBM/Installationmanager/eclipse/tools/
Run./imcl install <package name> -repositories <Path to WAS binary directory> -
acceptLicense
9

Installation of MFP-8.0
4.Fix-Pack Installation of WAS Liberty
Now Apply latest fix pack to WAS. Make sure latest fix pack is available.
Go to/home/mfps/IBM/Installationmanager/eclipse/tools/
Run./imcl listavailablepackages -repositories <Path to fix pack binary directory >

Now install the fix pack by running the below command.


Go to/home/mfps/IBM/Installationmanager/eclipse/tools/
Run./imcl install <fix pack name> -repositories <Path to fix pack binary> -acceptLicense
10

Installation of MFP-8.0
5.Installation of IBM JAVA
Go to/home/mfps/IBM/Installationmanager/eclipse/tools/
To Check available package
Run ./imcl listavailablepackages -repositories <Path where java binary was unzipped>

Now we will Install IBM Java the required version,


While the installation of IBM Java we have to mention java installation directory, So
Go to/home/mfps/IBM/Installationmanager/eclipse/tools/
Run./imcl install <Java package> -repositories <Path where java binary unzipped> -
installationDirectory <Path to Liberty Directory> -acceptLicense
11

Installation of MFP-8.0
6.Installation of MFP-8.0
Before installing MFP, create an instance named mfps using following command
Go to path/home/mfps/IBM/WebSphere/Liberty/bin/
Run./server create mfps
Check the available MFP version
Go to/home/mfps/IBM/Installationmanager/eclipse/tools/
Run ./imcl listavailablepackages -repositories /home/mfps/software/MFP/MobileFirst_
Platform_Server/disk1/

Now
Download and edit install-liberty-db2.xml file, must give following inputs in the file.
1.MFP Repository Location
2.MFP Installation Location
3.Liberty installed Directory and the instance name.
4.Database details like Hostname, Port Number, Driver Path, Instance Name, Password.
5.MFP version
6.Check whether Appcenter is required or not and edit according to that.
We can download xml file with and without appcenter using the following link .
http://public.dhe.ibm.com/software/products/en/MobileFirstPlatform/docs/v800/Silent_Install
_Sample_Files.zip
If appcenter is required for the client then edit install-liberty-db2.xml file.
1.MFP Repository Location.
2.MFP Installation Location.
3.Token License – (Make it either true or false based on client requirement).
12

Installation of MFP-8.0
4.WAS Liberty Installed Location.
5.WAS Liberty Server Instance.
6.Database Details like Hostname, Port Number, Driver Path.
7.Appcenter Details like username, password, dbname.
8.Version of MFP
13

Installation of MFP-8.0
If appcenter is not required then edit install-no-appcenter.xml file.
1.MFP Repository Location.
2.MFP Installation Location
3.Version of MFP
4. Token License – (Make it either true or false based on client requirement).

Save the edited file and note file location.


Go to IIM directory and give the following command.
Go to/home/mfps/IBM/Installationmanager/eclipse/tools/
Run./imcl input < install-liberty-db2.xml file Path> -acceptLicense
14

Installation of MFP-8.0
7.Fix-Pack Installation of MFP-8.0
Now apply Fix pack
Go to/home/mfps/IBM/InstallationManager/eclipse/tools
Run./imcl listavailablepackages -repositories /home/mfps/software/FixMFP/MobileFirst_
Platform_Server/disk1

In install-liberty-db2.xml two things need to edit


1.Repository Location i.e. change to fix pack repository location.
2.Full Version of fix pack

Save file and note the file location


Go to IIM directory and give the following command.
Go to/home/mfps/IBM/Installationmanager/eclipse/tools/
Run./imcl input < install-liberty-db2.xml file Path> -acceptLicense
15

Installation of MFP-8.0
Now check Which are all we installed so far in IIM, using the following command
Go to/home/mfps/IBM/Installationmanager/eclipse/tools/
Run./imcl listinstalledpackages
16

Installation of MFP-8.0
8.Configuration of Analytics
Create Instance named analytics using following command,
Go to/home/mfps/IBM/WebSphere/Liberty/bin/
Run./server create analytics
Now edit port numbers of analytics (Change according to client requirement) in server.xml.
Go to /home/mfps/IBM/MobileFirst_Platform_Server/Analytics/configuration-samples/
Edit configure-liberty-analytics.xml file,
1.MFP Installed Directory
2.Liberty Installed Directory
3.Name of server Instance which we created

Save the file and run ant command.


Go to path /home/mfps/IBM/MobileFirst_Platform_Server/shortcuts
Run
1 ./ant -f /home/mfps/IBM/MobileFirst_Platform_Server/shortcuts/ configure-liberty-
analytics.xml

2./ant -f /home/mfps/IBM/MobileFirst_Platform_Server/shortcuts/ configure-liberty-


analytics.xml install
17

Installation of MFP-8.0
9.Configuring Runtime for MFP
Before run time creation, make sure required database was installed and note DB details.
Go to path /home/mfps/IBM/MobileFirst_Platform_Server/MobileFirstServer/configuration-
samples/
Edit configure-liberty-db2.xml
1.Database details like Hostname, Port Number, Driver Path, Instance Name, Password
2.Enable Farm and give unique id (If needs)
3.Analytics Port number
4.Enale Push service
Save the file and run ant commands in following path.
Go to path /home/mfps/IBM/MobileFirst_Platform_Server/shortcuts/
Run
1./ant -f /home/mfps/IBM/MobileFirst_Platform_Server/shortcuts/ configure-liberty-
db2.xml
2./ant -f /home/mfps/IBM/MobileFirst_Platform_Server/shortcuts/ configure-liberty-
db2.xml databases
3./ant -f /home/mfps/IBM/MobileFirst_Platform_Server/shortcuts/ configure-liberty-
db2.xml install
Note: -While running these commands you can observe the type of work these commands do.
Now start both mfps and analytics using following commands
Go to path/home/mfps/IBM/WebSphere/Liberty/bin/
Run./server start mfps --clean
Run./server start analytics --clean
18

Installation of MFP-8.0
10.Checking Console
Check the console using the hostname, port number and context root.
Context Root for
analytics: -http://hostname:portnumber/analytics/console
mfpconsole: -http://hostname:portnumber/mfpconsole
If appcenter is installed then,
appcenter: -http://hostname:portnumber/appcenterconsole

S-ar putea să vă placă și