Install ZABBIX On Linux 5 监控安装配置(pdf)
•What is zabbix ?
•What can it monitor?
•Structure of ZABBIX and Componentes
提供综合数据库运维服务与优化方案(不限Oracle MySQL PG GaussDB GoldenDB OceanBase等), 微信/Tel:(+86)134-365-60330
操作系统方面知识
•What is zabbix ?
•What can it monitor?
•Structure of ZABBIX and Componentes
[oracle@db231 ~]$ ./adr_purge
INFO: Purge started at Thu May 16 07:35:32 CST 2013
INFO: adrci purge started at Thu May 16 07:35:32 CST 2013
INFO: adrci purging diagnostic destination diag/tnslsnr/db231/listener
INFO: purging ALERT older than 90 days …
INFO: purging INCIDENT older than 30 days …
Creates a backup directory if required, works out the ASM SID, renames the previous entry, then loops round backing up the metadata data for each diskgroup. It also lists each file backed up which is quite helpful. Finally it creates error checking and a log and error file outputs [grid@rac1 ~]$ cat asm_metadata_bk.sh #!/bin/sh # … Read more
客户要求导出大量的数据(约800万记录),开始为了格式上的好看生成的是ACCESS数据库文件,用Toad 11导出成生ACCESS,本地域名网的DB,生成700W生成的文件有1G多点,都用了约三个小时,更悲惨的是三个小时后,弹出的一个错误窗口,提示无空间,莫名其妙,硬盘空间很充足,当时的心情可真是”唯有长江水无语东流…” 变通一下800万的记录在ACCESS也没有可读性,无非是数据导入,所以考虑生成flat file,文本文件的形式。 想到了老楼的小工具sqluldr,free命令行操作方便。 下面是真实的操作,早知如此何必加那三小时班。 [oracle@dev-db ~]$ ./sqluldr2 user=icme6/icme6 query=”select /*+parallel(t 8)*/* from sdscore t” file=sd_score.txt field=0x09 record=0x0d0x0a 0 rows exported at 2013-04-12 19:59:18, size 0 MB. 1000000 rows exported at 2013-04-12 19:59:21, size 200 MB. 2000000 rows exported at 2013-04-12 19:59:24, size 320 MB. 3000000 rows exported at 2013-04-12 19:59:27, size 420 MB. … Read more
In Linux, PTS stands for Pseudo Terminal Slave. PTS refers to a user currently logged in to your terminal using an SSH or telnet connection.
The Linux bonding driver provides a method for aggregating multiple network interfaces into a single logical bonded interface.
通过检查replicate进程确认OGG REPLICATE进程是否存活shell
usually,we do not want to setup an email serve,but just want to send an email from a Linux Shell script easily when got any alert or exptions.then let’s know what happend with the event on the Host,then to solve this problem.
Bing determines bandwidth on a point-to-point link by sending ICMP ECHO_REQUEST packets and measuring their roundtrip times for different packet sizes on each end of the link
我是习惯在sqlplus中做一些操作,在linux中安装rlwrap 支持方向键,但如果多个用户在同一台机器上登录,每个人常用的命令不同,方向键查找起来很麻烦,so.那就把我们经常用的操作分类或以用户分类,设立独立的历史操作记录log
除了linux中长用的vmstat,iostat,top,sar等工具外有两组轻量的工具也值的推荐,
一个就是经典的IBM 的nmon+nmonanalyser
另一个是Collectl+Graphite
在Excel中有时有需求,需要像数据库一样,做两个sheet或文件的关联,把一个表中匹配Key的值更新到当前Key的某一列,不想让把excel那么多字段导入db,就可以利用伟大的excel 公式做到实现
1,配置OS环境
2,安装GRID (clusterware)到第三个节点
3,安装ORACLE RDBMS SOFTWARE到第三个节点
4, 增加oracle instance 到第三个节点
LVM在后期因先前指定的路径空间不够时调整起来很方便,也可以就用于ASM,但是并不推荐ASM安装在LVM之上,因为LVM的功能在ASM上已存在。
For XDMCP connection to Red Hat 5 EL or CentOS 5 or OEL5
1. Change runlevel to 5
Open /etc/inittab and set the initial runlevel to 5 as following:
id:5:initdefault:
[root@rac2 ~]# rdate -s 192.168.168.178
SecureCRT ssh 端口转发功能
toad—>127.0.0.1:3000—ssh –>web server—ssh—>db server:1521
VirtualBox can run 64-bit guests on a 32-bit host. You’ll need to make sure your processor has hardware virtualization and that it is enabled in the BIOS.
linux/unit 系统中查看cpu系统负载,都会先看一下这个参数,这个值在uptime 或ps 中都有
OS Watcher简称OSW,用于收集并归档操作系统cpu,memery,disk io等相关信息的工具,是oracle提供的,OSW内部是使用操作系统提供的命令来收集数据,它可以放在后台定期间隔一段时间自动收集,并可以设定数据保留时间