下面是 March, 2008的汇总

Oracle收购e-TEST suite

Friday, March 28th, 2008

Oracle今天宣布从Empirix 公司手中收购e-TEST suite系列软件

自从Oracle 去年推出Unbreakable Linux计划和今年年初收购BEA之后,产品线就日趋完善了,覆盖了从操作系统,数据库,中间件,到应用程序的企业级一揽子解决方案。大家可能已经注意到,在Oracle 11g中一个重要的feature就是RAT (real application testing),我感觉这是oracle涉及软件测试市场的一个前兆,现在oracle收购了e-TEST suite并把它集成到Enterprise Manager中去,并和RAT进行集成,更大大加强了Oralce在测试工具和应用测试方面的力量。

目前在企业级的测试工具市场上,HP和IBM主导占据了主导地位,HP-Mercury和IBM-Rational的系列测试解决方案产品占据了绝大多数的市场份额。Oracle现在携e-TEST suite涉足这一领域,也有有自身的优势,那就是跟自己产品的融合以及全套的解决方案系列。另外e-TEST suite本身也是一套完整的测试工具套件,包括功能测试工具e-Tester(类似Mercury Quick Test Professional和WR和Rational Functional Tester),e-Load(类似HP LoadRunner和Rational 的Performance Tester),e-Manager Enterprise (类似Merucyr Quality Center和Rational Test Manager),每一部分的功能都有自己的优势,下面是一个完整的介绍,有兴趣的朋友可以下载试用版试用。

e-Tester介绍:
(more…)

Oracle ASM新书推荐

Friday, March 21st, 2008

市面上关于Oracle RAC的书不多,关于ASM的新书更是少之又少,隆重向大家推荐一本ASM的新书

Oracle Automatic Storage Management
Under-the-Hood & Practical Deployment Guide

作者是Oracle公司RAC部门的几位数据库专家。Rich Long更是ASM的开发总监。
下面是本书的简单介绍:

http://www.mhprofessional.com/product.php?isbn=0071496076

Streamline data management and provisioning using Oracle Automatic Storage Management (Oracle ASM) and the detailed information contained in this exclusive Oracle Press resource. Written by a team of database experts, Oracle Automatic Storage Management: Under-the-Hood & Practical Deployment Guide explains how to build and maintain a dynamic, highly available Oracle database storage environment. Inside, you’ll learn how to configure storage for Oracle ASM, build disk groups, use data striping and mirroring, and optimize performance. You’ll also learn how to ensure consistency across server and storage platforms, maximize data redundancy, and administer Oracle ASM from the command line.

* Manage Oracle ASM Instances and configure Oracle RDBMS instances to leverage Oracle ASM
* Define, discover, and manage disk storage under Oracle ASM
* Create external, normal-redundancy, and high-redundancy disk groups
* Add and remove Oracle ASM storage without affecting RDMS instance availability
* Learn how Oracle ASM provides even I/O distribution
* Work with Oracle ASM directories, files, templates, and aliases
* Improve storage performance and integrity using the ASMLIB API
* Simplify system administration with the Oracle ASM command line interface
* Understand key internal Oracle ASM structures and algorithms

作者简介:
Nitin Vengurlekar works at Oracle in the Real Application Cluster (RAC) engineering group, with specific emphasis on ASM. Nitin is a popular conference presenter on this topic.
Murali Vallath is an Oracle Certified Database Administrator and is president of the Oracle RAC Special Interest Group.
Rich Long is Director of Development for Automatic Storage Management at Oracle and has managed ASM development since the project’s inception.

推荐两样东西

Sunday, March 9th, 2008

推荐两样东西,一篇文章和一个软件

推荐的软件就是RocketDock,http://rocketdock.com/

重点的推荐的这篇文章,讲的是开发中很重要的一个过程:每日构建(daily build)(对,贾罗德,你没看错,就是从你那里看到的 ^_^),下面是文章关键部分。
另外,之前也有一篇原创的关于日构建的,可以参考:每日构建与冒烟测试

原文地址
每日构建(daily build)是你的朋友
作者: 周思博 (Joel Spolsky)
译: Chen Bin
2001年1月27日

……
一个好的办法是每日构建(daily builds)。 每日构建意味着自动地,每天,完整地构建整个代码树、(译者按:“代码树”,原文为source tree,意思是将整个项目源代码的目录,子目录,文件的位置尽可能事先固定下来,这样在开发过程中各个模块间,各个文件间的相对位置都不会混乱。源代码树指的就是一个项目所有的已经组织好的代码文件。通常代码树应该用版本控制软件管理起来。虽然这个概念很基本,但是据我的观察,国内还是有软件公司在这方面做的不够好的,所以有必要解释一下。)

自动地 - 因为你设定代码每天在固定的时间构建。在Unix环境下使用cron,在windows下使用“任务计划”。

每天 - 或者更频繁. 当然每天构建的次数越多越好啦。但是有时候构建次数还是有上限的,原因和版本控制有关系,等会儿我会谈到的。

完整地 -很可能你的代码有多个版本。多语言版本,多操作系统版本,或者高端低端版本。每日构建(daily build)需要构建所有这些版本。并且每个文件都需要从头编译,而不是使用编译器的不完美的增量编译功能。

以下是每日构建(daily build)能带来的好处:
(more…)

SunCluster ucmmd问题解决过程

Friday, March 7th, 2008

最近,经常遇到SunCluster中有一个节点ucmm起不来的问题,现象就是scstat -g输出的结果显示ucmmd is not running,十分郁闷
STIT的弟兄们帮助解决了几次,但是也不知所以然,这次刚解决了,又坏了,恼火。

search了Sun的网站,找到了scswitch的用法,仔细看了一遍,然后用了两个命令搞定了。

1.先用ucmmd把ucmm的process重新启动一次:

#/usr/cluster/lib/ucmm/ucmmd -r /usr/cluster/lib/ucmm/ucmm_reconf

2. 然后用scswitch把相关的group resource offline/online一次,结果OK

# /usr/cluster/bin//scswitch -R -h xxx -g rac-framework-rg
#xxx is the node name

scswitch的用法记录一下,以备后患

scswitch(1M)

scswitch– perform ownership and state change of resource groups and disk device groups in Sun Cluster configurations

SYNOPSIS

scswitch -c -h node[,…] -j resource[,…] -f flag-name
scswitch {-e| -n} [-M] -j resource[,…]
scswitch -F {-g resource-grp[,…]| -D device-group[,…]}
scswitch -m -D device-group[,…]
scswitch -Q [ -g resource-grp[,…]]
scswitch -R -h node[,…] -g resource-grp[,…]
scswitch -S -h from-node [ -K continue_evac]
scswitch {-u| -o} -g resource-grp[,…]
scswitch -z -g resource-grp[,…] -h node[,…]
scswitch -z -g resource-grp[,…]
scswitch -z
scswitch -z -D device-group[,…] -h node
scswitch -Z [-g resource-grp[,…]]
(more…)

Clusterware Console脚本分享

Wednesday, March 5th, 2008

做Clusterware和RAC的测试的时候,节点多的时候,需要不停的在节点之间切换,而且容易出错,于是写了这样一个脚本,跟大家分享一下。
目前主要完成一些简单的功能,支持的平台有Linux,Solaris, AIX and HP,打算继续扩展。也欢迎使用并提出意见,

  1.  
  2. [ractest@sun880-1 ~]$ more console
  3. #!/bin/bash
  4.  
  5. #This script is used to control the whole cluster nodes in one interface
  6.  
  7. echo "******************************************************************"
  8. echo "                  Welcome to Cluster Console                      "
  9. echo "                                                                  "
  10. echo "The console is used to control the whole cluster nodes in one node"
  11. echo "now it can support start/stop stack,check stack status, process   "
  12. echo "priority, check node uptime and will support more in the future   "
  13. echo "                                                                  "
  14. echo "  Any bug or comment please report to ricky.zhu@gmail.com        "
  15. echo "******************************************************************"
  16.  
  17. get_nodename () {
  18.   $CH/bin/olsnodes -n > tmp
  19.   name=`head -n $1 tmp | tail -1 | awk ‘{print $1}’`
  20.   echo "$name"
  21. }
  22. check_uptime() {
  23.  
  24.   nl=`$CH/bin/olsnodes `
  25.   for node in $nl
  26.   do
  27.     echo "node=$node"
  28.     $RSH $node "hostname; date; /usr/bin/uptime"
  29.   done
  30. }
  31.  
  32. UNAME=‘/bin/uname’
  33. PLATFORM=`$UNAME`
  34.  

(more…)


Close
E-mail It