Hitachi

JP1 Version 13 JP1/Automatic Job Management System 3 Command Reference


ajssysctlsetup

Organization of this page

Format

For JP1/AJS3 - Manager:
ajssysctlsetup
     [[-m][-a]|[-u]]
For JP1/AJS3 - Agent:
ajssysctlsetup
     [[-a]|[-u]]

Description

The ajssysctlsetup command sets up the management portal execution environment. The command is also used to undo the setup.

The following shows the information set by this command.

Registering services

This command registers the following services in a Windows environment only:

Service to be registered

Service name

Display name

Startup Type

Account

JP1/AJS3 - Manager

JP1/AJS3 - Agent

JP1/AJS3 System Control Manager Service

JP1_AJS3_System_Control_Manager

JP1/AJS3 System Control Manager

Automatic

System

Y

--

JP1/AJS3 System Control Agent Service

JP1_AJS3_System_Control_Agent

JP1/AJS3 System Control Agent

Automatic

System

Y

Y

Setting the communication port

Registers the following communication ports in the services file:

Service to be registered

Service name in the services file: port number

JP1/AJS3 - Manager

JP1/AJS3 - Agent

JP1/AJS3 System Control Manager Service

jp1ajs3sysctlm: 22256

Y

--

JP1/AJS3 System Control Agent Service

jp1ajs3sysctla: 22257

Y

Y

Setting environment setting parameters

This command sets the environment setting parameters that are used in the management portal execution environment.

Service to be registered

Setting information

JP1/AJS3 - Manager

JP1/AJS3 - Agent

Definition key

Environment setting parameters

JP1/AJS3 System Control Manager Service

[JP1_DEFAULT\JP1AJS2\CONTROL]

"SYSLOGCODE"="C"

Y

--

[JP1_DEFAULT\JP1AJS2\CONTROL\MANAGER]

"LOGSIZE"=dword:00002800

Y

--

"MAXOPEEXEC"=dword:00000005

Y

--

JP1/AJS3 System Control Agent Service

[JP1_DEFAULT\JP1AJS2\CONTROL]

"SYSLOGCODE"="C"

Y

Y

[JP1_DEFAULT\JP1AJS2\CONTROL\AGENT]

"LOGSIZE"=dword:00002800

Y

Y

"MAXOPEEXEC"=dword:00000005

Y

Y

Legend:

Y: This option is set.

--: This option is not set.

For details about environment setting parameter, see 20.15 Management Portal execution environment in the JP1/Automatic Job Management System 3 Configuration Guide.

Execution privileges

In Windows: Administrators privileges

In UNIX: Superuser privileges

Storage directory

In Windows:

JP1/AJS3 - Manager-installation-folder\bin\

JP1/AJS3 - Agent-installation-folder\bin\

In UNIX:

/opt/jp1ajs2/bin/

Arguments

-m

Sets up the JP1/AJS3 System Control Manager service.

You can specify this option only when you perform setup for JP1/AJS3 - Manager. It cannot be specified with JP1/AJS3 - Agent.

This option cannot be specified together with the -u option.

-a

Sets up the JP1/AJS3 System Control Agent service.

This option cannot be specified together with the -u option.

-u

Undoes setup of the management portal execution environment.

This option cannot be specified together with the -m or -a option.

In Windows, this argument stops the JP1/AJS3 System Control Manager service and the JP1/AJS3 System Control Agent service. And this argument deletes the JP1/AJS3 System Control Manager service (JP1/AJS3 System Control Manager) and the JP1/AJS3 System Control Agent service (JP1/AJS3 System Control Agent) from the service list in the Administrative Tools.

In UNIX, before undoing setup, stop the JP1/AJS3 System Control Manager service and the JP1/AJS3 System Control Agent service.

Notes

Return values

0

Normal end

A value other than 0

Abnormal end