Home / Articles / Messaging / tibco / 8.5.1 / tibco-ems-admin

Tibco Admin

Connect to Tibco EMS Server

  • Connect to Tibco Server
  • For first time login, admin password will be blank. It can be set once we log in.

    # /opt/tibco/ems/8.5/bin/tibemsadmin -server "tcp://192.168.50.73:7222" TIBCO Enterprise Message Service Administration Tool. Copyright 2003-2019 by TIBCO Software Inc. All rights reserved. Version 8.5.1 V4 9/12/2019 Login name (admin): Password: Connected to: tcp://192.168.50.73:7222 Type 'help' for commands help, 'exit' to exit: tcp://192.168.50.73:7222>
  • Set Admin password after First time admin account login
  • tcp://192.168.50.73:7222> set password admin secret Password of user 'admin' has been modified

Tibco EMS Server Status

  • Show status of EMS Server
  • tcp://192.168.50.73:7222> show server Server: EMS-SERVER (version: 8.5.1 V4) Hostname: mgs-73.linuxtechspace.com Process Id: 5083 State: active Runtime Module Path: /opt/tibco/ems/8.5/bin/lib/64:/opt/tibco/ems/8.5/lib/64 Topics: 0 (0 dynamic, 0 temporary) Queues: 6 (0 dynamic, 1 temporary) Client Connections: 0 Admin Connections: 1 Sessions: 1 Producers: 1 Consumers: 1 Durables: 0 Pending Messages: 0 Pending Message Size: 0.0 Kb Message Memory Usage: 13.1 Kb out of 512MB Message Memory Pooled: 52.0 Kb Synchronous Storage: 2.0 Kb Asynchronous Storage: 3.0 Kb Fsync for Sync Storage: disabled Inbound Message Rate: 0 msgs/sec, 0.0 Kb per second Outbound Message Rate: 0 msgs/sec, 0.0 Kb per second Storage Read Rate: 0 reads/sec, 0.0 Kb per second Storage Write Rate: 0 writes/sec, 0.0 Kb per second Uptime: 21 minutes
  • Show EMS Server State
  • tcp://192.168.50.73:7222> show state Server: EMS-SERVER (version: 8.5.1 V4) Process Id: 5083 State: active
  • Show EMS Server Configuration
  • tcp://192.168.50.73:7222> show config # Main configuration file: '/opt/tibco/config/tibemsd.conf' # server name --------------------------------------------------- server = EMS-SERVER # configuration files ------------------------------------------- users = users.conf groups = groups.conf topics = topics.conf queues = queues.conf acl_list = acl.conf factories = factories.conf routes = routes.conf bridges = bridges.conf transports = transports.conf tibrvcm = tibrvcm.conf durables = durables.conf channels = channels.conf stores = stores.conf # server database ----------------------------------------------- store = /opt/tibco/config/datastore # listen ports -------------------------------------------------- listen = tcp://7222 health_check_listen = secondary_health_check_listen = # settings ------------------------------------------------------ max_connections = 0 max_msg_memory = 512MB reserve_memory = 0 max_client_msg_size = 0 selector_logical_operator_limit = 5000 msg_pool_block_size = 128 msg_swapping = enabled destination_backlog_swapout = 1024 use_fsync = disabled large_destination_memory = -1 large_destination_count = -1 authorization = disabled auth_mode = any routing = disabled flow_control = disabled multicast = disabled npsend_check_mode = clock_sync_interval = 0 handshake_timeout = 3 server_heartbeat_server = 0 server_timeout_server_connection = 0 client_heartbeat_server = 0 server_timeout_client_connection = 0 server_heartbeat_client = 0 client_timeout_server_connection = 0 network_thread_count = 1 always_exit_on_disk_error = disabled tx_commit_write_separation = disabled # message tracking ---------------------------------------------- track_message_ids = disabled track_correlation_ids = disabled # server tracing parameters ------------------------------------- logfile = secondary_logfile = logfile_max_size = 0 logfile_max_count = 0 max_msg_print_size = 8192 max_msg_field_print_size = 1024 log_trace = console_trace = buffer_trace = buffer_trace_size = 0 client_trace = disabled # statistics settings ------------------------------------------- server_rate_interval = 1 statistics = enabled detailed_statistics = NONE rate_interval = 3 statistics_cleanup_interval = 30 max_stat_memory = 64MB multicast_statistics_interval = 0 # XA transaction setup ------------------------------------------ xa_default_timeout = 0 # fault-tolerant setup ------------------------------------------ ft_active = ft_heartbeat = 3 ft_activation = 10 ft_reconnect_timeout = 60 ft_failover_reread = enabled ft_ssl_trusted = ft_ssl_verify_host = ft_ssl_verify_hostname = ft_ssl_expected_hostname = ft_ssl_auth_only = ft_ssl_identity = ft_ssl_issuer = ft_ssl_private_key = ft_ssl_ciphers = # external transport setup -------------------------------------- tibrv_transports = disabled tibss_transports = disabled tibftl_transports = disabled # server SSL setup ---------------------------------------------- ssl_auth_only = disabled ssl_dh_size = 0 ssl_require_client_cert = disabled ssl_require_route_cert_only = disabled ssl_use_cert_username = disabled ssl_cert_user_specname = CERTIFICATE_USER ssl_trusted = ssl_server_identity = ssl_server_issuer = ssl_server_key = ssl_server_ciphers = ssl_crl_path =

Tibco EMS Users

  • Create new user account
  • tcp://192.168.50.73:7222> create user developer1 User 'developer1' has been created
  • Set password for user account
  • tcp://192.168.50.73:7222> set password developer1 secret1 Password of user 'developer1' has been modified
  • Show list of available users
  • tcp://192.168.50.73:7222> show transactions User Name Description admin Administrator developer1 emsadmin

Tibco EMS Queues

  • Create new Queue
  • tcp://192.168.50.73:7222> create queue DevQueue Queue 'DevQueue' has been created
  • Check information on Queues present
  • Queue DevQueue is now visible in the output which we just created.

    tcp://192.168.50.73:7222> show queues Queue Name SNFGXIBCT Pre Rcvrs Msgs Size Msgs Size $sys.admin +-------- 5* 0 0 0.0 Kb 0 0.0 Kb $sys.lookup --------- 5* 0 0 0.0 Kb 0 0.0 Kb $sys.redelivery.delay +-------- 5* 0 0 0.0 Kb 0 0.0 Kb $sys.undelivered +-------- 5* 0 0 0.0 Kb 0 0.0 Kb * $TMP$.EMS-SERVER.13DB612B0BD43.1 --------- 5 1 0 0.0 Kb 0 0.0 Kb DevQueue --------- 5* 0 0 0.0 Kb 0 0.0 Kb
  • Show details of specific Queue
  • tcp://192.168.50.73:7222> show queue DevQueue Queue: DevQueue Type: static Properties: *prefetch=5 JNDI Names: Bridges: Receivers: 0 Pending Msgs: 0, (0 persistent) Delivered Msgs: 0 Pending Msgs Size: 0.0 Kb, (0.0 Kb persistent)
  • Show stats of specific Queue
  • tcp://192.168.50.73:7222> show stat queue DevQueue Inbound statistics for queue 'DevQueue': Total Count Rate/Second Queue Name Msgs Size Msgs Size DevQueue 0 0.0 Kb 0 0.0 Kb Outbound statistics for queue 'DevQueue': Total Count Rate/Second Queue Name Msgs Size Msgs Size DevQueue 0 0.0 Kb 0 0.0 Kb