灌溉梦想,记录脚步

怎样使用kickstart创建逻辑卷管理(LVM)分区

解决方法:
在ks.cfg文件的’Disk Partition Information’下添加以下选项,使用kickstart创建逻辑卷管理(LVM)分区:

#Disk partitioning information
part pv.
volgroup logvol –vgname= –size= –name=
注意: 上面提到的选项是有先后顺序的。物理卷将先被创建,然后是卷组和逻辑卷。

一个例子: 创建两个物理分区分别给Boot和Swap分区,剩余的空间作LVM。
继续阅读 »

Weblogic注册为服务

如何把新建的域的服务器注册为windows服务
①把C:\bea\wlserver_10.3\server\bin\installSvc.cmd复制到需要注册windows服务的域下。例如新建一个base_domain域。则复制到C:\bea\user_projects\domains\base_domain下。

②在installSVC.cmd中注释掉【::call “%WL_HOME%\common\bin\commEnv.cmd”】添加【call “%DOMAIN_HOME%\bin\setDomainEnv.cmd”】,设置环境变量的调用改为域中的脚本。

③添加域home目录,添加以下变量
■set DOMAIN_HOME=C:\bea\user_projects\domains\base_domain
■set USERDOMAIN_HOME=%DOMAIN_HOME%
■set DOMAIN_NAME=base_domain 名字即为建立的域名

④运行installSvc.cmd服务即可建立,
服务名:-svcname:”beasvc_%DOMAIN_NAME%_%SERVER_NAME%”
运行sc start 服务名 ,运行weblogic console验证是否成功。

Windows 7 快捷键

From Desktop

Windows Key + Tab : Aero [press Tab to cycle between Windows]

Windows Key + E : Windows Explorer is launched.

Windows Key + R : Run Command is launched.

Windows Key + F : Search (which is there in previous Windows versions too)

Windows Key + X : Mobility Center

Windows Key + L : Lock Computer (It is there from the earlier versions as well)

Windows Key + U : Launches Ease of Access
继续阅读 »

EMCA常用命令

创建一个EM资料库
emca -repos create
重建一个EM资料库
emca -repos recreate
删除一个EM资料库
emca -repos drop
配置数据库的 Database Control
emca -config dbcontrol db
删除数据库的 Database Control配置
emca -deconfig dbcontrol db
重新配置db control的端口,默认端口在1158
emca -reconfig ports
emca -reconfig ports -dbcontrol_http_port 1160
emca -reconfig ports -agent_port 3940
继续阅读 »

LLT低延迟传输协议

Problem
Low Latency Transport / Global Atomic Broadcast frequently asked questions

Solution
Q: What is a cluster interconnect?

A: A cluster interconnect is a data path between nodes in a cluster for purposes of interchanging information about managed resources, as well as maintaining cluster membership. In the past the cluster interconnect was incorrectly termed a “heartbeat link”. This term is incorrect because it only refers to a small piece of the actual data traffic on an interconnect. In a VCS cluster the cluster interconnect carries information between nodes on node startup known as a snapshot, information on any change in resource status on any node in the cluster, as well as node to node heartbeat. When CFS or RAC components are added, these components also utilize the cluster interconnect for data traffic such as CFS metadata and RAC Cache Fusion.
继续阅读 »

Erlang简介

Erlang最初是爱立信为开发电信相关产品而产生。

Erlang是一种面向并发 (Concurrency Oriented),面向消息( Message Oriented)的函数式 (Functional)编程语言。

面向并发说明 Erlang支持大规模的并发应用,我们可以在应用中处理成千上万的并发,而不相互影响。面向消息,其实是为并发服务!我们应该都熟悉多线程,熟悉加锁解锁操作,熟悉可能出现的资源竞争与死锁。在 Erlang的世界里,我们可以将轻轻的抹去这些令人苦恼的词汇。 Erlang的世界,每个处理都是独立的个体,他们之间的交互仅仅靠消息!因此不会有死锁,不会有那种痛苦的编程经历。
继续阅读 »