Leo Yeh's Blog

SAS 系統管理 (16)

教學目標

初步了解 SAS 智慧平台中的伺服器有哪些預設的網路連接埠。

重點概念

一般來說在 SAS 智慧平台中客戶端是使用 TCP/IP 通訊協定與 SAS 伺服器進行溝通,此時在伺服器上的每個服務皆有對應的網路連接埠監聽請求。然而 SAS 中間層伺服器則是使用廣播 IP 位置和 UDP 通訊協定與 SAS 伺服器進行溝通。此外我們可嘲在安裝與設定的過程程中,透過 SAS 部署精靈針對不同的服務設定不同的網路連接埠。

接著在 SAS 軟體中預設的網路連接埠主要可分為四大類,分別為 SAS Compute-Tier 伺服器、SAS Middle-Tier 應用程式、SAS Multiple Level 環境以及 Third-Party 軟體。

SAS Compute-Tier 伺服器

首先我們會安裝 Lev1 環境中的 SAS Compute-Tier 伺服器,若是預設網路連接埠已被使用時,則 SAS 部署精靈就會設定下一個可用的連接埠,所以不同的環境可能使用的多層架構的網路連接埠會不同,下表僅供參考。

預設網路連接埠 說明描述
5091 SAS Remote Services application port
5451 SAS OLAP Server port
7551 SAS/CONNECT server port
8451 Operating System Services scheduler port
8551 SAS/SHARE server port
8561 SAS Metadata Server port
8581 SAS object spawner: operator port
8801 SAS object spawner: pooled workspace server port bank 1
8811 SAS object spawner: pooled workspace server port bank 2
8821 SAS object spawner: pooled workspace server port bank 3
8591 Metadata utilities SAS Workspace Server port
8701 SAS Pooled Workspace Server port
8601 SAS Stored Process Server: bridge connection
8611 SAS Stored Process Server: load balancing connection 1 (MultiBridge)
8621 SAS Stored Process Server: load balancing connection 2 (MultiBridge)
8631 SAS Stored Process Server: load balancing connection 3 (MultiBridge)
10021 SAS Deployment Tester server port
22031 SAS Framework Data Server

SAS Middle-Tier 應用程式

接著我們會安裝 Lev1 環境中的 SAS Middle-Tier 伺服器,若是預設網路連接埠已被使用時,則 SAS 部署精靈就會設定下一個可用的連接埠,所以不同的環境可能使用的多層架構的網路連接埠會不同,下表僅供參考。

預設網路連接埠 說明描述
5091 SAS Remote Services application port
7450 - 7459 IP Multicast UDP Scheduler Main Channel port 1
7460 - 7469 IP Multicast UDP Scheduler Main Channel port 2
7570 SAS Web Report Studio IP Scheduling UDP port 1
7571 SAS Web Report Studio IP Scheduling UDP port 2
7572 SAS Web Report Studio IP Scheduling UDP port 3
8561 Multicast UDP port

SAS Multiple Level 環境

再來當我們需要設定多層架構的環境時,例如由開發、測試和正式的獨立組成環境,就會以 Lev2、Lev3、… 設定資料夾進行規劃,此時 SAS 部署精靈就會為每個等級將服務對應的網路連接埠加一,若是預設網路連接埠已被使用時,則 SAS 部署精靈就會設定下一個可用的連接埠,所以不同的環境可能使用的多層架構的網路連接埠會不同,下表僅供參考。

預設網路連接埠 說明描述
5452 SAS OLAP Server port
7552 SAS/CONNECT server port
8552 SAS/SHARE server port
8562 SAS Metadata Server port
8582 SAS object spawner: operator port
8592 Metadata utilities SAS Workspace Server port
8602 SAS Stored Process Server: bridge connection
8612, 8622, 8632 SAS Stored Process Server: load balancing connections
8702 SAS Pooled Workspace Server port
8802, 8812, 8822 SAS object spawner: pooled workspace server port banks

Third-Party 軟體

最後 SAS 解決方案也會整合第三方軟體,若是預設網路連接埠已被使用時,則 SAS 部署精靈就會設定下一個可用的連接埠,所以不同的環境可能使用的多層架構的網路連接埠會不同,下表僅供參考。

Oracle WebLogic Server

預設網路連接埠 說明描述
5556 WebLogic NodeManager port
7001, 7101 Non-secure listen port for managed servers
7002, 7102 Secure listen port for managed servers
7501 Listen port for administration server

IBM WebSphere Application Server

預設網路連接埠 說明描述
8879 SOAP port for administrative console
8880, 8881 SOAP port for application servers
9043 Secure HTTPS port for administrative console
9044, 9045 Secure HTTPS ports for application server
9060 Non-secure HTTP port for administrative console
9080, 9081 Non-secure HTTP ports for application server
9809 RMI port for administrative console
9811, 9812 RMI ports for application servers

JBoss Application Server

預設網路連接埠 說明描述
1099, 1199 RMI port for managed servers
8080, 8180 Listen port for managed servers
8443, 8543 Secure listen port for managed servers

Platform Suite for SAS

預設網路連接埠 說明描述
1966 Platform Process Manager port
6878, 6881, 6882, 7869, 7870, 7871, 7872 Platform LSF ports
1976 Platform Grid Management Service port

然而上述網路連接埠清單主要是取自於 SAS 9.3 文件中的附錄,適用 SAS 9.3 之前的版本,然而在 SAS 9.4 版本之後的文件則將網路連接埠加入至預先安裝的確認清單,請參考下表。

網路連接埠 說明描述 資料方向
25 Email server Outbound
80 HTTP server Both
443 HTTP server (secure port) Both
5091 SAS Remote Services application Inbound
5451 SAS OLAP Server Both
5660 SAS Deployment Agent Both
6051 Event Broker administration Inbound
8080 - 8084,9480 - 9484 SAS Web Application Server HTTP Port Both
8443 - 8448,9843 - 9848 SAS Web Application Server HTTPS Port Both
6969 - 6973,8369 - 8373 SAS Web Application Server JMX Port Inbound
7080 SAS Environment Manager Both
7443 SAS Environment Manager (secured) Both
7541 SAS/CONNECT spawner Inbound
7551 SAS/CONNECT server Both
7570 - 7572 Web Report Studio In-Process Scheduling UDP Port Both
8111 Event Broker HTTP Inbound
8451 Operating System Services scheduler Inbound
8551 SAS/SHARE server Inbound
8561 Multicast (UDP port) Both
8561 SAS Metadata Server Inbound
8581 SAS object spawner: operator port Inbound
8591 SAS Workspace Server Inbound
8601 SAS Stored Process Server: bridge connection Inbound
8611 SAS Stored Process Server: load balancing connection 1 (MultiBridge) Inbound
8621 SAS Stored Process Server: load balancing connection 2 (MultiBridge) Inbound
8631 SAS Stored Process Server: load balancing connection 3 (MultiBridge) Inbound
8701 SAS Pooled Workspace Server Inbound
8801 SAS object spawner: pooled workspace server port bank 1 Inbound
8811 SAS object spawner: pooled workspace server port bank 2 Inbound
8821 SAS object spawner: pooled workspace server port bank 3 Inbound
9360 SAS Environment Manager Embedded tcServer JMX Port Inbound
9432 Web Infrastructure Platform Database Server Both
9832 Data Remediation Data Server Both
10021 SAS Deployment Tester server Inbound
10442 Data Management Data Server Both
10651 SAS Information Retrieval Studio Both
11099 JMS Server JMX Port Inbound
21050 SAS Visual Process Orchestration Runtime Server Inbound
41415 Cache Locator Port Both
61616 JMS Server Port Both
1024 - 65535 Cache Locator membership port range (TCP/UDP port range) Both
0 – 65535 TCP port for middle-tier cache communications Both

其中最後一項針對 Middle-tier 快取通訊若沒有設定網路連接埠,則作業系統將會選擇可用的網路連接埠,但注意,某些作業系統限制非特權使用者使用網路連接埠的範圍與受限使用網路連接埠,此時可能會導致 Cache Locator 服務啟動時發生錯誤。

總結安裝 SAS 解決方案為了降低安裝與設定過程中發生錯誤的風險,所以請先至少將 Computer-tier 伺服器和 Middle-tier 伺服器加入相同網域,並且設定相同網域的 IP,請用 ipconfig 工具檢查,此外確認防火牆皆已關閉,此時再透過 SAS 部署精靈進行安裝與設定。

相關資源

⬅️ Go back