4.1.23 Setting the system environment
When you want to set up the entire system in one batch, use one single command to generate the information model, to set up the Web Server and the J2EE Server based on the created information model, and to set up the environment for all the logical servers involved.
Start the command prompt on the host (apsv2(192.168.100.12)) for allocating the management functionality (Management Server), execute the cmx_build_system command, and set up the system in a batch. Specify the Easy Setup definition file for the -f option of the cmx_build_system command.
The following is an example of command execution. The name of the Easy Setup definition file used in the example is MyWebSystemDef.xml.
cmx_build_system -m 192.168.100.12 -u cosmi_admin -p cosmi_admin_passwd -f MyWebSystemDef.xml-file-path
Specify the directory path for storing MyWebSystemDef.xml and the file name (MyWebSystemDef.xml) in MyWebSystemDef.xml-file-path.