tibco ems admin commands

21
TIBCO EMS Admin Commands By Raghu Pullela

Upload: cblsolutionscom

Post on 24-Jul-2015

529 views

Category:

Data & Analytics


21 download

TRANSCRIPT

Page 1: Tibco ems admin commands

TIBCO EMS Admin Commands

ByRaghu Pullela

Page 2: Tibco ems admin commands

1) add member2) addprop factory3) addprop queue4) addprop route5) addprop topic6) autocommit7) commit8) compact9) connect10) create bridge11) create durable12) create factory13) create group14) create jndiname

15) create queue16) create route17) create rvcmlistener18) create topic19) create user20) delete all21) delete bridge22) delete connection23) delete durable24) delete factory25) delete group26) delete jndiname27) delete message28) delete queue29) delete route

30) delete rcvmlistener31) delete topic32) delete user33) disconnect34) echo35) exit36) grant queue37) grant topic38) grant admin39) help40) info41) jaci clear42) jaci resetstats43) jaci showstats44) purge all queues

TIBCO EMS Command List Full List

Page 3: Tibco ems admin commands

45) purge all topics46) purge durable47) purge queue48) purge topic49) remove member50) removeprop factory51) removeprop queue52) removeprop route53) removeprop topic54) resume route55) revoke admin56) revoke queue57) revoke topic58) rotatelog59) set password

60) set server61) setprop factory62) setprop queue63) setprop route64) setprop topic65) show bridge66) show bridges67) show channel68) show channels69) show config70) show consumer71) show consumers72) show connections73) show db74) show durable

75) show durables76) show factory77) show factories78) show jndiname79) show jndinames80) show group81) show members82) show message83) show messages84) show parents85) show queue86) show queues87) show route88) show routes89) show rvcmtransportledger

TIBCO EMS Command List

Page 4: Tibco ems admin commands

90) show rvcmlisteners91) show server92) show stat93) show store94) show stores95) show topic96) show topics97) show transaction98) show transactions99) show transport100) show transports101) show user102) show users103) showacl admin

104) showacl group105) showacl queue106) showacl topic107) showacl user108) shutdown109) suspend route110) time111) timeout112) transaction commit113) transaction rollback114) updatecrl115) whoami

TIBCO EMS Command List

Page 5: Tibco ems admin commands

create user :

Command to create a new user.

syntax : create user user_name “user description” password=pass

ex : create user raghu “training user” password=raghu123

show users:

used to show all users that are existing.

syntax: show users

ex : show users

Delete user :

Command is used to delete the specified user

syntax : delete user user_name

ex : delete user raghu

Page 6: Tibco ems admin commands

create group :

Used to create a group of users. When created the group is empty.

syntax : create group group_name “description”

ex : create group training “cbl training group”

delete group:

used to delete the group mentioned

syntax : delete group group_name

ex: delete group training

add member :

used to add one or more users to the group.

syntax : add member group_name username, username

ex: add member training abc,admin,trainer

Page 7: Tibco ems admin commands

set password :

used to set the password for the mentioned user

syntax : set password user_name password

ex: set password raghu rag1234

grant admin:

used to grant administrator permissions to the named user or group.

syntax: grant admin user=user_name | group=grou_name admin_permissions

ex: grant admin user = raghu all

grant admin group = training all

connect :

used to connect the administrative tool to the ems server

syntax: connect tcp://server_name:port_no

ex: connect tcp://localhost:7222

Page 8: Tibco ems admin commands

disconnect :

command used to disconnect the administrative tool from server

syntax: disconnect

ex : disconnect

create topic:

Used to create a topic with the specified name and properties. Properties are listed using a comma as

described in the topics.conf

syntax: create topic topic_name properties

ex: create topic t1

Show topic:

show details for the mentioned topic

syntax: show topic topic_name

ex: show topic t1

Page 9: Tibco ems admin commands

setprop topic:

used to set topic properties. This is override any existing properties.

syntax: setprop topic topi_name properties

ex: setprop topic t1 secure

grant topic:

It is used to grant permissions to a user or group on a specified topic.

syntax: grant topic topic_name user_nema | group_name permissions

purge topic:

delete all messages for all the subscribers on the mentioned topic

sytax: purge topic topicname

ex: purge topic t1

Page 10: Tibco ems admin commands

delete topic:

used to delete the specified topic

syntax: delete topic topic_name

ex: delete topic t1

create queue:

used to create queue with the specified name and properties.

syntax: create queue queue_name properties

ex: create queue q1

show queue:

used to show the details for the specified queue

syntax: show queue queue_name

ex: show queue q1

Page 11: Tibco ems admin commands

setprop queue:

used to set properties to the specified queue

syntax: setprop queue queue_name properties

ex: setprop queue q1secure,sender_name

grant queue:

used to grant permissions on the queue to a specified user or group. permissions like view, create,

delete, modify, purge

syntax: grant queue queue_name user_name | group_name permissions

purge queue:

used to purge or delete all messages in the named queue.

syntax: purge queue queue_name

Page 12: Tibco ems admin commands

delete queue:

used to delete the specified queue

syntax: delete queue queue_name

ex: delete queue q1

create durable:

used to create a static durable subscriber

syntax: create durable topic_name durable_name property

ex: create durable t1 durable1

delete durable:

used to delete the named durable susbcriber

syntax: delete durable durable_name

ex: delete durable durable.1

Page 13: Tibco ems admin commands

show config:

shows the configuration parameters of the connected server

syntax: show config

show consumer:

used to show details of a specific consumer.

syntax: show consumer consumerID

show consumers:

used to display all the consumers. we can define the filters if we want only certain consumers to be

displayed

syntax: show consumers

Page 14: Tibco ems admin commands

show connections :

used to show connections between clients and servers.

syntax: show connections

show db:

used to print a summary of the server’s database.

syntax: show db

show server:

command used to show server name and information of the connected server.

syntax: show server (aliases:info, i)

Page 15: Tibco ems admin commands

add member :

add one or more members to the group

syntax : add member group_name user_name

Ex: add member training raghu

addprop factory :

Used to add properties to the factory. Property names are separated using spaces

syntax : addprop factory factory_name properties

Ex: addprop factory MyTopicFactory ssl_trusted=cert1.pemssl_trusted=cert2.pem

ssl_verify_host=disabled

addprop queue:

Used to add properties to the queue. Properties names are separated using spaces.

Syntax: addprop queue queue-name properties

Page 16: Tibco ems admin commands

addprop route:

add properties to route. The properties that are being defined should be separated by spaces

Syntax : addprop route route-name prop=value

addprop topic:

add properties to topic. Properties are separated by spaces.

syntax: addprop topic topic_name properties

autocommit :

autocommit is used to automatically save changes made to the configuration files.

If it is set to ON then it saves or else we can turn it OFF. If we type autocommit it just show the present

condition.

syntax : autocommit on/off

Page 17: Tibco ems admin commands

shutdown:

used to shutdown the connected server

syntax: shutdown

whoami:

command to display the current logged in user

syntax : whoami

commit:

commit all configuration changes into files on disk.

syntax: commit

exit:

command used to exit the administration tool

syntax: exit ( alias: q, bye, quit, end)

Page 18: Tibco ems admin commands

create bridge:

used to create a bridge between destinations

syntax: create bridge source=type:dest_name target=type:dest_name

type is either topic or queue

delete all:

used to delete all users, groups, topics, queues or durables

syntax : delete all users|groups|topics|queues|durables

info:

used to show server name and information about the connected server

syntax: info(alias: i)

help:

display help information

syntax: help command

Page 19: Tibco ems admin commands

show bridge:

used to display information about the configured bridges for the named topic or queue

syntax: show bridge topic|queue bridge_source

show bridges:

used to show summary of the destination bridges that are currently configured. type specifies the type

of destination established as the bridge source

syntax: show bridges topic

show durable:

show information about a durable subscriber

syntax: show durable durable_name

show durables:

show list of all durables that are defined

syntax: show durables

Page 20: Tibco ems admin commands

show groups:

used to display all user groups

syntax: show groups

show group:

used to show group name, description, and number of members in the group.

syntax: show group group_name

show members:

show all user members of specified user group

syntax: show members group_name

show message:

shows the message for the specified message id

show message messageID

Page 21: Tibco ems admin commands

revoke admin:

used to revoke the global administration permissions for the named user

syntax: revoke admin user=name | group=name

time:

used to place a time stamp on each command output.

syntax: times on|off

timeout:

used to show or change the current command timeout value. The timeout value is the number of

seconds the admin tool will wait for a response from the server after sending the command.

syntax: timeout seconds

by default the timeout value is 30 seconds