zoukankan      html  css  js  c++  java
  • ASM实例修改SYS密码

    修改ASM实例中SYS用户密码

    How To Change ASM SYS PASSWORD ? (文档 ID 452076.1)    
    
    Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.3 [Release 10.2 to 11.2]
    
    SOLUTION
    The password should be the one provided when the password file was created,also
    REMOTE_LOGIN_PASSWORDFILE should be
    set to EXCLUSIVE on all instances. If you want to change the password then you would need to recreate the password file using the orapwd utility Recreate the password file for the ASM instance as follows: 1. Set the ORACLE_HOME and ORACLE_SID to the ASM instance 2. connect /as sysdba from sqlplus 3. If the value of the "remote_login_passwordfile" parameter in the pfile or spfile is EXCLUSIVE, you must shutdown your instance 4. RENAME or DELETE the existing password file PWD<SID>.ora( In Windows) / orapw<SID> ( in UNIX) 5. Issue the command: WINDOWS: orapwd file=<ORACLE_HOME>/database/PWD<SID>.ora password=<sys_password> UNIX: orapwd file=<ORACLE_HOME>/dbs/orapw<SID> password=<sys_password> The passwordfile can be recreated for ASM while ASM instance is up. Usually for normal
    DB instances, we recommended that DB instances be shutdown before changing the passwordfile. In
    11.2 you can use asmcmd to change the password for single instance environment as follows $ export ORACLE_SID=+ASM $ asmcmd ASMCMD> passwd sys Enter old password (optional): ****** Enter new password: ****** In Cluster environment ASMCMD> orapwusr --modify --password sys Enter password: ****** ASMCMD> exit NOTE: This is not applicable for SYSASM privilege. 如果ASM实例参数是共享的,则不需要关闭ASM实例,默认都是非共享的。 因此实际10.2.0.5 RAC环境修改ASM实例SYS密码,节点1关闭db,关闭asm实例,orapw修改sys密码后,启动节点1 asm,db,之后节点二重复操作。 如果是11g,单节点使用asm实例可以使用ASMCMD>passwd sys; RAC使用 ASMCMD>orapwusr --modify --password sys

    ASMCMD> orapwusr --modify --password sys
    Enter password: *********

    $ sqlplus sys/oracle123 as sysdba

    SQL> 

  • 相关阅读:
    svg使用
    人生是 立体, 不是平面, 股票大作手不太好的结局
    react 管理平台
    首页性能优化
    vue 安装插件
    python中如何对list之间求交集,并集和差集
    Java中String直接复制和new String创建对象的区别以及equals和==的区别和效率对比
    关于二叉树的总结
    Postgresql 数据库,如何进行数据备份以及导入到另外的数据库
    Java List详解,面试中应该如何解答关于List的问题
  • 原文地址:https://www.cnblogs.com/lvcha001/p/11279642.html
Copyright © 2011-2022 走看看