The services.unManaged Table

The services.unManaged table is used by the ncp_ctrl process to start and stop unmanaged processes. This table is also used by other Network Manager processes to instruct the ncp_ctrl process to start their subprocesses.

The ncp_disco process, for example, instructs the ncp_ctrl process to start the finders, helpers and agents by sending inserts into the services.unManaged table of the ncp_ctrl process. Inserting or deleting records from the table causes the corresponding processes to be started or stopped.

The table below describes the services.unManaged database table.

Table 1. services.unManaged Database Table Schema  

Column name

Constraints

Data type

Description

argList

List of type Text

Specifies a list of arguments sent to the service process.

dependency

Long integer

Specifies the process ID of the parent that the service is dependent upon. Examine the content of this field to determine whether this unmanaged process is dependent or independent.
  • If this field contains a process ID value then this means that this is a dependent unmanaged process. A dependent unmanaged process is stopped by ncp_ctrl if the parent process dies. When this field is set then it contains the PID of the parent process. An example of dependent unmanaged processes are the discovery agents started by the parent Discovery engine, ncp_disco, process.
  • If this field contains a NULL value then this means that this is an independent unmanaged process. An independent unmanaged process continues to run if the parent process dies.

endSignal

 

Integer

The signal to be used to end the process. The default value is 9.

hostName

Text

Specifies the system on which the service is running.

logFile

Text

Specifies the name of the file in which output is logged.

processId

Long integer

Specifies the service process ID.

serviceId

UNIQUE

PRIMARY KEY

NOT NULL

Integer

Specifies the unique ID of the service.

serviceName

NOT NULL

Text

Specifies the name of the service.

servicePath

Text

Specifies the full path to the service process. If the value is set to NULL, then this default path is used: NCHOME/precision/platform/$PLATFORM/bin.

serviceState

Externally defined serviceState data type

Integer

Specifies an integer which reflects the current operational state of the service.