This command builds Web systems. Additionally, this command also changes parameters of the built system.
- Building a Web system
This command builds a Web system in conformity with the registered Web system information model or the command generates a Web system information model in accordance with the Easy Setup definition file, and then builds the Web system as per the information model.
The cmx_build_system command sets up a Web server and a J2EE server for each host and the environment for each logical server. Additionally, this command also creates a virtual server and a real server as and when required in the load balancer.
The method of building Web systems differs when you build a Web system on the basis of the registered information model, when you build a Web system using the Easy Setup definition file or when you build a system containing the logical server that is not associated with the Web system.
- To build a Web system using the Easy Setup definition file
This command builds a Web system information model according to the contents of the specified Easy Setup definition file. After that, this command builds a Web system according to the information model. You can build the Web system without registering the model using the cmx_build_model command in advance. The setting information of the logical server is distributed regardless of whether the setting information is distributed to the server of each host. If you want to distribute only the setting information of the logical server for which the setting information is not distributed, specify the -sd option and execute the command.
- To build a Web system on the basis of the registered information model
This command builds a Web system according to the Web system information model registered using the cmx_build_model command or the cmx_change_model command.
- To build a system containing the logical server that is not associated with the Web system
This command builds a system containing logical servers that are not associated with Web systems, according to the Web system information model that is registered using the cmx_build_model command or the cmx_change_model command.
- Changing parameters of the built system
By specifying the -change option, you change parameters of the built system into the parameters defined in the Easy Setup definition file specified using the -f option.
- To change parameters of the built system by specifying the -change option
Specify the Easy Setup definition file with the changed parameters in the -f option, and then you specify the -change option. The Web system information model is re-generated with the changed parameters as per the contents of the Easy Setup definition file specified in the -f option. Furthermore, the Web system is rebuilt on the basis of the information model. However, you cannot change the configuration.
When you build a Web system, if a logical server name is not defined in the Easy Setup definition file, the logical server name is defined on Management Server. Note that when you build the Web system according to the registered information model, the logical server name is defined when the cmx_build_model command is executed. The following are the rules for defining the logical server name on Management Server:
- Rules for defining the logical server name
- The logical server name is defined in the following format:
- Format
cmx_web-System-name_Service-unit-name_Type_Serial-number
- Type depends on the logical server type. The following table describes the relationship between the logical server type and type:
Table 8-10 Relationship between the logical server type and type
Logical server type | Type |
---|
Logical Web server | HTTP |
Logical J2EE server | J2EE |
Logical performance tracer | PRF |
Logical SFO server | SFO |
Logical CTM domain manager | CTMDM |
Logical CTM | CTM |
Logical Smart Agent | SA |
Logical user server | USER |
- Basically 01 is set as serial-number. However, when multiple logical servers are deployed such as the system that uses CTM, a unique number is assigned.
- Real server name when ACOS is used
- When using ACOS as the load balancer, the cmx_build_system command creates a real server with the following name as the real server showing the destination to which the load balancer distributes requests; therefore, make sure that you do not delete the real server by mistake:
- Format
cmx_rs_IP-address-of-Web-server-machine