jcfmkcsdata
- Organization of this page
Function
This command creates from the host input information file (host_input_data.csv) and the Central Scope export file a Central Scope import file that contains monitoring tree information for a virtualization configuration. Alternatively, the command creates from the business group information file (monitoring_system_data.csv), the monitoring group information file (monitoring_group_data.csv), and the Central Scope export file a Central Scope import file to which the monitoring tree information of a business group is added.
For details about the business group information file (monitoring_system_data.csv) and the monitoring group information file (monitoring_group_data.csv), see 9.7.1(5) Business group information and 9.7.1(6) Monitoring group information in the JP1/Integrated Management 2 - Manager Administration Guide.
Format
jcfmkcsdata { -f host-input-information-file-name Central-Scope's-export-file-name | -g business-group-information-file-name monitoring-group-information-file-name Central-Scope's-export-file-name } -o export-file-name [-r]
Execution permission
In Windows: Administrator permissions (if the Windows UAC feature is enabled, the command is executed from the administrator console)
In UNIX: Superuser permissions
Storage directory
- In Windows:
-
Manager-path\bin\imcf\
- In UNIX:
-
/opt/jp1imm/bin/imcf/
Arguments
- -f host-input-information-file-name Central-Scope's-export-file-name
-
Specifies the relative or absolute path of the host input information file (host_input_data.csv) exported by the jcfexport command and of the file exported by the jcsdbexport command. This option cannot be specified together with the -g option. If a path contains a space, enclose the entire path in double-quotation marks (").
For the Central Scope's export file, specify the file to which a server-oriented tree has been exported.
For details about the host input information file (host_input_data.csv), see 9.7.1(1) Host information in the JP1/Integrated Management 2 - Manager Administration Guide.
- -g business-group-information-file-name monitoring-group-information-file-name Central-Scope's-export-file-name
-
Specifies the business group information file exported by using the jcfexport command (monitoring_system_data.csv), the monitoring group information file (monitoring_group_data.csv), and the file exported by using the jcsdbexport command, expressed as a relative path or an absolute path. This option cannot be specified together with the -f option. If the path contains a space, enclose the entire path in double-quotation marks (").
For the Central Scope's export file, specify the file to which a server-oriented tree was exported. Note that for the export file, specify a file exported from the monitoring object DB whose data version is 0810 or later.
- -o export-file-name
-
Specifies the relative or absolute path of the Central Scope import file that is to be output by the command. This option is mandatory. If the path contains a space, enclose the entire path in double-quotation marks (").
- [-r]
-
This option sets whether to use the virtualization system configuration tree contained in the JP1/IM - Manager (Central Scope) export file specified by the argument. When this option is specified, the command creates a new file without using the virtualization system configuration tree contained in the JP1/IM - Manager (Central Scope) export file. If this option is not specified, a new virtualization system configuration tree is added to the virtualization system configuration tree contained in the JP1/IM - Manager (Central Scope) export file.
Note
If IM Configuration Management is upgraded from version 09-00 or earlier, perform the following file operations:
-
Host input information file (host_input_data.csv)
If JP1/IM - Manager (IM Configuration Management) is upgraded from 09-00, the format version of the host input information file (host_input_data.csv) is 0900, and the jcfmkcsdata command cannot be executed. Perform the following procedure to change the format version.
-
Execute the jcfimport command to import the host input information file into IM Configuration Management.
-
Execute the jcfexport command to export the host input information file.
The format version of the host input information file is changed to 0901, and the jcfmkcsdata command can be executed.
-
Return values
0 |
Normal termination |
1 |
Argument error |
2 |
Specified file is invalid |
3 |
Specified input file was not found |
4 |
Export file already exists |
5 |
No permission to access a specified file |
6 |
Insufficient memory |
7 |
An input/output error occurred |
9 |
Insufficient disk space |
10 |
Execution permission error |
11 |
Forced termination by pressing the Ctrl and C keys |
12 |
The data version of the specified Central Scope export file is old |
20 |
A reserved device was specified for the file path |
99 |
Other error |
122 |
Command was not executed from the administrator console (Windows only) |