Checkpoint防火牆ClusterXL 故障之FIB Problem問題解決

來源:互聯網
上載者:User

標籤:防火牆   checkpoint   ha   clusterxl   

Checkpoint防火牆ClusterXL 故障之FIB Problem問題解決

 

辦公網有兩台CheckPoint防火牆做cluster的HA主備模式,Custer-HA出現故障現象如下(其中一台CP-248狀態down,一邊CP-246active),導致CP-246CP-248clusterHA準備切換不成功


[NJZQ-CP-248]# cphaprob stat  

 

Cluster Mode:   New High Availability (Active Up)

 

 

Number    Unique Address  Assigned Load   State      

 

1       19.19.19.246    100%            Active     

2 (local) 19.19.19.248    0%              Down   

 

[NJZQ-CP-248]# cphaprob list  //該命令非常有用,用於尋找出CP防火牆cluster的監控的關鍵組件(cp稱為Device)

 

Built-in Devices:

 

Device Name: Interface Active Check

Current state: OK

 

Registered Devices:

 

Device Name: Synchronization

Registration number: 0

Timeout: none

Current state: OK

Time since last report: 705.3 sec

 

Device Name: Filter

Registration number: 1

Timeout: none

Current state: OK

Time since last report: 699.2 sec

 

Device Name: cphad

Registration number: 2

Timeout: 2 sec

Current state: OK

Time since last report: 0.6 sec

 

Device Name: fwd

Registration number: 3

Timeout: 2 sec

Current state: OK

Time since last report: 0.4 sec

 

Device Name: FIB

Registration number: 4

Timeout: none

Current state: problem

Time since last report: 1 sec

 

對應的CP-246的顯示如下:

 

[NJZQ-CP-246]# cphaprob stat

 

Cluster Mode:   New High Availability (Active Up)

 

 

Number    Unique Address  Assigned Load   State      

 

1 (local) 19.19.19.246    100%            Active     

2     19.19.19.248    0%              Down 


 

並且發現對應的CP-246cphaprob list顯示並無異常,均為OK

 

[[email protected]]# cphaprob list

 

Built-in Devices:

 

Device Name: Interface Active Check

Current state: OK

 

Registered Devices:

 

Device Name: Synchronization

Registration number: 0

Timeout: none

Current state: OK

Time since last report: 3077.4 sec

 

Device Name: Filter

Registration number: 1

Timeout: none

Current state: OK

Time since last report: 3071.4 sec

 

Device Name: cphad

Registration number: 2

Timeout: 2 sec

Current state: OK

Time since last report: 0.2 sec

 

Device Name: fwd

Registration number: 3

Timeout: 2 sec

Current state: OK

Time since last report: 0.8 sec


發現以上的故障現象後,對CP-248clusterXL進行重啟如下:

[NJZQ-CP-248]# expert

Enter expert password:

 

You are in expert mode now.

 

[[email protected]]# clusterXL_admin down

Setting member to administratively downstate ...

Member current state is Down

[[email protected]]# clusterXL_admin up 

Setting member to normal operation ...

Member current state is Down

Operation failed: member is still down, run ‘cphaproblist‘ for further details

 

重啟後,仍然不成功。

 

從網上找到解決方案:比較兩台fwcpconfig配置條目發現:

[NJZQ-CP-246]# expert

Enter expert password:

 

You are in expert mode now.

 

[[email protected]]# cpconfig

This program will let you re-configure

your Check Point products configuration.

 

 

Configuration Options:

----------------------

(1) Licenses and contracts

(2) SNMP Extension

(3) PKCS#11 Token

(4) Random Pool

(5) Secure Internal Communication

(6) Disable cluster membership for this gateway

(7) Configure Check Point CoreXL

(8) Automatic start of Check Point Products

 

(9) Exit

 

Enter your choice (1-9) :

 

[NJZQ-CP-248]# expert

Enter expert password:

 

You are in expert mode now.

 

[[email protected]]# cpconfig

This program will let you re-configure

your Check Point products configuration.

 

 

Configuration Options:

----------------------

(1) Licenses and contracts

(2) SNMP Extension

(3) PKCS#11 Token

(4) Random Pool

(5) Secure Internal Communication

(6)  Disable Advanced Routing  //注意到該部分為此防火牆和CP-246防火牆不一致的地方,且當前已經處於開啟狀態。

(7) Disable cluster membership for this gateway

(8) Configure Check Point CoreXL

(9) Automatic start of Check Point Products

 

(10) Exit

 

Enter your choice (1-10) :6  //這裡選擇6,斷行符號,將Advanced Routing 功能disable掉。

 

Disable Advanced Routing...

============================

 

You have selected to disable advancedrouting.

Areyou sure? (y/n) [y] ? y   //輸入y

 

In order to accomplish the action, CheckPoint services should be restarted.

 Restart now ? (y/n) [y] ? y  //輸入y下面顯示CP的服務重啟過程。

Advanced Routing Suite is now stopped

Stopping SmartView Monitor daemon ...

SmartView Monitor daemon is not running

Stopping SmartView Monitor kernel ...

Driver is Down.

rtmstop: SmartView Monitor kernel is notloaded

FloodGate-1 is already stopped.

VPN-1/FW-1 stopped

SVN Foundation: cpd stopped

SVN Foundation: cpWatchDog stopped

SVN Foundation stopped

cpstart: Power-Up self tests passedsuccessfully

 

cpstart: Starting product - SVN Foundation

 

SVN Foundation: Starting cpWatchDog

SVN Foundation: Starting cpd

SVN Foundation started

 

cpstart: Starting product - VPN-1

 

FireWall-1: starting external VPN module --OK

FireWall-1: Starting fwd

 

 

Installing Security PolicyOffice-Cluster-Policy on [email protected]

Fetching Security Policy from localhostsucceeded

 

Fetching Security Policy From:221.226.154.195 192.168.200.173

 

 Local Policy is Up-To-Date.

 ThePolicy was not installed because it is the same as the Policy already on theModule.

FireWall-1: enabling bridge forwarding

FireWall-1 started

 

cpstart: Starting product - FloodGate-1

 

FloodGate-1 is disabled. If you wish tostart the service, please run ‘etmstart enable‘.

 

cpstart: Starting product - SmartViewMonitor

 

SmartView Monitor: Not active

 

cpstart: Starting product - AdvancedRouting

 

Advanced Routing is not enabled. Please use‘cpconfig‘ to enable it.

 

Advanced Routing was successfully disabled

 

Configuration Options:

----------------------

(1) Licenses and contracts

(2) SNMP Extension

(3) PKCS#11 Token

(4) Random Pool

(5) Secure Internal Communication

(6) Enable Advanced Routing

(7) Disable cluster membership for this gateway

(8) Configure Check Point CoreXL

(9) Automatic start of Check Point Products

 

(10) Exit

 

CP-248重啟後,查看cluster的狀態,立即恢複了正常。

 

[[email protected]]# cphaprob stat

 

Cluster Mode:   New High Availability (Active Up)

 

 

Number    Unique Address  Assigned Load   State      

 

1         221.226.154.195 100%           Active     

2 (local) 19.19.19.248    0%              Standby     

 

[[email protected]]#

查看CP-246,查看cluster狀態如下:

 

[[email protected]]# cphaprob stat

 

Cluster Mode:   New High Availability (Active Up)

 

 

Number    Unique Address  Assigned Load   State      

 

1 (local) 19.19.19.246    100%            Active     

2         19.19.19.248    0%              Standby     

 

[[email protected]]#


至此,兩台CP防火牆的Cluster已經成功,主備倒換正常。


本文出自 “見賢思齊的蝸牛” 部落格,請務必保留此出處http://jeffsoung.blog.51cto.com/392776/1681212

Checkpoint防火牆ClusterXL 故障之FIB Problem問題解決

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.