autoDevops,CI,CD
Binary installer for OSX 10.9.1A binary installer for Mavericks can be found on Octave Forge.This installer will install all binaries for GNU Octave 3.8.0 itself and its dependencies under /usr/local/octave/3.8.0 And will create two entries in the Applications folder /Applications/Octave-cli.app /Applications/Octave-gui.app Which will start Octave in CLI and GUI mode respectively, these are just small wrappers containing a startup script and an icon to allow launching Octave from the Finder. If you wish to uninstall GNU Octave 3.8.0 and all other software installed by this installer you can simply move the three folders listed above to the Trash. Notice that you will need to authenticate with an administrator password to be allowed to do so.You may need to override Gatekeeper to allow installation. You may find instructions about how to do this on this page in the section labeled "How to open an app from a unidentified developer and exempt it from Gatekeeper". In shor...
apache的mod_speling模块安装配置说明这个模块你可以这样去生成1、下载一个与当前使用的apache一样版本的安装包2、解压安装包,然后进入其目录#cd /tmp/httpd-2.2.11/modules/mappers/#ls   ,此目录有个mod_speling.c文件3、生成模块/usr/local/apache/bin/apxs -c -i -a mod_speling.c注:usr/local/apache/为我生产环境的apache目录,完成上述后会在/usr/local/apache/modules/目录下多一个mod_speling.so模块文件4、重启httpd服务  PS: <VirtualHost 192.168.1.227:80>#    ServerAdmin admin@zj.comDocumentRoot /var/www/html/#    ErrorDocument 404 http://www.zj.com    CheckSpelling On          (加上这个)ServerName 122.222.222.222#    ErrorLog /var/log/httpd/zjnetbarerror_log#    CustomLog /var/log/httpd/zjnetbar_log combined</VirtualHost>默认情况下,在apahce服务器中,有网址 /Tansf/ ,但如果访问 /tansf/ ,apache是不能识别的(即不能把t改为T)。   &...
 
0
Shell脚本编程的常识七种文件类型正则表达式字符类描述shell的引号类型变量设置时的不同模式:条件测试命令执行顺序脚本调试一些常用的小trick打印一些头信息创建一个长度为0的空文件一些常用的shell变量$0的使用Shift的运用用head或tail指令指定查阅的行数awk使用规则第一个 awk多个字段外部脚本BEGIN 和 END 块规则表达式和块条件语句数值变量字符串化变量众多运算符字段分隔符字段数量记录号多行记录OFS 和 ORS将多行转换成用 tab 分隔的格式循环结构for 循环break 和 continue数组下标字符串化数组工具格式化输出字符串函数一些更耐人寻味的函数字符串替换特殊字符串形式sed使用规则sed 示例另一个 sed 示例地址范围带规则表达式的地址有关地址的更多内容替换规则表达式混乱更多字符匹配高级替换功能组合使用一个地址的多个命令附加、插入和更改行使用 sed 的几个示例linux常用脚本和函数linux常用命令关于文件/目录处理的指令:关于 Process 处理的指令:关于字符串处理的指令:联机查询的指令:网络运用指令:Vi常用技巧 Shell脚本编程的常识(这些往往是经常用到,但是各种网络上的材料都语焉不详的东西,个人认为比较有用)七种文件类型d    &nb...
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.
 
0

RAC: 日常监控

发表者:分类:Devops2014-11-01 09:54:48 阅读[2305]
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 ...
RAC如何启动状态为UNKNOWN的资源&&PRKS-1009,CRS-1028,CRS-0223现象:RAC的一个节点起不来,crs_stat查看发现很多资源状态都为offline[Oracle@rac1 ~]$ crs_stat -tName Type Target State Host ------------------------------------------------------------ora.rac.db application OFFLINE OFFLINE ora....c1.inst application ONLINE OFFLINE ora....c2.inst application ONLINE OFFLINE ora....test.cs application OFFLINE OFFLINE ora....ac1.srv application OFFLINE OFFLINE ora....ac2.srv application OFFLINE OFFLINE ora....SM1.asm application ONLINE ONLINE rac1 ora....C1.lsnr application ONLINE ONLINE rac1 ora....ac1.gsd application ONLINE ONLINE rac1 ora....ac1.ons application ONLINE ONLINE rac1 ora....ac1.vip application ONLINE ONLINE rac1 ora....SM2.asm application ONLINE UNKNOWN rac2 ora....C2.lsnr application ONLINE UNKNOWN rac2 ora....ac2.gsd application ONLINE ONLINE rac2 ora....ac2.ons application ONLINE ONLINE rac2 ora....ac2.vip application ONLINE ONLINE rac2 [oracle@rac1 ~]$ srvctl start asm -n...
    总共68页,当前第34页 | 页数:
  1. 24
  2. 25
  3. 26
  4. 27
  5. 28
  6. 29
  7. 30
  8. 31
  9. 32
  10. 33
  11. 34
  12. 35
  13. 36
  14. 37
  15. 38
  16. 39
  17. 40
  18. 41
  19. 42
  20. 43
  21. 44