记录关于Devops运维,虚拟化容器云计算,数据库,网络安全等各方面问题。
Windows ADSL PPPOE下openVPN安装配置单网卡共享上网 OPENVPN 简介:OpenVPN是一款功能强大,可跨平台(支持Win 2000/XP/2003, Linux, Mac OS X, Solaris, FreeBSD, NetBSD, 和 OpenBSD)使用的SSL VPN服务器软件(具体说明见官方主页官方主页)。 第一步:安装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=%ProgramFiles%\OpenVPN\easy-rsaset KEY_COUNTRY=USset KEY_PROVINCE=CAset KEY_CITY=SanFranciscoset KEY...
Ubuntu上启用X11VNC  并使用web访问VNC   计算中心节点,没有远程控制不能活,就得装个VNC。 启动Ubuntu的软件中心,选择“X11VNC服务器”,进行安装。当然也可以用sudo apt-get install命令安装。 接下来创建登陆密码sudo x11vnc -storepasswd 输入和确认之后,密码被保存到了用户的密码目录下:  再设置X11VNC的密码文件:sudo x11vnc -storepasswd in /etc/x11vnc.pass 将密码文件复制过去:sudo cp /root/.vnc/passwd /etc/x11vnc.pass打开/etc/init/x11vnc.conf文件,粘贴以下内容。如果没有这个文件,就用文本工具创建一个。端口:5900,自己可以定义。要打开web 访问VNC,并加参数: -shared  -httpstart on login-session-start script x11vnc -display :0 -auth /var/run/lightdm/root/:0 -forever -bg -o /var/log/x11vnc.log -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared -http end script   保存后重启Ubuntu。 在别的操作系统里启动VNC Viewer,这里用的是Windows 7下安装的Real VN...
Automating Database Startup and Shutdown on LinuxIf you are using Oracle Clusterware 10gR2 or above for RAC or just for a single instance using ASM, the Clusterware automatically starts and stops the Oracle database instances and listeners, so the following procedures are not necessary. Where the Clusterware is not being used, these methods allow you to automate the startup and shutdown of databases on Linux.The "su" CommandThe "rsh" CommandKnown IssuesOracle 11gR2+ UpdateNote. These methods work on all RHEL and Oracle Linux versions.The "su" CommandThe following represents the Oracle recommended method for automating database startup and shutdown of Oracle 9i instances on Linux, but it works equally well for Oracle 10g, 11G and 12c also. It can be used on any RHEL-style distribution, including Oracle Linux, up to an including RHEL6.Once the instance is created, edit the "/etc/oratab" file setting the restart flag for each instance to 'Y'.TSH1:/...
ASM using ASMLib and Raw DevicesIntroductionPartition the DisksASMLib InstallationRaw Device SetupASM CreationDatabase CreationSwitching from Raw Devices to ASMLibSwitching from ASMLib to Raw DevicesPerformance ComparisonRelated articles.Automatic Storage Management (ASM) in Oracle Database 10gUsing NFS with ASMAutomatic Storage Manager (ASM) Enhancements in Oracle Database 11g Release 1UDEV SCSI Rules Configuration for ASM in Oracle Linux 5 and 6IntroductionAutomatic Storage Management (ASM) simplifies administration of Oracle related files by allowing the administrator to reference disk groups rather than individual disks and files, which ASM manages internally. On Linux, ASM is capable of referencing disks as raw devices or by using the ASMLib software. This article presents the setup details for using either raw devices or ASMLib, as well as the procedures for converting between both methods.The article assumes the operating system installation is complete, along with an Oracle so...
 
0
VLC media player for UbuntuUbuntu 13.10 “Saucy Salamander”Ubuntu 13.04 “Raring Ringtail”Ubuntu 12.10 “Quantal Quetzal”Ubuntu 12.04 LTS “Precise Pangolin”Quick installThis is the recommended way for installing VLC.Graphical wayOpen Synaptic application (click on System -> Administration -> Synaptic Package Manager).Search for vlc and install it.You may also want to install browser-plugin-vlc.If you are interested in streaming or transcoding,you should additionnally install libavcodec-extra-53.Command line way% sudo apt-get update % sudo apt-get install vlc browser-plugin-vlc Nota BeneUbuntu includes whichever VLC version was the latestat the time the Ubuntu release was frozen(typically about two months before the official Ubuntu upgrade).Afterward, you can still get security and critical bug fixes,but no further major VLC version updates until the next Ubuntu release.If you need a more recent version, please consider upgrading Ubuntu.
Squid代理服务器应用案例 多出口多用户认证上网笔者最近帮朋友接了个小项目,客户在他们的美国机房租了几台服务器,然后想在上面做上网用的代理服务器,供客户在国内使用,希望具有多个出口ip地址供不同用户通过认证上网的方式使用。本文的目的就是向大家介绍笔者实现这个需求的思路和步骤。整个方案通过Squid代理服务器实现。AD:2014WOT全球软件技术峰会北京站 课程视频发布【51CTO独家特稿】最近帮朋友接了个小项目,客户在他们的美国机房租了几台服务器,然后想在上面做上网用的代理服务器,供客户在国内使用。具体需求如下:1、客户的这台服务器具有多个出口ip地址2、客户希望使用认证的方式使用代理服务器上网3、客户希望通过不同的认证用户实现从不同的出口ip访问网络4、隐藏代理信息,隐藏真实上网ip此客户需求相当明确,根据上面罗列,条理也很清晰。本文的目的就是向大家介绍笔者实现这个需求的思路和步骤。作者简介:刘晗昭,网名蚊子(博客),某通信业国企系统工程师,熟悉各种主流开源软件的使用,部署和组合应用,以及主流网站架构。目前关注系统架构和系统优化。笔者使用了Squid来实现这一需求。Squid是一种在Linux系统下使用的优秀的代理服务器软件,还可以...
 用squid在windows里做代理        在单位里面当机器太多耳公司的网络带宽不够的情况下,如果架设一个代理服务器的话,可以提高网页的浏览速度,这里我要用的是squid这个代理软件,它在linux下面是最受欢迎的代理软件,当然它不是唯一的选择,但是这次我们是用它来在我们的windows下面做我们的代理服务器,这是个很简单的事情,只需要几个步骤,我们下面就开始了。        我们用的squid是SQUID 2.6.STABLE13的版本,需要下载的话,可以去http://www.cczee.com/article.asp?id=202    这里下载,我是参考了他的动画和文章,自己试验过的 ,试下来还是比较稳定的。 1.把下载好的文件解压缩到C盘根目录下,可能需要重命名下文件为squid,这样比较方便。 2.进入squid下etc的文件夹,会有三个配置文件,想做个备份,然后再给三个文件重命名,分别去掉它们的最后的default.然后用记事本打开squid.conf这个我们需要的最主要的文件,删除里面的全部内容,把下面的配置内容...
OracleRAC管理 之 集群状态&信息查看 参看集群状态[11:34:11oracle@node1 ~]crs_stat -tName Type Target State Host ------------------------------------------------------------ora.dba.db application ONLINE ONLINE node2 ora....l1.inst application ONLINE ONLINE node1 ora....l2.inst application ONLINE ONLINE node2 ora.dba.rac.cs application ONLINE ONLINE node2 ora....ll1.srv application ONLINE ONLINE node1 ora....ll2.srv application ONLINE ONLINE node2 ora....SM1.asm application ONLINE ONLINE node1 ora....E1.lsnr application ONLINE ONLINE node1 ora.node1.gsd application ONLINE ONLINE node1 ora.node1.ons application ONLINE ONLINE node1 ora.node1.vip application ONLINE ONLINE node1 ora....SM2.asm application ONLINE ONLINE node2 ora....E2.lsnr application ONLIN...
 
0

RAC: 日常监控

发表者:分类:Devops2014-11-01 09:54:48 阅读[2285]
RAC: 日常监控 所有实例和服务的状态$ srvctl status database -d racdbInstance orcl1 is running on node linux1Instance orcl2 is running on node linux2特定节点上节点应用程序的状态$ srvctl status nodeapps -n linux1VIP is running on node: linux1GSD is running on node: linux1Listener is running on node: linux1ONS daemon is running on node: linux1ASM 实例的状态$ srvctl status asm -n linux1ASM instance +ASM1 is running on node linux1.列出配置的所有数据库$ srvctl config databaseracdb集群中所有正在运行的实例SELECTinst_id, instance_number inst_no, instance_name inst_name, parallel, status, database_status db_status, active_state state, host_name hostFROM gv$instanceORDER BY inst_id;INST_ID INST_NO INST_NAME PAR STATUS DB_STATUS STATE HOST-------- -------- ---------- --- ------- ------------ --------- -------1 1 orcl1 YES OPEN ACTIVE NORMAL rac12 2 orcl2 YES OPEN ACTIVE NORMAL rac2位于磁盘组中的所有数据文件select name from v$datafileunionselect member from v$logfileunionselect name from v$controlf...
PRKP-1001 CRS-1028 CRS-0223: Resource 'ora.RACDB.RACDB1.inst' has placement error解决办法 Correcting our RAC problemWe have seen the CRS commands and syntax, now lets look at the practical aspect of it. I was having some trouble while running my RAC on RHEL4 (I think the problem primarily arose because I supplied my virtual machines with inadequate memory. When I noticed that I was getting some alerts on my SoRAC tool, I looked at the status of my RAC.oracle@vmora01rh4 ~]$ cd /u01/app/oracle/product/10.2.0/crs/bin [oracle@vmora01rh4 bin]$ crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora.fokerac.db application ONLINE ONLINE vmora02rh4 ora....c1.inst application ONLINE ONLINE vmora01rh4 ora....c2.inst application OFFLINE UNKNOWN vmora02rh4 ora....serv.cs application ONLINE ONLINE vmora02rh4 ora....ac1.srv application ONLINE ONLINE vmora01rh4 ...
    总共269页,当前第161页 | 页数:
  1. 151
  2. 152
  3. 153
  4. 154
  5. 155
  6. 156
  7. 157
  8. 158
  9. 159
  10. 160
  11. 161
  12. 162
  13. 163
  14. 164
  15. 165
  16. 166
  17. 167
  18. 168
  19. 169
  20. 170
  21. 171