Top
Systemwalker Software Configuration Manager Reference Guide
FUJITSU Software

1.2.8 swcfmg_connectiontest (Connection Test Command)

Description

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

The connection test allows you to check if patch management works for the specified managed server.

Additionally, it is also possible to discover the Systemwalker Software Configuration Manager product basic information and platform basic information through the connection test.

Connections tests can also be performed for the admin server.

If the option that performs the connection test has also been specified when the server information is registered and 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:

The following basic information is retrieved in a connection test:

Basic information

Description

Systemwalker Software Configuration Manager product basic information

Systemwalker Software Configuration Manager version

Systemwalker Software Configuration Manager version installed on the managed server

Systemwalker Software Configuration Manager server type

Systemwalker Software Configuration Manager server type installed on the managed server

  • Manager: Admin server (manager)

  • Linkage: Linkage server (agent)

  • Business: Business Server (agent)

Connection test results

Connection test results

Connection test result details

Detailed information when the connection test failed

Format

<message>. code={<return value>}

Note that the messages related to the file transfer infrastructure are displayed in the following format:

Format

<message> (Cause: {<file transfer infrastructure error code>}). code={<return value>}

Platform basic information

SusClientId

(Windows only)

WSUS client ID

Service pack

(Windows only)

Service pack

Kernel revision number

(Linux only)

Kernel revision number

Release level

(Solaris only)

Release level

Format

Windows

swcfmg_connectiontest.exe <IP address>

Linux

swcfmg_connectiontest <IP address>

Options

<IP address>

Specifies the admin 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 10.10.10.10

Linux

swcfmg_connectiontest 10.10.10.10

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 (10.10.10.10).
If unable to communicate
The connection test for the managed server managed by Systemwalker Software Configuration Manager has started.
Unable to communicate (10.10.10.10).
Return value:

20

Cause:

One of the following might have occurred:

  • The file transfer infrastructure (FJSVlnkcf) might have stopped.

  • Communication with the managed server might not be possible.

  • The managed server might have stopped.

Action:

Start the file transfer infrastructure (FJSVlnkcf) 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 (10.10.10.10).
Return value:

21

Cause:

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

Alternatively, the file transfer infrastructure (FJSVlnkcf) might have stopped.

Action:

Restart Systemwalker Software Configuration Manager.

Alternatively, start the file transfer infrastructure (FJSVlnkcf) 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:

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.