Defining CAS Resources with LDIF

Restriction: This topic applies only when the Enterprise Server feature is enabled.
Command Description

dn: CN=OPERCMDS,CN=Enterprise Server Resources,CN=Micro Focus,CN=Program Data,DC=local

Identifies resource class OPERCMDS

changetype: add

Action set to add, will create the resource class

objectClass: top

This is a top-level object

objectClass: container

This is a container (it will contain resource entities)

description: Class for operator commands used by casstart/casstop/casout/casfile/cassub commands

Description. May be any text

 

You must leave a blank line between actions

dn: CN=casstart,CN=OPERCMDS,CN=Enterprise Server Resources,CN=Micro Focus,CN=Program Data,DC=local

Identifies the entity we want to delete

changetype: delete

Action set to delete, we remove any existing definition

 

You must leave a blank line between actions

dn: CN=casstart,CN=OPERCMDS,CN=Enterprise Server Resources,CN=Micro Focus,CN=Program Data,DC=local

Identifies the entity we want to create

changetype: add

Action set to add in order to create the entity

objectClass: microfocus-MFDS-Resource

We are creating a resource entity

microfocus-MFDS-CustomText

Optional. Can be any text. Not used by Enterprise Server

microfocus-MFDS-Resource-Class: OPERCMDS

Name of the resource class that the entity belongs to

microfocus-MFDS-Resource-ACE: allow:SYSADM group:alter

Access Control Entry definition, we allow any one from SYSADM group to start the ES region

microfocus-MFDS-Resource-ACE: deny:*:execute

We deny all the others

microfocus-MFDS-UID: no

UID (Unique Identifier). This can be any string; it does not have to be unique. It is not used by Enterprise Server

description: casstart command to start an ES region

Description

 

You must leave a blank line between actions

dn: CN=casstop,CN=OPERCMDS,CN=Enterprise Server Resources,CN=Micro Focus,CN=Program Data,DC=local

Identifies the entity we want to delete

changetype: delete

Action set to delete, we remove any existing definition

 

You must leave a blank line between actions

dn: CN=casstop,CN=OPERCMDS,CN=Enterprise Server Resources,CN=Micro Focus,CN=Program Data,DC=local

Identifies the entity we want to create

changetype: add

Action set to add in order to create the entity

objectClass: microfocus-MFDS-Resource

We are creating a resource

microfocus-MFDS-Resource-Class: OPERCMDS

Name of the resource class that the entity belongs to

microfocus-MFDS-Resource-ACE: allow:SYSADM group:alter

Access Control Entry definition, we allow any one from SYSADM group to stop the ES region

microfocus-MFDS-Resource-ACE: deny:*:execute

We deny all the others

microfocus-MFDS-UID: no

UID (Unique Identifier). This can be any string; it does not have to be unique. It is not used by Enterprise Server

description: casstop command to stop an ES region

Description