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:
Using the Installer
Using Platform-Specific Distribution Files
This procedure generates a state file ID by running the installer on the platform on which you want to perform silent installation.
The following command works only if you are generating an ID for the same platform on which you are running the command.
If you are not logged in as root, become superuser.
Navigate to the directory where the installer is located:
cd installer-directory |
Run the installer with the -id option.
./installer -id |
The command generates an encrypted identifier.
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] |
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.
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.
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] |