Pages

Tuesday, 16 October 2012

how to install relocatable packages on AIX


how to install relocatable packages on AIX

1. create Volumegroup, filesystem and directory

2. create relocation path (the path that should be used instead of the ./) This can be any valid path that
is not "/" and has a size no greater than 512 characters
mkusil -R <desired_path>

3. check if location is properly created
lsusil -R ALL

4. copy packages to be installed into any folder on the box and perform inutoc_r

5. install required packages using installp_r -R
installp_r -R <desired_path> -ad <package_location> <rte package name>

6. check if installation had been successful
lslpp_r -R ALL -Lc




availabel commands:

mkusil -R creates a relocation path - Usage: mkusil -R <RelocatePath> -c <Comments> [XFa]
-a = Attach an existing installation as a USIL instance
-c = Comments to include in the USIL definition (visible with lsusil)
-R = Path to new USIL location. Must be valid directory.
-X = Automatically expand of space needed


lsusil -R lists available relocation paths - Usage: lsusil [-R <RelocatePath> | "ALL"]
-R = Path to existing USIL location.


rmusil -R removes relocation path - Usage: rmusil -R <RelocatePath>
-R = Path to existing USIL location.

chusil -R changes an attribute of an existing USIL instance - Usage: chusil -R <RelocatePath> -c <NewComments> [X]
-c = New comments to include in the USIL definition (visible with lsusil)
-R = Path to existing USIL location.
-X = Automatically expand of space needed

inutoc_r creates .toc file
inulag_r manages license agreements
instfix_r installs filesets associated with keywords or fixes
installp_r installs files into relocation path
lppchk_r verifies files of an installable software product
lslpp_r lists files

No comments:

Post a Comment

Twitter Bird Gadget