Adding CM Users

Description

The cm_admin adduser utility creates CM users who have specific authority and database information. The authority to configure broker privilege, create database, and monitor status) can be granted to CM users.

Syntax

cm_admin adduser options cmuser-name cmuser-password

options :

[{-b | --broker } authority]

[{-c | --dbcreate } authority]

[{-m | --monitor} authority]

[{-d | --dbinfo} database-info]

Options

Option

Description

-b
--broker

Specifies the broker authority of a CM user to be created.
- Value available : admin, none, monitor
- Default value : none

-c
--dbcreate

Specifies the database creation authority of a CM user to be created.
- Value available : none, admin
- Default value : none

-m
--monitor

Specifies the monitoring authority of a CM user to be created.
- Value available : admin, none, monitor
- Default value : none

-d
--dbinfo

Specifies the database information of a CM user to be created.
The format of DBINFO should be as follows: "<dbname>;<uid>;<broker_ip>,<broker_port>"

Configuring broker authority (-b)

The following example shows how to create a CM user "testcm" and its password "testcmpwd", and configure the value of broker authority to monitor.

cm_admin adduser -b monitor testcm testcmpwd

Configuring database creation authority (-c)

The following example shows how to create a CM user "testcm" and its password "testcmpwd", and configure the value of database creation authority to admin.

cm_admin adduser -c admin testcm testcmpwd

Configuring status monitoring authority (-m)

The following example shows how to create a CM user "testcm" and its password "testcmpwd", and configure the value of its status monitoring authority to admin.

cm_admin adduser -m admin testcm testcmpwd

Adding database information (-d)

The following example shows how to add database information "testdb;dba;localhost,30000" to a CM user "testcm".

cm_admin adduser -d "testdb;dba;localhost,30000" testcm testcmpwd