xyz's profile逍遥者寒号的小屋BlogLists Tools Help

Blog


    September, 2006

    Rac10G点滴

    添加节点:
     1.使用$ORA_CRS_HOME/oui/bin/addNode.sh添加CRS
     2.使用DBCA的实例管理添加数据库
    修改vip及vip的机器名:
     1.停掉所有节点数据库,ASM.
     2.停掉所有节点应用(srvctl stop nodeapps -n <node_name >)
     3.srvctl remove nodeapps -n <node_name > [-f]
     4.删除侦听配置(netca)
     5.修改/etc/hosts
     6.使用vipca配置
     7.创建侦听(netca)
    仅修改vip:
     1.停掉所有节点数据库,ASM.
     2.停掉所有节点应用(srvctl stop nodeapps -n <node_name >)
     2.停掉所有节点crs(/etc/init.d/init.crs stop)
     3.修改所有节点操作系统ip,/etc/hosts文件
     4.起动所有节点crs(/etc/init.d/init.crs start)
     5.停掉所有节点应用(srvctl stop nodeapps -n <node_name >)
     6.修改所有节点vip(srvctl modify nodeapps -A 192.168.55.21/255.255.255.0/eth0)
     7.启动所有节点应用(srvctl start nodeapps -n ora1)
     8.启动所有节点数据库,ASM
    racgvip
     修改内外网连接
    crsctl crs_stat crs_start,crs_stop
     控制查看crs状态
    srvctl
    打开跟踪:export SRVM_TRACE=true
    查看配置:srvctl config <object> ...
     
    解决节点应用不能启动脚本:
    srvctl stop nodeapps -n `hostname`
    for app in `crs_stat|grep NAME|awk -F= '{print $2}'`
    do
     if [ `crs_stat $app -t|grep \`hostname\` |awk '{print $4}'`""="UNKNOWN" ]
     then
      crs_stop $app
     fi
    done
    crs_start -all
    crs_stat -t|grep `hostname`
     
    创建配置HTTP版EM :
    emca -config dbcontrol db -repos create
     
    解决HTTP版EM中文乱码:
    cd $ORACLE_HOME/jre/1.4.2/lib/
    mv font.properties font.properties.bak
    cp font.properties.zh_CN.Redhat font.properties
    rm  $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs/*.gif
    emctl stop  dbconsole
    emctl start dbconsole
     
    HTTP版EM使用英文:
    IE->工具->Internet选项->常规->语言 加入英文

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://xyzhh.spaces.live.com/blog/cns!B4A8BE2681ED7440!159.trak
    Weblogs that reference this entry
    • None