RHEL 6 或者 Oracle Linux 6, 不关机识别新添加的scsi硬盘
摘要:下面看一下在系统不重启的情况,如何让系统认识新的磁盘,并能对其分区与格式化1、在开机状态下新增磁盘2、执行下面的命令echo "- - -" > /sys/class/scsi_host/host0/scan特别注意① “- – -” 这三个-之间是有空格的②假如fdisk -l还是未发现新硬盘,则将上面命令中的host0,替换为host1,host2,....看看我们再查看系统日志/var/log/messages,发现对SCSI设备进行了一次重新扫描,用fdisk -l也看到了新增加的磁盘了。上面的命令主要的目的就是scan the SCSI bus。
阅读全文
posted @
2014-03-27 13:07
Shark Xu
阅读(6549)
推荐(0)
在Window下安装Oracle 12C Cloud Control Agent
摘要:① 准备好安装源,这个ORACLE普通账号无法下载到,有需要的可以联系我 p14570373_112000_Generic.zip,用于Windows 64位操作系统② 解压p14570373_112000_Generic.zip, 同时要进一步解压里面的12.1.0.2.0_AgentCore_233.zip③ 配置12.1.0.2.0_AgentCore_233.zip解压出来的文件agent.rsp #Enter the OMS host name OMS_HOST=Could Control Server Name #Enter the upload port (HTTP or HT.
阅读全文
posted @
2014-03-27 08:54
Shark Xu
阅读(2587)
推荐(0)
如何修改 EM12c 中 SYSMAN 用户的密码?
摘要:以下内容全部转自:http://www.chenjunlu.com/2013/04/how-to-modify-the-password-for-sysman-of-em-12c-cloud-control/原作者如有意见,本人立即删除!If the current SYSMAN password is known:1. Stop all the OMS:$cd /bin$ ./emctl stop omsExecute the same command on all the OMS machines including the primary OMS machine. Donotinclud
阅读全文
posted @
2014-03-26 11:07
Shark Xu
阅读(1025)
推荐(0)
在Oracle Linux Server release 6.4下配置ocfs2文件系统
摘要:① 安装ocfs-tools-1.8如果是使用RedHat Enterprise Linux 6.4,也可以安装ocfs-tools-1.8的,只是要插入Oracle Linux Server release 6.4的光盘 yum instll ocfs2-tools 会产生以下文件及目录 一、/etc/init.d/o2cb 服务脚本 二、/etc/ocfs2/ 配置文件路径 三、/sbin/o2cb② 使用/etc/init.d/o2cb configure 配置 /etc/init.d/o2cb configureConfiguring the O2CB driver.This ...
阅读全文
posted @
2014-03-25 17:16
Shark Xu
阅读(3565)
推荐(0)
whoami 和 Who am i
摘要:① 两个命令在一般的情况下,似乎效果是一样的②但是当你执行完su命令切换用户后,就不一样了,who am i显示最早login的账户,而whoami显示切换后的账户例如: -bash-3.2# whoroot console Mar 13 14:54 (:0)root pts/3 Mar 13 14:57 (:0.0)root pts/4 Mar 13 15:26 (:0.0)root pts/5 Mar 13 16:59 (solaris2)root pts/6 Mar 13 17:07 (192.168.202.1)-bash-3.2# who am iroot pts/6 Mar 13
阅读全文
posted @
2014-03-13 17:13
Shark Xu
阅读(1012)
推荐(0)
手动升级11.2.0.1的rac数据库到11.2.0.4
摘要:①关闭两个节点上的数据库 crsctl stop resource ora.ORA11G.db②命令行单节点启动数据库,注意这里的SQLPLUS一定是升级后的软件地址 sqlplus / as sysdba执行ALTER SYSTEM SET CLUSTER_DATABASE=false scope=spfile③ shutdownimmediatestartupupgrade @/u01/product/11.2.0.4/rdbms/admin/catupgrd.sql;注意是新的假如执行过程中出现问题,例如需要调整内存才能继续等问题,都可以重新 startup upgrade然后执行该语.
阅读全文
posted @
2014-03-11 16:10
Shark Xu
阅读(1672)
推荐(0)
oracle 11G rac 11.2.0.1 打补丁9413827
摘要:这是升级到以后11.2.0.2、11.2.0.3、11.2.0.4的基础主要参考两篇文章:Upgrade_11.2.0.1_GI_CRS_to_11.2.0.2_in_Linux.PDF文件http://blog.chinaunix.net/uid-77311-id-4130089.html其中关注点是:在节点2上个给crs(集群件)打补丁之前需要同步oraInventory文件夹(包括数据库和集群件)
阅读全文
posted @
2014-03-11 15:35
Shark Xu
阅读(3137)
推荐(0)
oracle 11g 使用物化视图远程增量刷新数据
摘要:① 源数据库建立物化视图日志drop MATERIALIZED VIEW LOG ON ORG_BASEINFO/CREATE MATERIALIZED VIEW LOG ON ORG_BASEINFOwith rowid,PRIMARY KEYincluding new values /drop MATERIALIZED VIEW LOG ON ORG_MOREINFO/CREATE MATERIALIZED VIEW LOG ON ORG_MOREINFOwith rowid,PRIMARY KEYincluding new values /② 在目标库上建立数据库连接Create Dat
阅读全文
posted @
2014-03-06 19:35
Shark Xu
阅读(6164)
推荐(0)