SRVCTL命令可以控制RAC数据库中的instance,listener以及services。通常SRVCTL在ORACLE用户下执行。下面我们来介绍srvctl命令。1、通过SRVCTL命令来start/stop/check所有的实例:$ srvctl start|stop|status dat...
分类:
其他好文 时间:
2014-08-22 17:35:39
阅读次数:
272
Table of Contents Version Introduction What is RCF? Why should I use RCF? Tutorial Getting started Interfaces and implementations Error handling Clien...
分类:
其他好文 时间:
2014-08-22 15:52:28
阅读次数:
1353
“首先请你写一个线程安全的Singleton实现。” 我拿起笔,在白板上写下早已烂熟于心的多线程安全实现:template class Singleton{public: static T& Instance() { if (m_pInstance == NULL) ...
分类:
其他好文 时间:
2014-08-22 12:46:26
阅读次数:
215
ERROR: no read quorum in group: required 2, found 0 disksERROR: Could not heartbeat PST for grp 5. Force dismounting the disk group.ERROR: no read quo...
分类:
其他好文 时间:
2014-08-22 12:21:56
阅读次数:
267
今天git上传的时候出现了如下错误:Permission denied (publickey).fatal: The remote end hung up unexpectedly原因分析:ssh key 过期,重新创建即可。步骤如下:1.ssh-keygen (注意短横线前后都没有空格)2.Ent...
分类:
其他好文 时间:
2014-08-21 22:29:04
阅读次数:
211
环境:EC2创建后windows2012系统Iis配置完成成功访问网站,但外部解析不能访问,首先加固定ip然后需要加VPC对映ip本文解决的问题是:(URL)公网不能访问亚马逊云内部IIS问题如下图EC2完成:做到这个样子然后第一步:完成后列表Instance无面是空执行就在这里绑定IP地址第二步:...
分类:
Web程序 时间:
2014-08-21 19:10:54
阅读次数:
218
daniel@daniel-mint ~/latex/linux/itext/daniel $ cat asm.sh header_start=0header_len=15xref_start=$(strings -a -t d $1 | grep -e "\bxref\b" | awk '{pri...
分类:
系统相关 时间:
2014-08-21 19:00:54
阅读次数:
227
git remote add origin https://git.oschina.net/wcms/WCMS.git?//添加仓库 git remote 查看当前仓库 git remote remove origin //删除仓库 git push origin ?:version ?//删除远程分支...
分类:
其他好文 时间:
2014-08-21 17:27:34
阅读次数:
218
关于CRS自动重启实验
一.检查ASM
[root@rac1 ~]# /etc/init.d/oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[root@rac1 ~]# /etc/init.d/oracleasm listdisks
ASM01...
分类:
其他好文 时间:
2014-08-21 17:17:24
阅读次数:
315
1 gcc attribute weak & alias应用
alias ("target")
The alias attribute causesthe declaration to be emitted as an alias for another symbol, which must bespecified. For instance,
voi...
分类:
其他好文 时间:
2014-08-21 11:35:34
阅读次数:
214