5 Testing and Troubleshooting

Note:

  • Before running the test utility for 11.1.1, make sure that you have copied the required jar files (xliTelnet.jar or xliSSH.jar) into the folders JavaTasks and ScheduleTask, and sshfactory.jar is copied to ThirdParty folder.

  • If the SSHVersion of the target resource is client, then the connector may not work expectedly. In this case, you need to replace the sshfactory.jar file in Thirdparty with the latest version of sshafactory.jar file.

You can use the testing utility to identify the cause of problems associated with connecting to the target system and performing basic operations on the target system.

Before you use the testing utility, copy the files in the test directory on the installation media to one of the following directories:

Set the required values in the config.properties file. This file is in one of the following directories:

Use the information in the following table to modify the default attributes of the config.properties file.

Attribute Description Default/Sample Value

hostname

IP address of the target server on which user provisioning is to be performed

10.1.1.114

shellPrompt

Default shell prompt of the target server:

# for Solaris, Linux, and HP-UX

$ for AIX

#

port

Port at which the SSH server is listening

22

osType

Operating system type of the UNIX server

Accepted values are SOLARIS, LINUX, HP-UX, and AIX.

SOLARIS

adminpassword

Admin user password

password1

admin

UNIX server administrator credentials for the SSH server

root

action

Action to be tested

The value can be one of the following:

  • CONNECT

  • CREATE

  • CHANGEPASSWORD

  • MODIFY

  • DELETE

  • DISABLE

  • ENABLE

  • ENABLETRUSTED (only for HP-UX trusted mode)

CREATE

userName

User attribute

jdoe

privateKey

Key for Public Key authentication

The value can be blank, or it can be the name and path of the private key file.

sudoFlag

Sudo Admin Mode flag

The value is YES for the SUDO Admin mode. It must be NO if the SUDO Admin mode is not used.

Max Retries

Number of times that the UNIX SSH connector should retry connecting to the target server if the connection fails

2

Delay

Delay (in milliseconds) before the connector attempts to retry connecting to the target system, in case the connection fails

2000

Timeout

Value of the timeout (in milliseconds) for the connection to the target server

10000

passwdMirrorFilePath

This parameter is used to specify the passwd mirror file path for reconciliation.

/etc/passwd1

shadowMirrorFilePath

This parameter is used to specify the shadow mirror file path for reconciliation.

/etc/shadow1

targetDateFormat

This parameter is used to specify the date format of the target UNIX computer.

MMddhhmmyy

expiryDateFormat

This parameter is used to specify the expiry date format of the target UNIX computer.

yyyy-MM-ddHH:mm:ss


After you specify values in the config.properties file, perform one of the following steps: