记录关于Devops运维,虚拟化容器云计算,数据库,网络安全等各方面问题。
 Windows下openVPN GUI的安装与配置  OPENVPN 简介:OpenVPN是一款功能强大,可跨平台(支持Win 2000/XP/2003, Linux, Mac OS X, Solaris, FreeBSD, NetBSD, 和 OpenBSD)使用的SSL VPN服务器软件(具体说明见官方主页官方主页)。openvpn-2.1_beta16版,下载地址 http://openvpn.net/download_action.php?openvpn-2.1_beta16-install.exe第一步:安装openvpn这一部分是服务端跟客户端都要做的工作,操作完全相同双击 openvpn-2.1_beta16-install.exe进行安装,点击NEXT,I Agree,NEXT之后开始选择安装路径,我手动修改为C:\Program Files\OpenVPN 。点击 Install 开始安装,安装过程中,弹出 硬件安装窗口,点击仍然继续,安装虚拟网卡。点击 next,Finish 完成安装。OPENVPN安装服务器配置:说明: 架设OPENVPN服务器,服务器方面做的工作比较多,客户端相对来说就比较简单。服务器采用RSA证书和密钥验证方式对客户端进行验证,默认情况下证书和用户是一对一的,多个用户使用同一证书会被踢出。所以首先要做的工作就是证书的制作。在进行操作之前,首先进行初始化工作:修改C:\Program Files\OPENVPN\easy-rsa\vars.bat.sample的以下部分set HOME=%Progr...
crs_stop -all 命令后遇到 UNKNOWN crs_stop -all 命令后遇到 UNKNOWNcrs_stop -all 命令后遇到 UNKNOWNRAC中执行crs_stop -all后提示一些服务停不了,再用crs_stat -t查看状态的时候,停不掉的服务会显示状态是UNKNOWN,服务在UNKNOWN状态下用 crs_start 不能启动服务例如:[oracle@rac1 ~]$ crs_stop -allAttempting to stop `ora.rac1.gsd` on member `rac1`Attempting to stop `ora.rac1.ons` on member `rac1`Attempting to stop `ora.rac2.gsd` on member `rac2`Attempting to stop `ora.ora9i.db` on member `rac1`Attempting to stop `ora.rac2.ons` on member `rac2`Stop of `ora.rac1.gsd` on member `rac1` succeeded.Stop of `ora.rac2.gsd` on member `rac2` succeeded.Stop of `ora.rac2.ons` on member `rac2` succeeded.Stop of `ora.rac1.ons` on member `rac1` succeeded.Stop of `ora.ora9i.db` on member `rac1` succeeded.Attempting to stop `ora.rac1.LISTENER_RAC1.lsnr` on member `rac1`Attempting to stop `ora.rac2.LISTENER_RAC2.lsnr` on member `rac2``ora.rac1.LISTENER_RAC1.lsnr` on member `rac1` has experienced an unrecoverable fail...
ESXI5虚拟机Centos5升级后,网络不通解决方法 。本人的ESXI5.5 中安装有centos 5 系统,然后升级的系统。重启后,网络不通了,查看配置文件都是正常的。最后想到应是vmtool 工具有问题了,要重装或是升级。解决方法:第一种: 直接在虚拟机管理界面,点 安装或升级vmtool.虚拟机系统会自动升级处理。然后网络就会正常使用了。第二种: 将vmtool源码包,再重新安装一次。重启系统后就正常使用了。
 
0

如何完全删除CRS

发表者:分类:Devops2014-10-29 15:42:32 阅读[2531]
如何完全删除CRS OS:Red Hat Linux As 5DB:10.2.0.1   在安装好CRS后发现CRS无法启动,每次CRS启动异常都导致机器不停的重启动,超级郁闷,获取日志信息如下:2012-08-01 11:50:18.491: [ CSSCLNT][5177872]clsssInitNative: connect failed, rc 92012-08-01 12:15:47.441: [ CSSCLNT][5547712]clsssInitNative: connect failed, rc 92012-08-02 09:03:11.045: [ CSSCLNT][9479872]clsssInitNative: connect failed, rc 9  网上说引起这个问题的原因很多,能找到的办法都尝过了,问题依旧,最后回想想第一次安装CRS后不成功,可能是没有完全删除导致的,最后在网上找到了一份完全删除CRS的方法,按照这个方法完全删除后重新安装CRS,问题解决. 1. Run the rootdelete.sh script. then the rootdeinstall.sh script. from the$ORA_CRS_HOME/install directory on any nodes you are removing CRS from.  Runningthese scripts should be sufficent to clean up your CRS install.  Rootdelete.shaccepts options like nosharedvar/sharedvar, and nosharedhome/sharedhome. Makeyourself familiar with these options by reading the Oracle C...
 
0

CentOS 5上搭建10gRAC

发表者:分类:Devops2014-10-29 15:21:49 阅读[3171]
CentOS 5上搭建10gRAC 一、资源规划:1. VM名字规划:CentOS_5.7_Oracle10g_RAC_node1_192.168.0.31CentOS_5.7_Oracle10g_RAC_node2_192.168.0.322. rac的ip规划:    ip \ nodeNode 1 Node 2public ip(eth0)192.168.0.31 192.168.0.32private ip(eth1)100.0.0.10100.0.0.20vip192.168.0.231192.168.0.2323. 硬盘空间规划:OS 12G * 2 = 24G  => oracle+crs = 2G *2Share storage 16G => raw device4. 操作系统规划:CentOS 5.5 32bit5. Oracle软件规划:Oracle Clusterware 10.2.0.1.0Oracle Database 10.2.0.1.0二、系统安装及配置1. CentOS 5.5 32bit的安装。2. 安装完毕后,关闭一些不必要的系统服务(Bluetooth, cups, iptables, ip6talbes, sendmail):chkconfig bluetooth offchkconfig cups offchkconfig iptables offchkconfig ip6tables offchkconfig sendmail offservice bluetooth stopservice cups stopservice iptables stopservice ip6tables stopservice sendmail stop操作系统安装完毕后,占用大概2.7G。3. 把oracle的软件上传到node 1上配置yum,把vsftpd软件装上,从宿主系统上传 或 登录宿主系统的ftp server去下载。...
p4679769_10201_LINUX.ZIP今天在浏览eygle的网站看到一个bug的相关帖子,猛地忽然想起前几天安装过一套rac 中遇到过一个bug,当时没有注意就直接打完bug后就不去做记录了,今日想起略感模糊故记录在此,供自己日后查看,也方便来客查阅。系统环境 redhat 5.5 64.bit  ORACLE 10g 10.2.0.5 raw设备 +lvm在执行root.sh 时出错出错信息如下failed to upgrade oracle cluster registry configuration按照常理应该是执行root后会出现扫描节点完成的信息 如下:WARNING: directory '/opt/oracle/product/10.2' is not owned by rootWARNING: directory '/opt/oracle/product' is not owned by rootWARNING: directory '/opt/oracle' is not owned by rootChecking to see if Oracle CRS stack is already configuredSetting the permissions on OCR backup directorySetting up NS directoriesOracle Cluster Registry configuration upgraded successfullyWARNING: directory '/opt/oracle/product/10.2' is not owned by rootWARNING: directory '/opt/oracle/product' is not owned by rootWARNING: directory '/opt/oracle' is not owned by rootSuccessfully...
Oracle ASM 配置错误--Initializing the Oracle ASMLib driver: [FAILED]其实有些错误如果你注意按照oracle的要求去做的话,是可以避免的,最近又看到了这个错误两次,所以记录一下。[root@rac01 ~]# /etc/init.d/oracleasm configureConfiguring the Oracle ASM library driver.This will configure the on-boot properties of the Oracle ASMlibrarydriver.  The following questions will determinewhether the driver isloaded on boot and what permissions it will have. The current valueswill be shown in brackets ('[]').  Hitting<ENTER> without typing ananswer will keep that current value.  Ctrl-C willabort.Default user to own the driver interface []: gridDefault group to own the driver interface []: asmadminStart Oracle ASM library driver on boot (y/n) [n]: yScan for Oracle ASM disks on boot (y/n) [y]: yWriting Oracle ASM library driver configuration: doneInitializing the Oracle ASMLib driver:[FAILED] 目前知道可能导致这个错误的原因有两个:1.oraclea...
oracle ASM错误Initializing the Oracle ASMLib driver:[FAILED]  Centos 5.8, kernel为:uname -r2.6.18-308.el5安装ASM三个包:rpm -ivh oracleasm-support-2.1.1-1.el4.i386.rpmrpm -ivh oracleasm-2.6.18-128.el5-2.0.5-1.el5.i686.rpmrpm -ivh oracleasmlib-2.0.4-1.el5.i386.rpm这三个包可以在http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel5-084877.html下载到。安装完成之后,进行配置[root@digdeep oracle]# /etc/init.d/oracleasm configureConfiguring the Oracle ASM library driver.This will configure the on-boot properties of the Oracle ASM librarydriver.  The following questions will determine whether the driver isloaded on boot and what permissions it will have.  The current valueswill be shown in brackets ('[]').  Hitting <ENTER> without typing ananswer will keep that current value.  Ctrl-C will abort.Default user to own the driver interface [oracle]:Default group to own the driver interface [dba]:Start Ora...
windows下单网卡实现NAT(配合OpenVpn) 1) 修改注册表(开启TCP/IP转发):HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ParametersIPEnableRouter=12) net stop remoteaccess // Stop the RAS Service3) netsh routing ip nat install4) netsh routing ip nat add interface "YOUR INTERNET NIC" full5) netsh routing ip nat add interface "YOUR OPEN VPN TAP NIC" private6) netsh routing ip nat add interface Internal private7) net start remoteaccessMy netsh routing ip nat show interface then looks like:NAT Internal Configuration---------------------------Mode              : Private InterfaceNAT Local Area Connection Configuration---------------------------Mode              : Address and Port TranslationNAT Local Area Connection 4 Configuration---------------------------Mode            ...
How to install ASMLIB from Oracle’s public YUM   http://oracleexamples.wordpress.com/2011/08/08/how-to-install-asmlib-from-oracles-public-yum/There are several ways to get ASMLIB, we can download it from the OTN here, or http://www.oracle.com/technetwork/topics/linux/asmlib/index-101839.html ,or we can download it from from ULN (Unbreakable Linux Network).Also it comes in the the Unbreakable Linux media, but if you are not subscribed to ULN and you are not using Unbreakable Linux then most people go to the OTN, where you have to select your Linux flavor and then navigate to the correct file according to the linux kernel and then download the 3 files one by one.I’m going to explain here how easy is to get it from Oracle’s public YUM repository (how to configure the public YUM repository?)Once you have the public YUM enabled do as root:1yum install o...
    总共269页,当前第163页 | 页数:
  1. 153
  2. 154
  3. 155
  4. 156
  5. 157
  6. 158
  7. 159
  8. 160
  9. 161
  10. 162
  11. 163
  12. 164
  13. 165
  14. 166
  15. 167
  16. 168
  17. 169
  18. 170
  19. 171
  20. 172
  21. 173