http://pic.dhe.ibm.com/infocenter/psappsys/v1r0m0/index.jsp?topic=%2Fcom.ibm.ipas.doc%2Fiwd%2Fapr_patterntypeovw.html
PureAS包含兩種pattern,將來有可能會(huì)演化成一種。
從Amazon 和VMware Cloudfundry等云產(chǎn)品中,我們發(fā)現(xiàn)用戶使用的中心不是操作系統(tǒng),而是中間件。
是及時(shí)的獲取mysql,tomcat,httpd等應(yīng)用程序。而且廠商還能提供策略,托管這些中間件。
PureAS作為IBM的云產(chǎn)品,也是這樣來考慮,怎么樣將它傳統(tǒng)的中間件跑在云上。開發(fā)者可以直接拿到Db2,was,Scaling,monitoring,backup等應(yīng)用或功能。
http://pic.dhe.ibm.com/infocenter/psappsys/v1r0m0/index.jsp?topic=%2Fcom.ibm.ipas.doc%2Fiwd%2Fpgt_samples.html
因?yàn)镮BM有自己的硬件和軟件。所以,在云計(jì)算,尤其是私有云的市場上,優(yōu)勢還是很明顯。
微軟在這些對手面前,真是捉襟見肘。
網(wǎng)絡(luò)能力不行,硬件能力不行。就憑一個(gè)個(gè)漸漸在云端弱化的操作系統(tǒng)。
不看好。
一個(gè)RUC應(yīng)用是運(yùn)行在WSE Server上的,可以在WSE Console中維護(hù)。
RUC如何被使用?
RUC向外界暴露三種接口
1.MDB
2.WS
private SampleRemote_SEIProxy getSampleWS() {
SampleRemote_SEIProxy rucWS = new SampleRemote_SEIProxy();
try {
String endpoint = (new URL("http", RUC_SERVER_HOST,
RUC_SERVER_PORT,
"/ibmse_ruc_sampleRUC_ejbHttpRouter/services/Sample"))
.toString();
rucWS.setEndpoint(endpoint);
} catch (MalformedURLException e) {
e.printStackTrace();
}
return rucWS;
}
3.SLSB
private SampleRemote getSampleSLSB() throws NamingException {
InitialContext ic = new InitialContext();
logText("Looking up ejb/ruc/Sample in InitialContext");
SampleRemote ruc = null;
Object stub = ic.lookup("ejb/ruc/Sample");
if (stub != null) {
logText("Found non-null ejb/ruc/Sample in InitialContext");
ruc = (SampleRemote) PortableRemoteObject.narrow(stub,
SampleRemote.class);
} else
logText("Could not find ejb/ruc/Sample in InitialContext");
return ruc;
}
RUC如何使用其他的接口?
它也在使用其他的服務(wù),服務(wù)分為兩種,一種是WSE內(nèi)部的,例如DB。
另外一種是外部的,如ruc.maximo. 首先,內(nèi)部的接口比較容易被使用,形成了SLSB,JMS,DB三種最容易的方式。使用外部的服務(wù)則麻煩一點(diǎn),例如ITS或maximo,在Maximo中 ,它具備IFM可以讓其他系統(tǒng)的集成容易一些,通過IFM生成的WSDL,可以在WSE中使用。于是RTAL中,WSE和Maximo的集成是這樣的:WSE中使用一個(gè)RUC,RUC調(diào)用targetBackend,這個(gè)targentBackend就是一系列的WS類。RUC agent通過這個(gè)backend模塊,使自己在WSE的其他taskagent看起來就像是內(nèi)部模塊一樣。
when one of the node leave the cluster because of poweroff or network failed issues, the node return finally.
but the hadr status will not be right at some conditions.
use lssam to check it .it may looks like below.
use this cmd to swith the resource and node to right status.
resetrsrc -s “Name = ‘db2_bpminst_bpminst_PDWDB-rs’ AND NodeNameList = {‘ipas-pvm-017-048’}” IBM.Application
then ,the hadr status should be like this.
http://www.linuxbyte.org/ubuntu-geng-xin-yuan-qian-ming-cuo-wu-badsig-40976eaf437d05b5.html
sudo apt-get cleancd /var/lib/aptsudo mv lists lists.oldsudo mkdir -p lists/partialsudo apt-get cleansudo apt-get update
http://m.tkk7.com/gml520/archive/2011/06/02/351581.html