autoDevops,CI,CD
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 阅读[2000]
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...
/vipca Error 0(Native: listNetInterfaces:[3])  在搭建RAC过程中再最后台Node运行root.sh,最后如果出现Error 0(Native: listNetInterfaces:[3])错误,则通过以下方法解决。 rac2 ~] #cd /oracle/product/crs/binrac2 bin] #./oifcfg iflist[root @rac2 bin] #./oifcfg setif-global eth0/172.24.18.0:public[root @rac2 bin] #./oifcfg setif-global eth2/10.0.0.0:cluster_interconnect[root @rac2 bin] #./oifcfg getif结束后再运行VIPCA
10G RAC建库报错PRKS-1009 CRS-0215报错解决 好久没有安装10g的RAC了,今天装了个,妈的竟然报错,报错如下:   google了一把也没有找到方案。实例ASM2无法启动,但是手工是可以的啊。看了下后台报错妈的什么terminated,也不知道是啥原因。反复做了好几遍都是同样的报错。 最后用如下方案是可以的: 由于dbca建库会自动创建ASM实例,所以先关闭正在运行的ASM实例,然后从OCR中移除ASM实例的相关配置,然后用DBCA删除安装信息。再次启动DBCA一切OK。 步骤如下: 1.停止两个节点上的ASM实例[root@elvis101 bin]# ./srvctl stop asm -n elvis101[root@elvis101 bin]# ./srvctl stop asm -n elvis102[root@elvis101 bin]# ./crs_stat -tName Type Target State Host ------------------------------------------------------------ora....SM1.asm application OFFLINE OFFLINE ora....01.lsnr application ONLINE ONLINE elvis101 ora....101.gsd application ONLINE ONLINE elvis101 ora....101.ons application ONLINE ONLINE elvis101 o...
 RAC重新建库和报单实例错误和解决办法。     重新建立ASM实例    1、停止实例。    [oracle@ora2 ~]$ srvctl stop asm -n ora1[oracle@ora2 ~]$ srvctl stop asm -n ora2   2、删除服务[oracle@ora2 ~]$ srvctl remove asm -n ora1[oracle@ora2 ~]$ srvctl remove asm -n ora2      3、删除配置文件,在两个节点运行   [oracle@ora2 ~]$ rm -f $ORACLE_HOME/dbs/*ASM*[oracle@ora2 ~]$ rm -fr $ORACLE_BASE/admin/*ASM*   4、删除/etc/oratab实例注册,在两个节点运行。删除一下条目,其中以+ASM开头的为asm实例。        +ASM2:/u01/app/oracle/product/10.2.0/db_1:N   5、创建asm实例    使用dbca重新创建。  如果不清理/etc/oratab内容,会在建asm实例时抱一下错误:The ASM instance configured on the local node is a single-instance ASM.To create a single-instance database using this ASM instance ,restart DBCA and select the single-instance database...
    总共66页,当前第32页 | 页数:
  1. 22
  2. 23
  3. 24
  4. 25
  5. 26
  6. 27
  7. 28
  8. 29
  9. 30
  10. 31
  11. 32
  12. 33
  13. 34
  14. 35
  15. 36
  16. 37
  17. 38
  18. 39
  19. 40
  20. 41
  21. 42