Hi I have run the commands given by u. but how to know whether it's in admin mode or not.only giving db_state not working command. I have run commands as below.i don't find any diff when run with db_state and db_online.
please check and correct me
dbmcli -d <SID> -u superdba,<password> db_state
C:\Users\nspadm>dbmcli -dnspadm -usuperdba,Sapum180$ db_state
usage: dbmcli [<options>] [[-c] <DBMServer-Command>]
<options>:
-u username,passwd (DBM user)
-U [userkey] (default DBMUSR)
-uUTL [username,passwd] (UTILITY session)
-uSQL [username,passwd] (SQL session)
-uSRV (Service session)
-V (show version of server)
-d dbname (set dbname)
-R dbroot (set dbroot)
-n node (name of servernode)
-e encryption (encryption method)
(use only with -n)
(valid methods: 'SSL')
-i inputfile (Default stdin)
-ic inputfile (Default stdin)
-o outputfile (Default stdout)
-t protocolfile (writes subsequent protocol)
-s (local mode, don't use with -n)
-key (wait for any key on exit)
<DBMServer-Command>:
Everything after the options will be sent to DBMServer.
For more information about the DBMServer-Commands use
the DBMServer-Command help.
dbmcli -d <SID> -u superdba,<password> db_online
C:\Users\nspadm>dbmcli -dnspadm -usuperdba,Sapum180$ db_online
usage: dbmcli [<options>] [[-c] <DBMServer-Command>]
<options>:
-u username,passwd (DBM user)
-U [userkey] (default DBMUSR)
-uUTL [username,passwd] (UTILITY session)
-uSQL [username,passwd] (SQL session)
-uSRV (Service session)
-V (show version of server)
-d dbname (set dbname)
-R dbroot (set dbroot)
-n node (name of servernode)
-e encryption (encryption method)
(use only with -n)
(valid methods: 'SSL')
-i inputfile (Default stdin)
-ic inputfile (Default stdin)
-o outputfile (Default stdout)
-t protocolfile (writes subsequent protocol)
-s (local mode, don't use with -n)
-key (wait for any key on exit)
<DBMServer-Command>:
Everything after the options will be sent to DBMServer.
For more information about the DBMServer-Commands use
the DBMServer-Command help.