Fichier de configuration UNIX avec des sections

Cet exemple contient les propriétés de prérequis de toutes les plateformes, des plateformes individuelles et des versions de systèmes d'exploitation pour un produit spécifique.

# Properties common to all UNIX platforms when root user logged in
[OSType:UNIX][user.isAdmin=True]
os.space.var=[dir:root=/var/ibm/common/acsi,unit:MB]1.0
os.space.usr=[dir:root=/usr/ibm/common/acsi,unit:MB]200
os.space.tmp=30-50MB
env.classpath.derbyJAR=False
network.pingSelf=True

# Properties common to all UNIX platforms when non-root user logged in
[OSType:UNIX][user.isAdmin=False]
os.space.home=[dir:non_root=USERHOME/.acsi_HOST,unit:MB]200
os.space.tmp=30-50MB
env.classpath.derbyJAR=False
network.pingSelf=True

# Properties common to all Linux platforms
[OSType:LINUX]
os.shell.default=bash
os.SELinux=[source:Command]Disabled
os.package.rpm=rpm

# Properties common to Linux platforms with the ppc64 CPU architecture 
[OSType:LINUX][CPUArch:ppc64]
os.package.vacpp.rte=vacpp.rte-9.0.0-5+

# Properties common to all versions of RedHat OS
[OSType:RedHat]
env.classpath.derbyJAR=False

# Properties common to all versions of Red Hat Enterprise 
# Linux Server OS
[OSType:RedHatEnterpriseLinuxServer]
network.pingLocalhost=True

# Properties common to all Red Hat Enterprise Linux Server 
# OS Version 6.x(6.1,6.2...)
[OSType:RedHatEnterpriseLinuxServer6.*]
os.package.compat-libstdc++-33=compat_libstdc++_33-3.2.3-68

[OSType:RedHatEnterpriseLinuxServer5.*]
os.package.compat-libstdc++-33=compat_libstdc++_33

# Properties common to all Red Hat Enterprise Linux Server 
# Version 4.x(6.1,6.2...) OS and for Itanium  family CPU
[OSType:RedHatEnterpriseLinuxServer4.*][CPU:Itanium]
os.package.ia32el=ia32el-1.1-20

# Properties common to all Red Hat Enterprise Linux Server 
# Version 4.x(6.1,6.2...) OS and for a 64-bit OS architecture
[OSType:RedHatEnterpriseLinuxServer4.*][OSArch:64-bit]
os.package.libgcc=libgcc-3.4.3-9

# Properties specific to RedHatEnterpriseLinuxServer5.2 OS 
[OSType:RedHatEnterpriseLinuxServer5.2]
network.availablePorts.Derby=4130

# Properties specific to a 64 bit SUSE Linux Enterprise Server 11 OS  
[OSType:SUSELinuxEnterpriseServer11][OSArch:64-bit]
os.package.libstdc++33-32bit=libstdc++33_32bit-3.3.3-11.9

# Properties specific to a 64 bit SUSE Linux Enterprise Server 11 OS 
# and if the environment variable TPAE_DB_Server is set to 'True'
[OSType:SUSELinuxEnterpriseServer11][@TPAE_DB_Server:True]
os.package.libstdc++31-32bit=libstdc++31_32bit

# Properties specific to a 64 bit SUSE Linux Enterprise Server 11 OS 
# and if the environment variables TPAE_DB_Server and TPAE_DIR_Server
# are set to 'True'
[OSType:SUSELinuxEnterpriseServer11][@TPAE_DB_Server:True]
[@TPAE_DIR_Server:True]
os.package.libstdc++34-32bit=libstdc++34_32bit

# Properties common to all AIX platforms
os.ulimit=[type:filesizelimit]unlimited
os.ulimit=[type:filedescriptorlimit]8192+,unlimited
os.FreePagingSpace=4GB+

# Properties specific to AIX 5.3.0.0 and
# if the environment variables TPAE_DB_FEATURE or TPAE_DIR_FEATURE 
# are set to 'True'
[OSType:AIX5.3.0.0][@TPAE_DB_FEATURE:True|@TPAE_DIR_FEATURE:True] 
os.lib.xlC.aix50.rte=xlC.aix50.rte.9.0.0.8+

#Properties common to AIX 6.1 and later on either Power Architecture processors 
#Versions 4, 5, or 6
[OSType:AIX6.1.*][CPUArch:POWER4|POWER5|POWER6]
os.ServicePack=TL02+

#Properties common to AIX 6.1 and later on Power Architecture processors Version 7
[OSType:AIX6.1.*][CPUArch:POWER7]
os.ServicePack=TL04+,SP02+

#Properties common to AIX 7.1 and later
[OSType:AIX7.1.*]
os.ServicePack=TL00+,SP01+

Lorsque vous exécutez Prerequisite Scanner, il analyse et recherche différentes propriétés de prérequis en fonction de l'utilisateur qui est connecté et du système d'exploitation installé sur l'ordinateur et de sa version.

Par exemple, le Tableau 1 présente les différentes sections qui contiennent les propriétés de prérequis vérifiées en se basant sur cet exemple.
Tableau 1. Sections analysées d'un fichier de configuration pour UNIX
Systèmes d'exploitation et versions Sections avec des propriétés de prérequis
Ordinateur avec SUSE Linux Enterprise Server 11 64 bits ; utilisateur non superutilisateur connecté
[OSType:UNIX][user.isAdmin=False]
[OSType:LINUX]
[OSType:LINUX][CPUArch:ppc64]
[OSType:SUSE Linux Enterprise Server 11]
[OSArch:64-bit]
Ordinateur avec SUSE Linux Enterprise Server 11 64 bits ; superutilisateur connecté
[OSType:UNIX][user.isAdmin=True]
[OSType:LINUX]
[OSType:LINUX][CPUArch:ppc64]
[OSType:SUSE Linux Enterprise Server 11]
[OSArch:64-bit]
Ordinateur avec Red Hat Enterprise Linux Server 6.3 ; superutilisateur connecté
[OSType:UNIX][user.isAdmin=True]
[OSType:LINUX]
[OSType:RedHat]
[OSType:RedHatEnterpriseLinuxServer]
[OSType:RedHatEnterpriseLinuxServer6.*]
Ordinateur avec SUSE Linux Enterprise Server 11 ; variable d'environnement @TPAE_DB_Server ayant la valeur true ; superutilisateur connecté
[OSType:UNIX][user.isAdmin=True]
[OSType:LINUX]
[OSType:SUSELinuxEnterpriseServer11][@TPAE_DB_Server:True]
Ordinateur avec AIX 5.3.0.0 ; variables d'environnement @TPAE_DB_FEATURE ou @TPAE_DIR_FEATURE ayant la valeur True ; superutilisateur connecté
[OSType:UNIX][user.isAdmin=True]
[OSType:AIX]
[OSType:AIX5.3.0.0][@TPAE_DB_FEATURE:True|@TPAE_DIR_FEATURE:True]
Ordinateur avec AIX 6.1 et versions ultérieures avec des processeurs Power Architecture version 4, 5 ou 6 ; superutilisateur connecté
[OSType:UNIX][user.isAdmin=True]
[OSType:AIX]
[OSType:AIX6.1.*][CPUArch:POWER4|POWER5|POWER6]
Ordinateur avec AIX 6.1 et versions ultérieures avec des processeurs Power Architecture version 7 ; superutilisateur connecté
[OSType:UNIX][user.isAdmin=True]
[OSType:AIX]
[OSType:AIX6.1.*][CPUArch:POWER7]
Ordinateur avec AIX 7.1 et versions ultérieures ; superutilisateur connecté
[OSType:UNIX][user.isAdmin=True]
[OSType:AIX]
[OSType:AIX7.1.*]