creating installations-with-packaging-utility

17
How to install with Packaging Utility and Installation Manager

Upload: strongback-consulting

Post on 14-Apr-2017

489 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Creating installations-with-packaging-utility

How to install with Packaging Utility and Installation Manager

Page 2: Creating installations-with-packaging-utility

www.strongback.us 2

So, you have multiple IBM desktop products…

…and want to take advantage of them all in the same Eclipse interface…

Page 3: Creating installations-with-packaging-utility

www.strongback.us 3

Example combinations:

• IBM Data Studio and Rational Developer for System z– Ability to select an EXEC SQL statement and Run the SQL– Ability to select an EXEC SQL statement and Tune the query – Populate the SQL Outline view - a feature of Data Studio - with the

SQL statements from the COBOL or PLI program that the user is editing - and thus make available all the menu items to Run, Tune, Visual Explain etc. from the SQL Outline view

Page 4: Creating installations-with-packaging-utility

www.strongback.us 4

Example Combination

• Rational Application Developer, Developer for I, and RTC Client

– Web services development for IBM I, from RPG Service Modules– Build a rich web service from 5250 green screens without affecting

the RPG code– Manage RPG source in Team Concert

Page 5: Creating installations-with-packaging-utility

www.strongback.us

Step 1: Get the software

• Download your software from Passport Advantage (PPA)– http://

www-01.ibm.com/software/passportadvantage/pao_customer.html– Get credentials from your PPA technical contact• Available as an eAssembly (meaning there are multiple files)– Example:

IBM Rational Developer for System z Client V9.1 Multiplatform Multilingual eAssembly (CRN3YML)

– IBM Rational Developer for AIX and Linux V9.1 Multilingual Multiplatform eAssembly (CRN3QML)

Page 6: Creating installations-with-packaging-utility

www.strongback.us 6

2) Extract the files to a folder

• tip: use java –jar <filename> to extract file• Put in a shell script and they all go to the “right” directory

Page 7: Creating installations-with-packaging-utility

www.strongback.us

3) Get the Packaging Utility and install• Download Packaging Utility here.• Extract the Packaging Utility• Install using Install.exe– Expand into the InstallImage_win32 directory

Page 8: Creating installations-with-packaging-utility

www.strongback.us

4) Launch Package Utility

• click copy packages and point to your extracts

Page 9: Creating installations-with-packaging-utility

www.strongback.us

5) Click Copy Packages • Add all the packages you want to include– RDi, RTC, Data Studio, etc.– Point to the disk1/diskTag.inf file in each product

Page 10: Creating installations-with-packaging-utility

www.strongback.us

6) Check for updates• SELECT each package to update, click “Check for

updates”• When prompted, enter your IBM ID credentials• Select the most recent version you can that is

compatible with your other packages

Page 11: Creating installations-with-packaging-utility

www.strongback.us

7) Build the aggregate repository

• Click next…• Accept the license agreement…• Specify the location to store the repository– This is simply a location on your hard drive where all the packages

and updates are stored.

• Click Next ….• Click Copy– This will copy all the updates and the software to a SINGLE location

on your hard drive.

Page 12: Creating installations-with-packaging-utility

www.strongback.us

8) Record a response file

• Response file allows us to install exactly the correct options of the product

• Install to the exactly correct directory• Installs silently• Place in the same folder that the repositories are located in• NOTE: This has already been done for you

• Example: • “C:\IBM\Installation Manager\eclipse\IBMIM.exe" -record install-

response.xml accessRights admin -skipInstall C:\tmp\iimdata

Page 13: Creating installations-with-packaging-utility

www.strongback.us

9) Create the Installation manager batch script

• Create a shell script to run Installation Manager and feed it the response files you just created.

• Note: This has already been done for you– Make sure that the batch file points to the correct response file

• example: – C:\Program Files\IBM\Installation Manger\eclipse\tools\imcl.exe –

input install-response.xml –log c:\tmp\install.log –acceptLicense -accessRights admin

Page 14: Creating installations-with-packaging-utility

www.strongback.us 14

10) Test your scripts

• Create a VM Ware image (or Virtual Box image) of the OS you are deploying to

– Hook it into your Active Directory or LDAP to ensure it can run network login scripts.

– Take an initial snapshot of the VM BEFORE you run the script• Run the script– Check the logs, and validate it installed successfully– If not, roll back to the snapshot, edit the script and try again

Page 15: Creating installations-with-packaging-utility

www.strongback.us 15

11) Call your scripts from

• Basic method: network login script– Make sure it does not run twice• Better method: Tivoli Endpoint Manager – Push to the desktop– No user intervention required– Centralized view of installation logs– Can use TEM to manage nearly all software on the desktop

(including licenses)

Page 17: Creating installations-with-packaging-utility

www.strongback.us

Socialize with us on Facebook & LinkedIn http://www.facebook.com/StrongbackConsulting

http://www.linkedin.com/company/290754

Subscribe to us athttp://feeds.feedburner.com/StrongbackConsulting

Discover us at:http://www.strongback.us

Watch Us at Youtube http://www.youtube.com/user/strongbackconsultinghttps://vimeo.com/user7519232

Call us at: 386-232-8746