
Linux系统管理
文章平均质量分 81
inthirties
程序员紫龙,喜欢编程,热爱编程的老年程序员
展开
-
Docker实战-使用NGINX实现4层的负载均衡
我们俗称的3层,4层,7层都是相对于网络结构而言的, 表示是在网络7层架构的哪个层次实现的负载均衡;四层负载均衡:工作在传输层,由于在传输层,只有TCP/UDP协议,这两种协议中除了包含源IP、目标IP以外,还包含源端口号及目的端口号。四层负载均衡服务器在接受到客户端请求后,以后通过修改数据包的地址信息(IP+端口号)将流量转发到应用服务器。今天我们这个文章就给大家实战一下,通过docker使用nginx来实现4层的负载均衡。......原创 2022-08-30 15:38:23 · 1853 阅读 · 0 评论 -
window冷备份恢复至linux
以前做window到linux的迁移都是用的常规的exp和imp的方法来迁移的。利用逻辑备份,从而实现跨物理结构和os的数据迁移。这样的方法我相信有不少的朋友都是这样的做的。今天有一个50g的数据库,需要重window的平台,迁移到linux的平台。这几天刚好在看数据文件的物理结构,看到大家提供的物理结构的文档,并没有OS的差异上的区别,那么是不是意味着在不同的os上的数据文件等是不是原创 2010-04-20 11:00:00 · 1435 阅读 · 2 评论 -
solaris下的sqlplus+rlwrap
http://inthirties.com:90/thread-1389-1-1.html在以前就写过一个文章,介绍在Linux环境下,通过rlwrap,让sqlplu的控制台和linux一样,支持命令历史的用法。这样使我们的sqlplus使用起来更方便,就和使用linux没有什么差别。文章见http://inthirties.com:90/thread-1原创 2010-04-07 15:58:00 · 1990 阅读 · 0 评论 -
NoSQL下一站天后?
NOSQL并不算是一个新生的事物,Amazon, Google等海量的系统都有自己的Nosql的实现方案,NoSQL 是非关系型数据存储的广义定义,冲破了传统DBA脑子里根深蒂固的关系型数据库和ACID的理念,Nosql随着这些公司的强大,概念也越来越接近我们了。并在2009年。扩大到整个数据库领域。NoSQL 数据存储没有固定的表结构,这里的表并不是我们RDBMS里的表的概念了。基于这样的实现,原创 2010-04-09 08:19:00 · 1047 阅读 · 1 评论 -
CentOS YUM 国内镜像
这几天CentOS的Yum官方源特别慢用这个代替了。http://centos.ustc.edu.cn/centos/http://mirrors.163.com/centosredflag自己的官方源也比较快。 Centos安装自带了Yum,RHEL是不带的。关于Yum在RHEL上的安装,可以查看http://blog.youkuaiyun.com/i原创 2010-04-09 08:19:00 · 5903 阅读 · 1 评论 -
OCR与Voting Disk以及其管理
http://inthirties.com:90/thread-1306-1-1.htmlOracle Clusterware由2部分组成,分别是Voting Disk和 OCR。Voting Disk里面记录着节点成员的信息。如RAC数据库中有哪些节点成员,节点增加或者删除时也同样会将信息记录进来。Voting Disk必须存放在共享存储上,通常来说是存放在裸设备上原创 2010-03-30 11:04:00 · 4479 阅读 · 0 评论 -
oracle deterministic关键字
http://inthirties.com:90/viewthread.jsp?tid=1395这个deterministic是不是很眼熟呀,我们在online redefinition里见到过这个关键字,这个关键在在自定义的函数索引里也出现了。先看看文档DETERMINISTIC ClauseSpecify DETERMINIS原创 2010-04-09 09:38:00 · 2309 阅读 · 0 评论 -
开源协议要注意
http://inthirties.com:90/viewthread.jsp?tid=1396&frombbs=1今天一个以前公司的同事,问道了我有关开源协议的种类。常用到的主要有GPL,LGPL,Apache,BSD这几个开源协议,还有些特别的java开源项目并不完全遵循这里的主流开源协议,而在 note里声明有自己的license协议。所以对于做一些商业软原创 2010-04-09 11:08:00 · 3689 阅读 · 8 评论 -
Legato备份oracle的文档整理
http://inthirties.com:90/viewthread.jsp?tid=13941 我们已经在备份服务器上建立了一个catalog库,具体的操作过程如下:1)查询现在的数据库 # sqlplus /nolog.SQL>connect / as sysdba;Connected.SQL>select * from v$tablespac原创 2010-04-09 09:02:00 · 1272 阅读 · 0 评论 -
怎样不重启而让修改resolv.conf生效
solaris 10下修改了resolv.conf 不能马上生效,可以修改/etc/nsswitch.confhosts: files dns就可以了原创 2010-04-23 11:22:00 · 5086 阅读 · 0 评论 -
[14] >TRACE: clssnmPollingThread: node %1 (%2) missed(%3) checkin(s)
http://inthirties.com:90/viewthread.jsp?tid=137110.2.0.1上的rac有见到一些诡异日志[ CSSD]2010-04-03 19:20:35.970 [13] >TRACE: clssnmPollingThread: node solaris (1) missed(2) checkin(s)应该是h原创 2010-04-06 09:15:00 · 813 阅读 · 0 评论 -
tns的bug
http://inthirties.com:90/viewthread.jsp?tid=1368修改了listener的端口,没有使用默认的端口1521带来的几个错误,1. lsnrctl status出错 [oracle@solaris ~]lsnrctl status LSNRCTL for Solaris: Ve原创 2010-04-06 09:17:00 · 1010 阅读 · 0 评论 -
[ OCRSRV][3736]th_select_handler: Failed to retrieve procctx from ht.
http://inthirties.com:90/viewthread.jsp?tid=1373在今天的日志里看到很多的[ OCRSRV][3736]th_select_handler: Failed to retrieve procctx from ht. constr = [15299816] retval lht [-27] Signal CV这样的信息。原创 2010-04-06 09:14:00 · 2033 阅读 · 0 评论 -
solaris上已经安装了Oracle
Solaris上已经安装了Oracle,版本10.2.0.1供大家学习和使用。 开通了3个service分别是 crmdb,用户名 crm/crm salesdb,用户名 sales/sales soldb用户名 scott/tiger 数据库端口31521 这个数据库的表空间比较小,各只有400M,仅供学习使用 salesd原创 2010-03-30 15:02:00 · 677 阅读 · 0 评论 -
巨郁闷,一切都是驱动惹的祸
昨天把一个web应用移到另一个服务器上,出现问题mysql连接不上了前面的服务器平台CentOS5.2 单网卡迁移的服务器是CentOS5.3 双网卡。ip没有变化,迁移的服务器做了双网卡的处理。程序启动后,提示错误Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communica原创 2010-04-01 10:47:00 · 1423 阅读 · 0 评论 -
oracle RAC的进程们
GSD global services daemon (GSD) 与rac的管理工具dbca srvctl oem进行交互,用来完成实例的启动关闭等管理任务。为了保证这些管理工具运行正常必须在所有的节点上先start gsd,并且一个GSD进程支持在一个节点的多个rac.gsd进程位于$ORACLE_HOME/bin目录下,其log文件为$oracle_home原创 2010-04-14 17:40:00 · 1821 阅读 · 0 评论 -
what are nodeapps (Node applications) ?
http://inthirties.com:90/viewthread.jsp?tid=1357&frombbs=1 这几天一直和ricky讨论nodeapps的问题到底什么是nodeapps,nodeapps包括哪些东西呢?在metalink里找了一下,也找不到很清楚的描述,只是在RAC的管理guideline里找到这样一句话,提到了nodeapps- On 1原创 2010-04-03 23:43:00 · 732 阅读 · 0 评论 -
pfile中RAC 特定参数
http://inthirties.com:90/viewthread.jsp?tid=1369做过好多的单实例迁移成RAC的个案。其中有个环节就是修改单实例的pfile为支持RAC的pfile。其中几个重要的参数,记载如下*.cluster_database_instances=2*.cluster_database=true原创 2010-04-06 09:16:00 · 882 阅读 · 0 评论 -
CRS-1006: No more members to consider 南辕北辙
http://inthirties.com:90/thread-1359-2-1.html这次的solaris有单实例迁移到RAC上不是很顺利。呵呵呵,放假了,小女儿在家里,家里热闹的多了。一下要你给她拿剪刀,一下要你给他画画,做手工,这样的也就是断断续续的。本已经结束了,在节点上也都注册好了database和instance。并且也已经试过了一次,整个rac都搞好了,原创 2010-04-06 09:22:00 · 8010 阅读 · 2 评论 -
ORA-12091: cannot online redefine table “%s”.”%s” with materialized views
http://inthirties.com:90/viewthread.jsp?tid=1381&frombbs=1ORA-12091: cannot online redefine table “TEST”.”T” with materialized views [oracle@solaris ~]oerr ora 12091原创 2010-04-07 08:41:00 · 1431 阅读 · 0 评论 -
solaris asm的需要注意的一点
solaris里用asm的话,要注意slide0不会被asm加入进来,所以slide0要用小的size先partition出来。其他的partition给asm用。原创 2010-04-06 09:10:00 · 750 阅读 · 1 评论 -
又见RAC宕机
http://inthirties.com:90/viewthread.jsp?tid=1375给csdn学习的朋友准备了一个solaris的Oracle环境,以便学习。http://topic.youkuaiyun.com/u/20100330/15/b2620935-630d-4bbf-8ccb-ad9a2dcc2bab.html?53665昨天将环境升级为RAC的原创 2010-04-06 09:12:00 · 812 阅读 · 0 评论 -
AIX 5L上管理网卡
通过lsdev命令可以看到网卡的个数与类型#lsdev -Cc adapter|grep entent0 Available 08-08 10/100/1000 Base-TX PCI-X Adapter (14106902)ent1 Available 0B-08 10/100/1000 Base-TX PCI-X Adapter (14106902)ent2 Availab原创 2010-04-23 11:22:00 · 1467 阅读 · 0 评论 -
11gR2 cluvfy tools usage
Note that the following only shows the available olsnodes syntax. For additional explanation on what these commands do, see the Oracle Documentation. Component Options:$ ./cluv原创 2010-05-26 11:51:00 · 1029 阅读 · 0 评论 -
Command for adminstration for clusterware resource
In fact this article should be named Description of crsctl, srvctl, ocrcheck, olsnodes and oifconfig. I want to introduce all the description about these commands. Srvctl and crsctl a原创 2010-05-26 12:04:00 · 1107 阅读 · 0 评论 -
Solaris Swap Space Tips solaris上的swap空间
Today I have seek one article about the swap space upon Solaris system. its very useful for us to clarify the doubt about it. 文章如下:来自Ricky 最近被问到Solaris上的Space和Memory信息,发现很多信息不一致,比如top看到的swa原创 2010-05-26 15:04:00 · 1281 阅读 · 1 评论 -
Google File System(Just English Tech Reading)
<br />GFS is optimized for Google's core data storage and usage needs (primarily the search engine), which can generate enormous amounts of data that needs to be retained;[2] Google File System grew out of an earlier Google effort, "BigFiles", developed b原创 2010-06-01 10:32:00 · 685 阅读 · 0 评论 -
Linux command summary
<br />这是一个linux常见命令的列表。<br />那些有• 标记的条目,你可以直接拷贝到终端上而不需要任何修改,因此你最好开一个终端边读边剪切&拷贝。<br />所有的命令已在Fedora和Ubuntu下做了测试<br />命令描述•apropos whatis显示和word相关的命令。 参见线程安全•man -t man | ps2pdf - > man.pdf生成一个PDF格式的帮助文件 which command显示命令的完整路径名 time command计算命令运行的时原创 2010-06-02 13:26:00 · 1279 阅读 · 0 评论 -
How to Troubleshoot Grid Infrastructure Startup Issues
How to Troubleshoot Grid Infrastructure Startup Issues [ID 1050908.1] -------------------------------------------------------------------------------- Modified 25-JUN-2010 Type HOWTO Status PUBLISHED In this Document Goal Solution原创 2010-07-30 13:32:00 · 1514 阅读 · 0 评论 -
HPC扫盲篇
一:┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈HPC简介二:┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈硬件配置三:┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈系统的安装四:┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈网络设置五:┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈安装NFS服务六:┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈安装NIS服务七:┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈安装RSH服务八:┈┈┈┈┈┈┈┈┈┈┈原创 2010-06-10 14:06:00 · 2145 阅读 · 1 评论 -
如何修改Oracle 11gR2中的资源属性
今天简单介绍下Oracle GI 11gR2中CRS相关资源属性的修改。在Oracle 11gR2中,所有的资源在安装结束的时候都有一些默认属性。这里的资源不仅仅包含CRS资源比如nodeapps, asm, listener, db等等,也包括在11gR2中新引入的ohasd资源(当然crs也是OHASD资源的一种),包括crsd, gpnpd, gipcd, ctssd等等。这些属性比如超时时间,启动脚本,依赖关系等等。当然这里提供的只是一个方法,至于是否需要修改,什么时候修改则请慎重使用,转载 2010-08-09 11:09:00 · 1579 阅读 · 0 评论 -
addNode的错误NullPointException
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.Oracle Universal Installer, Version 10.2.0.1.0 ProductionCopyright (C) 1999, 2005, Oracle. All rights reserved.Exception java.lang.NullPointerException occ原创 2010-06-20 10:43:00 · 1968 阅读 · 0 评论 -
11gR2 Clusterware Key Facts
11gR2 Clusterware is required to be up and running prior to installing a 11gR2 Real Application Clusters database. The GRID home consists of the Oracle Clusterware and ASM. ASM should n原创 2010-05-26 10:46:00 · 928 阅读 · 0 评论 -
11gr2 check status of resources in cluster
The following command will display the status of all cluster resources:$ ./crsctl status resource -t----------------------------------------------------------------------------原创 2010-05-26 11:59:00 · 962 阅读 · 0 评论 -
AIX系统的日常监控维护
UNIX操作系统在各电信运营商中应用非常广泛,各种业务管理系统的后台服务器几乎都采用UNIX操作系统。AIX作为UNIX操作系统中的一种,因其稳定性高、兼容性好的特点受到众多系统管理员的欢迎。下面提供几个方法,供大家共享,旨在提高维护的目的性、针对性及维护效率,降低故障发生率,从日常维护管理上做到“有的放矢”,“万无一失”。1、 使用df –k命令检查文件系统是否满用root用户登原创 2010-04-23 11:23:00 · 1154 阅读 · 0 评论 -
SCAN(Single Client acccess Name)
2010年05月5号 | 11:06分类:<a title="查看 RAC维护 的全部文章" rel="category" href="http://b.inthirties.com:90/?cat=18" title="查看 RAC维护 的全部文章">RAC维护, 管理维护 | 编辑 | 标签:11g、grid、RAC、scan 本文出自原创 2010-05-05 11:09:00 · 2581 阅读 · 0 评论 -
Are you interested in Oracle?
Are you interested in Oracle? Do you want to be a master of Oracle? Will you want to achive your dream of Oracle?RACData GuardBackup and RecoveryTrouble shootHign ActivityPerformance Tuninghttp://www.oraforum.net原创 2010-07-17 11:05:00 · 1152 阅读 · 2 评论 -
AIX下的topas命令
Topas命令可以监控系统活动――memory,I/O,paging space,cpu,process。此命令包含在 perfagent.tools文件集里面。命令使用方法:topas [ -d number_of_monitored_hot_disks ] [ -h ][ -i monitoring_interval_in_seconds ][ -n number_of原创 2010-04-23 11:21:00 · 2915 阅读 · 0 评论 -
非常有用的工具VNC,然你远程连上你的linux
Fedora安装VNCServer远程桌面, 在安装包中选择上vncserver,安装后即可出现vncserver组件,首先运行vncserver 提示输入密码 xxxxxxx 确定密码 xxxxxxx 修改/etc/sysconfig/vncserver. 移除注释项 把用户改成root 如: VNCSERVERS=”1:root” VNCSERVERARGS[1]=”-原创 2009-09-18 11:22:00 · 912 阅读 · 0 评论 -
Oracle and IBM AIX 5.2 swapping and memory issues
Lately,Jordan bank upgraded their ICBS banking software to Oracle 9i andIDS9i. The Bank also moved from a decentralized to a centralizedsystem.We were contracted to monitor and diagnose pe转载 2010-03-09 11:39:00 · 869 阅读 · 0 评论