ITPub博客

首页 > 数据库 > Oracle > How to Create Oracle Database QoS Management Administrator Accounts

How to Create Oracle Database QoS Management Administrator Accounts

原创 Oracle 作者:yyp2009 时间:2017-09-27 17:15:40 0 删除 编辑

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/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-10-17

  • 博文量
    330
  • 访问量
    1025844