Sun Java Enterprise System 2005Q4 Installation Guide for UNIX

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 manually. There is a different type of state file ID for various Java ES platforms.

There are two way to create to a state file to run ion 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.


Steps
  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 Java ES distribution files for a specific platform. The Java ES distribution DVD contains all platform-specific distributions. This procedure also works if you download a single platform-specific distribution.


Note –

The procedure works even if you are generating an ID for a platform different from the one on which you are running the command.


Steps
  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 8 SPARC 

    Solaris_sparc 

    EntsysInstall_SunOS_sparc_8 

    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]