Sun Java Communications Suite 5 Installation Guide

Creating a Platform-Appropriate State File ID

A state file can only be run on a host of the same platform type as the host where the state file was generated unless you edit the state file ID. Each platform has a different type of state file ID. There are two ways to create a state file to run on a platform other than the one on which it was created:

ProcedureTo Generate a State File ID Using the Installer

This procedure generates a state file ID by running the installer on the platform on which you want to perform silent installation.


Note –

The following command works only if you are generating an ID for the same platform on which you are running the command.


  1. If you are not logged in as root, become superuser.

  2. Navigate to the directory where the installer is located:


    cd installer-directory
    
  3. Run the installer with the -id option.


    ./installer -id

    The command generates an encrypted identifier.

  4. Copy the identifier and paste the value into the state file, as the value for the STATE_BEGIN and STATE_DONE parameters.

    The following is an example of the state file identifier within a state file:


    [STATE_BEGIN Sun Java(tm) Enterprise System \
    f31c7e86a64605bc5b9b629931a30b275a0eb447]
    .
    .
    .
    [STATE_DONE Sun Java(tm) Enterprise System \
    f31c7e86a64605bc5b9b629931a30b275a0eb447]

ProcedureTo Generate a State File ID Using Platform-Specific Distribution Files

This procedure generates a state file ID by using the Communications Suite distribution files for a specific platform. The Communications Suite distribution DVD contains all platform-specific distributions. This procedure works if you download a single platform-specific distribution or even if you are generating an ID for a platform different from the one on which you are running the command.

  1. In the platform/.install directory, run this command:


    java -classpath . -D"wizard.idInfo" class
    

    where platform and class are listed in the following table:

    Platform 

    Platform Variable 

    Class Variable 

    Solaris 9 SPARC 

    Solaris_sparc 

    EntsysInstall_SunOS_sparc_9 

    Solaris 10 SPARC 

    Solaris_sparc 

    EntsysInstall_SunOS_sparc_10 

    Solaris 9 x86 

    Solaris_x86 

    EntsysInstall_SunOS_x86_9 

    Solaris 10 x86 

    Solaris_x86 

    EntsysInstall_SunOS_x86_10 

    Linux x86 

    Linux_x86 

    EntsysInstall_Linux_x86_generic 

    The command generates an encrypted identifier.

  2. Copy the identifier and paste the value into the state file, as the value for the STATE_BEGIN and STATE_DONE parameters.

    The following is an example of the state file identifier within a state file:


    [STATE_BEGIN Sun Java(tm) Enterprise System \
    f31c7e86a64605bc5b9b629931a30b275a0eb447]
    .
    .
    .
    [STATE_DONE Sun Java(tm) Enterprise System \
    f31c7e86a64605bc5b9b629931a30b275a0eb447]