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> 

  • 相关阅读:
    Web 服务器配置
    Web 浏览
    C++ Web 编程
    C++ 多线程
    C++ 信号处理
    C++ 预处理器
    C++ 模板
    C++ 命名空间
    C++ 动态内存
    C++ 异常处理
  • 原文地址:https://www.cnblogs.com/lvcha001/p/11279642.html
Copyright © 2011-2022 走看看