How to Create Oracle Database QoS Management Administrator Accounts

yyp2009發表於2017-09-27

How to Create Oracle Database QoS Management Administrator Accounts

[oracle@oratest1 bin]$ srvctl status oc4j
OC4J is enabled
OC4J is running on node oratest1
[oracle@oratest1 bin]$ qosctl qosadmin -setpasswd qosadmin
-bash: qosctl: command not found
[oracle@oratest1 bin]$ id
uid=1101(oracle) gid=1000(oinstall) groups=1000(oinstall),1031(dba),1032(asmdba)
[oracle@oratest1 bin]$ exit
logout
[root@oratest1 ~]# su - grid
[grid@oratest1 ~]$
[grid@oratest1 ~]$
[grid@oratest1 ~]$ qosctl qosadmin -setpasswd qosadmin
New password:
Confirm new password:
User qosadmin modified successfully.

這裡第一次登陸會報錯如下:




 
 


 

can not
  connect to QoS Management Server
Error while
  getting remote MBeanServer for url: ormi://oratest1:23792/default


 

 


  
  
   
   
   
   
   
   
   
   
   
   
   
   
  
  
  
  
 


 


這裡只需要重啟qos服務即可:


[grid@oratest1
dbhome_1]$ srvctl stop oc4j


serv[grid@oratest1
dbhome_1]$

[grid@oratest1
dbhome_1]$ srvctl start oc4j

重啟後登陸正常。


restart qos server:
[grid@oratest1 dbhome_1]$  srvctl status oc4j
OC4J is enabled
OC4J is running on node oratest1
[grid@oratest1 dbhome_1]$
[grid@oratest1 dbhome_1]$
[grid@oratest1 dbhome_1]$
[grid@oratest1 dbhome_1]$ srvctl stop oc4j
serv[grid@oratest1 dbhome_1]$
[grid@oratest1 dbhome_1]$ srvctl start oc4j
[grid@oratest1 dbhome_1]$ srvctl status oc4j
OC4J is enabled
OC4J is running on node oratest1
[grid@oratest1 dbhome_1]$


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/13750068/viewspace-2145530/,如需轉載,請註明出處,否則將追究法律責任。

相關文章