Oracle Secure Global Desktop 與 EM12c的集成

你能夠在這裏找到本文的原文。安全

前提條件

SGD服務器側的設置

登錄到SGD服務器中,並建立oracle用戶,並將oracle用戶組中加入ttaserv.net

[root@demo ~]# groupadd oinstall
[root@demo ~]# useradd -G ttaserv,oinstall oracle
[root@demo ~]# passwd oracle
[root@demo ~]# id oracle
uid=504(oracle) gid=504(oracle) groups=504(oracle),500(ttaserv),505(oinstall)

以root用戶修改sudoers文件:插件

[root@demo ~]# visudo
#Defaults    requiretty
Defaults    !requiretty

#Defaults   !visiblepw
Defaults   visiblepw
...
## Allows people in group wheel to run all commands
# %wheel        ALL=(ALL)       ALL
oracle  ALL=(ALL)       ALL

Oracle Enterprise Manager 12c中的操做步驟

如下全部操做都是在登陸到EM以後進行的。3d

在線更新EM的Plugins軟件倉庫

首先確保EM主機能鏈接外網。以sysman用戶名登陸到EM以後,選擇Setup -- My Oracle Support -- Set Credentials,而後輸入在Oracle註冊的帳號和密碼,最後點擊Applycode

Set Credentials

再次選擇Setup -- Extensibility -- Self Updateorm

Self Update

在Self Update頁面的Status部分,選擇Check Updates,同時確保Connection Mode是Online狀態。

Self Update-Check Updates

將SGD插件下載到OMR中

等待幾分鐘,待全部數據更新完畢以後,在列表中找到Plug-in部分,點擊進去。

Self Update-Check Updates-Plugin

在Plug-in頁面中,向下滾動找到Oracle Secure Global Desktop和Oracle Secure Global Desktop Gateway兩個插件所在的行,選擇其中一個插件,先點擊列表上方的Download,等待幾秒中,直到下載完成。

將SGD插件部署到到OMS中

提示下載完成後,點擊Apply,完成在OMS中插件的部署。

Plugin

在點擊上圖的Apply以後,會彈出提示畫面,這時點擊OK

Plugin-Apply

添加SGD主機並設置自動安裝agent、

Add Targets manually

輸入SGD主機名demo.example.com,選擇Platform爲Linux x86-64,並點擊Next

Add Host Targets: Host and Platform

這時有一些必填選項須要輸入:

  • Installation Base Directory:這是agent的安裝目錄,這裏填寫/home/oracle/agentHome
  • Instance Directory:這是配置文件的保存位置,上面的選項填寫完成後,這裏會自動補全爲/home/oracle/agentHome/agent_inst
  • Named Credential:是安裝agent時所用的用戶名和密碼,這裏在彈出的窗口中填寫以前在SGD服務器上已經建立好的oracle用戶及其密碼。

Add Host Targets: Installation Details-Mandatory Inputs

所有內容填寫完畢以後,點擊Next

Add Host Targets: Installation Details-OK

最後檢查一些配置信息,確認無誤的話,點擊Deploy Agent開始自動安裝過程。

Add Host Targets: Review

等待幾分鐘後,直到全部的步驟完成,點擊Done

Add Host Targets: Review

將帶有Agent的SGD主機設置爲SGD插件的監視目標

登陸到EM以後,選擇右上角的Setup -- Add Target -- Add Targets Manually。在Add Targets manually頁面中選擇Add Targets Declaratively by Specifying Target Monitoring PropertiesTarget Type中選擇Oracle Secure Global Desktop

Add Targets manually

Monitoring Agent右側,點擊圖標,在彈出窗口中選擇demo.example.com:3872,點擊Select

Add Targets manually - Monitoring Agent

回到主畫面後,Monitoring Agent中會出現demo.example.com:3872,點擊Add Manually...

Target Name中輸入監視目標的名字,這裏暫時命名爲SGD_SERVER_2Secure Global Desktop Monitoring Credentials中輸入SGD管理員的用戶名和密碼,這裏輸入root用戶名和密碼。Secure Global Desktop Installation Directory中輸入安裝路徑,這裏使用SGD的默認安裝路徑/opt/tarantellaSecure Global Desktop Web Services Port中輸入80,該端口是SGD Web服務器在本地接口上用於非安全的Web服務鏈接時用到的,默認安裝狀況下,老是使用80端口。最後點擊OK以完成添加過程。

Add: Oracle Secure Global Desktop

以後就能夠在Targets -- All Targets -- Target Type -- Server, Storage and Network中看到Oracle Secure Global Desktop,點擊剛纔添加的SGD_SERVER_2,就能夠看到以下EM中的監視畫面了。

Monitor SGD Host in EM

那麼SGD Gateway如何監視

EM也能夠監視SGD Gateway主機,基本操做步驟和監視SGD主機相似。這裏就再也不贅述。

(END)

相關文章
相關標籤/搜索