mkserver Command

Purpose

Adds a subserver definition to the subserver object class.

Syntax

mkserver -c CodePoint -s Subsystem -t Type

Description

The mkserver command adds a subserver definition to the Subserver object class.

Flags

Item Description
-c CodePoint Specifies the CodePoint integer that identifies the subserver. This is the value by which the subsystem knows the subserver. The mkserver command is unsuccessful if this CodePoint value already exists for this subsystem. The limit for CodePoint storage is the same as a short integer (1 through 32,768).
-s Subsystem Specifies the name that uniquely identifies the subsystem to which the subserver belongs. The mkserver command is unsuccessful if the Subsystem name is not known in the subsystem object class, or if the Subsystem name is that of a known subsystem in the subsystem object class but uses signals as its communication method.
-t Type Specifies the name that uniquely identifies the subserver. The mkserver command is unsuccessful if the Type name is already known in the Subserver Type object class.

Security

Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in AIX® Version 7.1 Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Auditing Events: If the auditing subsystem has been properly configured and is enabled, the mkserver command will generate the following audit record (event) every time the command is executed:

Event Information
SRC_Addserver Lists in an audit log subsystems that have been added and the entire Object Data Management record.

See "Setting up Auditing" in AIX Version 7.1 Security for more details about how to properly select and group audit events and how to configure audit event data collection.

Examples

To add a subserver definition, enter:

mkserver  -s srctest  -t tester  -c 1234

This adds a subserver definition to the Subserver Type object class, with an owning subsystem of srctest and a subserver code point of 1234.

Files

Item Description
/etc/objrepos/SRCsubsys Specifies the SRC Subsystem Configuration object class.
/etc/objrepos/SRCsubsvr Specifies the SRC Subserver Configuration object class.