| xyz's profile逍遥者寒号的小屋BlogLists | Help |
|
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选项->常规->语言 加入英文 TrackbacksThe trackback URL for this entry is: http://xyzhh.spaces.live.com/blog/cns!B4A8BE2681ED7440!159.trak Weblogs that reference this entry
|
|
|