Skip to main content

JON - JBoss Operations Network 到底是什麼?

最近因為EJB 2 MDB 跟 MQ 搞得焦頭爛額,腦子裡面只有掛著它,
沒錯~你沒有看錯!就是EJB 2 那個老爺爺! 像我一樣的年輕妹妹(笑),最討厭他了!
加上婚禮的事情又一直煩! 所以很久沒有更新!

放心好了! JBoss 365 還是會繼續的! 欠的文章我也會慢慢找機會補上


這次的安裝是應觀眾要求的,特別POST 上來!請笑納!
===========================================

要安裝JON 前必須先瞭解JON 是蝦米~
為什麼要叫 JON J老闆的老婆咧! 因為,JON 就是專門管理,監控J老闆的!


她主要的功能分成三大塊!

1. 部署
2. 管理
3. 監控



部署,可以是字面上的意義,單純的部署應用程式的WAR or EAR, 你可能會想說,這個我用web console 就可以做到了阿? 其實它可以做到的不止如此, 

1. 她可以做部署時程的預約, 這樣她就可以在你睡夢中不知不覺搞定J老闆
2. 她支援版本控管,只要是透過JON上的程式,都會被記錄起來,標成version, 所以你可以看狀況,馬上退回某個版本(譬如說,某天XX上的一個程式,不小心自己欣賞的照片也放上去!,所以需要馬上還原 XD)
3. 不只是上程式,她也支援可以安裝Datasource 跟 J老闆噢!
4. 可以同時指定多台Server 上線

管理,其實J老闆不太需要太多悉心的呵護就可以長得很好了!除了一些定期地調整之外,只要上面的AP 沒有做出太多"發神經"的程式,通常都可以很穩定。他的管理包括可以自動偵測連接的資源,像是.. 系統如果加了一個 J老闆,他馬上就可以偵測到。還有像是一些參數的調整,所有JMX上面可以做的function功能它也可以,像是 restart server, Flush connection 類的。

監控,這是JON其中一個還滿好用的功能,通常我們要"修理" 哈,應該是管理J老闆的時候,都需要調整一些參數,但是,你怎麼知道要調整些什麼呢?例如說,我的MAX memory and perm memory 要調多少? 我的connection 數量是否太多,還是太少? 我的GC policy 是否是對的? 這些都可以透過JON 它顯示的圖表去看到目前 Free memory , GC 和connection 的狀況! 還有通知系統,可以在系統掛掉前Alert 你!
(然後趕快把電話關掉,讓老闆找你不到 XD 大誤~)

JON 的系統架構
=================================================



就跟一般的老婆一樣,JON 的架構就是一個收集情報的中心加上然後放在各個不同的環境(機器)上的死拜(SPY) 把資料收集給情報系統。 情報中心有一些工作,像是 Restart Server, 部署
程式那類的就可以透過各個死敗在每個地方執行!....

多麼簡單明瞭阿!以上就是J老闆的好牽手,JON 的簡單說明!

Comments

Popular posts from this blog

Red Hat JBoss Fuse/A-MQ - Fuse and A-MQ Version 6.3 GA is released!

Fuse and A-MQ 6.3 GA has just went out. Maybe, you would think this is just only a minor version release why should I care? Hold your thoughts on that! Because they have done a lot of improvements and also added many new features into this release.

Besides various bug fixes and making sure Fuse Fabric is much more stable. There are two major change in this version update:

New Tooling in JBoss Developer Studio (JBDS) 9.1 GA. Newer Apache Camel version – Camel v2.17. I was really impressed by the work put in to make developing Camel application much simpler. First is the installation of tooling itself. Now it has a all-in-one installer so you don't need to worry about which plugins you need to check. See the videos below to see the new "Getting Started" of Fuse 6.3.



And If you notice from the above video, the presentation of camel route in JBDS has also updated. It fixed some of the miss representation of logic and making it easier to read.

Old Camel Route
New Camel Route
On …

Fuse Integration Service - Setup JBDS and create first quickstart application

Before we go and start creating our first application, I want to show you how to setup your JBoss Developer Studio, create a small application from the quickstart example and then running it on Fuse Integration Service.

I am using JBoss Developer Studio version 9, you can find it here.
After download the

jboss-devstudio-9.0.0.GA-installer-eap.jar
double-click it, and start installing with default values.

After successful installation, we will need install the plugins for Fuse, on JBoss Central view, select software update, select enable early access.


And select JBoss Fuse Development for the plugin,


Click on install, and we are all set to go!

First thing first, we want to create a Fuse project to deploy on the base of Fuse Integration Service, which is OpenShift. If you have not installed it, please go back to my previous post for instructions. So on your JBDS, right click and start creating the project. Select new, maven project, if you have installed the plugin correctly, you should …

Red Hat JBoss Fuse - Getting Started with Fuse Integration Service 2.0 Tech preview

I just realized that I did not do a getting started for Fuse Integration Service 2.0 Tech preview before I did the pipeline demo, thanks for those of you who reminded me! :)

To get started with FIS 2.0, for people who has just getting to know the technology, here is how I interpret it. Basically, it's divide into two aspect,

1. Integration development, FIS uses Apache Camel as the core technology that creates, orchestrate, compose microservices into a super lightweight thin integration layer, and become the API provider and service orchestrator through exposing RESTful or messaging service endpoints. And you can choose to either package and run it with Spring-Boot or Karaf.


2. Application Deployment and Management, FIS takes advantages of OpenShift platform, and allows you to separately deploy the micro-integration service among distributed environment, at the same time takes care of the failover, high availability, load balancing and service lookup problem for you.


So, now we know …