Top
Systemwalker Software Configuration Manager Reference Guide
FUJITSU Software

1.2.11 swcfmg_connectiontest (Connection Test Command)

Description

Performs the connection test for the managed server managed by Systemwalker Software Configuration Manager

The connection test enables you to check whether patch management, software parameter management, or software configuration information management can be performed for the specified managed server. In addition, information about Windows OS patch management (SusClientID(*1)) is collected from managed Windows servers. To perform Windows OS patch management for manually registered Windows servers, it is necessary to collect SusClient IDs beforehand.

Connections tests can also be performed for the admin server.

*1: SusClient ID refers to the key for identifying a WSUS client in WSUS. For this reason, a unique id must be used for each WSUS client. If multiple WSUS clients use the same SusClientId, reallocation is required to resolve the conflict. For information on how to change SusClientID, refer to the information published by Microsoft. Note that SusClientID can also be changed using "swcfmg_register_repsv" (connection destination repository server registration command) provided in Systemwalker Software Configuration Manager. However, the former method (referring to the Microsoft publication) is recommended.

If the option that performs the connection test has also been specified when the server information is registered or updated using swcfmg_server (Server Information Management command) or swcfmg_define_serverinfo (managed server information definition command), the connection test will be automatically performed by Systemwalker Software Configuration Manager.


Execute the connection test in the following cases:

Format

Windows

swcfmg_connectiontest.exe {-serverid <Server ID> | [-ip] <IP address>}

Linux

swcfmg_connectiontest {-serverid <Server ID> | [-ip] <IP address>}

Options

-serverid <Server ID> | [-ip] <IP address>

Specify the server ID or IP address of the server for which the connection test is performed.

Return values

Return value

Meaning

0

Completed normally.

10

A parameter error has occurred.

20

Unable to communicate with the Systemwalker Software Configuration Manager agent.

21

File transfer failed.

30

Failed to receive the basic product information.

31

Failed to receive the basic platform information.

40

Unable to analyze the basic information.

50

The specified managed server information does not exist.

100

Systemwalker Software Configuration Manager is not running.

101

A command that cannot be executed at the same time as this command is already running.

102

You do not have the permission to execute this command.

200

Setup has not been performed.

255

A system error has occurred.

Command location

Admin server

Windows

<Systemwalker Software Configuration Manager installation directory>\SWCFMGM\bin

Linux

/opt/FJSVcfmgm/bin

Privilege required/execution environment

Windows

Linux

Notes

Examples

Windows

swcfmg_connectiontest.exe -serverid UB5IFK3AT@Direct

Linux

swcfmg_connectiontest -serverid UB5IFK3AT@Direct

Execution results/output format

Connection test successful. The connection test for the managed server managed by Systemwalker Software Configuration Manager has started.
The connection test for the managed server managed by Systemwalker Software Configuration Manager has completed normally (UB5IFK3AT@Direct).
If unable to communicate
The connection test for the managed server managed by Systemwalker Software Configuration Manager has started.
Unable to communicate (UB5IFK3AT@Direct).
Return value:

20

Cause:

The file transfer infrastructure might have stopped.

Communication with the managed server might not be possible.

The managed server might have stopped.

Action:

Start the file transfer infrastructure using the actions below.

Alternatively, check whether the managed server is running.

[Windows]

Start "Systemwalker File Transfer Library Control (SWCFMG)" using the Windows service.

[Linux]

Execute the following command:

service FJSVlnkcf start

[Solaris]

Execute the following command:

/etc/init.d/FJSVlnkcf start

Alternatively, check whether the managed server is running.

If transfer of collection results fails
The connection test for the managed server managed by Systemwalker Software Configuration Manager has started.
Failed to transfer collected information (UB5IFK3AT@Direct).
Return value:

21

Cause:

The file acceptance process for the admin server might have stopped.

Alternatively, the file transfer infrastructure might have stopped.

Action:

Restart Systemwalker Software Configuration Manager.

Alternatively, start the file transfer infrastructure using the actions below:

[Windows]

Start "Systemwalker File Transfer Library Control (SWCFMG)" using the Windows service.

[Linux]

Execute the following command:

service FJSVlnkcf start

[Solaris]

Execute the following command:

/etc/init.d/FJSVlnkcf start
If failed to receive the basic information
The connection test for the managed server managed by Systemwalker Software Configuration Manager has started.
Failed to receive the basic information (10.10.10.10).
Return value:

30

Cause:

Failed to receive the basic Systemwalker Software Configuration Manager product information.

[Windows]

The Systemwalker Software Configuration Manager product name, version, and server type have not been registered in the registry.

[Linux]

Systemwalker Software Configuration Manager is not installed.

Action:

Reinstall Systemwalker Software Configuration Manager.

If the problem persists, contact Fujitsu technical support.

If failed to receive the platform information
The connection test for the managed server managed by Systemwalker Software Configuration Manager has started.
Failed to receive the platform information (10.10.10.10).
Return value:

31

Cause:

Failed to receive the basic platform information.

[Windows]

Failed to receive the SusClientId and service pack information from the registry.

[Linux]

Failed to receive the OS release number.

[Solaris]

Failed to receive the OS release level.

Action:

If this occurs on the Windows server for which Windows OS patch management is not performed, there is no need to take any action. In other cases, contact Fujitsu technical support.

Failed to register the collected information
The connection test for the managed server managed by Systemwalker Software Configuration Manager has started.
Failed to register the collected information (10.10.10.10).
Return value:

40

Cause:

CMDB might have stopped.

Action:

Restart Systemwalker Software Configuration Manager.

If the problem persists, contact Fujitsu technical support.

If a system error occurs
The connection test for the managed server managed by Systemwalker Software Configuration Manager has started.
A system error has occurred (10.10.10.10).
Return value:

255

Cause:

Systemwalker Software Configuration Manager might not have been installed correctly.

The execution environment might be invalid.

Action:

Restart Systemwalker Software Configuration Manager.

If the problem persists, contact Fujitsu technical support.