ifcli command
The ifcli command accepts a build definition XML file as input and invokes the IBM WebSphere Installation Factory processing engine. The processing engine interprets the XML file, locates the product source files and maintenance packages, and then creates a customized installation package (CIP) or integrated installation package (IIP). The command runs on any supported operating system.
The ifcli tool is also referred to as the command-line interface tool or the command-line invocation tool for the Installation Factory.
See the Readme for IBM WebSphere Installation Factory for details on supported platforms and other information.
class="topictitle2">Location of the command file
The command file is located in the /bin, where IF_root is the directory where you unpacked the Installation Factory. The command file...
ifcli.sh
- ifcli.bat
class="topictitle2">Syntax for the ifcli.sh command
Display help for the command:./ifcli.sh -helpCreate an installation package:./ifcli.sh -buildDef build_definition_file -silent -logLevel log_level -logFile fully_qualified_log_file_path_name -traceLevel trace level -traceFile fully_qualified_trace_file_path_name -wasPath WAS_HOME -repositoryPath cim_repository_path -installationPackagePath installation_package_path -overwrite
class="topictitle2">Syntax for the ifcli.bat command
Display help for the command:ifcli.bat -helpCreating an installation package:ifcli.bat -buildDef build_definition_file -silent -logLevel log_level -logFile fully_qualified_log_file_path_name -traceLevel trace level -traceFile fully_qualified_trace_file_path_name -wasPath WAS_HOME -repositoryPath cim_repository_path -installationPackagePath installation_package_path -overwriteIf running Windows 2008, then the command might fail if the build definition file is saved in a directory that contains spaces. Save the build definition file to a directory without spaces and retry the command.
class="topictitle2">Logging
The ifcli command creates a build log file that shows whether the installation image is produced successfully. If it is not successfully built, then examine the trace file to determine the error.
The following files record installation package creation data:
- The trace.xml file is a detailed trace log in XML format
- The log.txt file is the log file
The tracing and logging output and level are configurable as described in the logLevel and traceLevel parameters.
class="topictitle2">Options
Supported options include the following:If creating a repository for the centralized installation manager (CIM) using a CIP containing a V7.0 application server, then we can use the following additional options:
Use the installation package to install WAS ND
Use the IBM WebSphere Installation Factory to install an installation package for a WAS product. Each supported product has its own installer program. See the install command documentation for more information.
Related tasks
Related reference
Related information
Last updated Nov 11, 2010 1:01:09 PM CST