{"id":10021,"date":"2021-12-23T17:35:45","date_gmt":"2021-12-23T08:35:45","guid":{"rendered":"https:\/\/www.secuavail.com\/kb\/?p=10021"},"modified":"2024-08-23T13:27:48","modified_gmt":"2024-08-23T04:27:48","slug":"fortigate-ha-syslog","status":"publish","type":"post","link":"https:\/\/www.secuavail.com\/kb\/nw-device\/fortigate-ha-syslog\/","title":{"rendered":"FortiGate\u306e\u5197\u9577\u5316\u69cb\u6210(HA\u69cb\u6210)\u306b\u304a\u3051\u308bha-direct\u8a2d\u5b9a\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>\u5f53\u8a18\u4e8b\u3067\u306f\u3001\u5197\u9577\u69cb\u6210(HA\u69cb\u6210)\u306eFortiGate\u306b\u304a\u3051\u308bha-direct\u8a2d\u5b9a\u65b9\u6cd5\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u524d\u63d0\u6761\u4ef6<\/strong><br \/>\n\u672c\u8a18\u4e8b\u5185\u3067\u5229\u7528\u3057\u3066\u3044\u308bFortiGate\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>FortiOS<\/li>\n<li>v6.4.2 build 1723<\/li>\n<\/ul>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.secuavail.com\/kb\/nw-device\/fortigate-ha-syslog\/#HA%E3%81%A8%E3%81%AF\" >HA\u3068\u306f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.secuavail.com\/kb\/nw-device\/fortigate-ha-syslog\/#ha-direct%E3%81%A8%E3%81%AF\" >ha-direct\u3068\u306f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.secuavail.com\/kb\/nw-device\/fortigate-ha-syslog\/#%E4%BA%8B%E5%89%8D%E6%BA%96%E5%82%99\" >\u4e8b\u524d\u6e96\u5099<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.secuavail.com\/kb\/nw-device\/fortigate-ha-syslog\/#ha-direct%E3%81%AE%E8%A8%AD%E5%AE%9A%E6%96%B9%E6%B3%95\" >ha-direct\u306e\u8a2d\u5b9a\u65b9\u6cd5<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"HA%E3%81%A8%E3%81%AF\"><\/span>HA\u3068\u306f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>HA(\u9ad8\u53ef\u7528\u6027)\u3068\u306f\u3001\u8907\u6570\u306eFortiGate\u3092\u30b0\u30eb\u30fc\u30d7\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u8a2d\u5b9a\u3092\u540c\u671f\u3059\u308b\u3053\u3068\u3067\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u969c\u5bb3\u306b\u3088\u308b\u30c0\u30a6\u30f3\u30bf\u30a4\u30e0\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u308b\u6a5f\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"ha-direct%E3%81%A8%E3%81%AF\"><\/span>ha-direct\u3068\u306f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>ha-direct\u3068\u306f\u3001HA\u69cb\u6210\u6642\u306b\u4ee5\u4e0b\u306e\u901a\u4fe1\u3092HA\u306e\u7ba1\u7406\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u4f7f\u7528\u3057\u3066\u884c\u3046\u6a5f\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>syslog<\/li>\n<li>SNMP<\/li>\n<li>SNMP Trap\uff08\u203b1\uff09<\/li>\n<li>\u30ea\u30e2\u30fc\u30c8\u8a8d\u8a3c\uff08RADIUS\uff09<\/li>\n<li>FortiAnalyzer<\/li>\n<li>FortiSandbox<\/li>\n<li>sFlow<\/li>\n<li>Netflow<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u203b1\uff1aSNMP Trap\u306e\u307f\u8a2d\u5b9a\u7b87\u6240\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E4%BA%8B%E5%89%8D%E6%BA%96%E5%82%99\"><\/span>\u4e8b\u524d\u6e96\u5099<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>FortiGate\u3092\u5197\u9577\u69cb\u6210\u306b\u3066\u4f7f\u7528\u3057\u3066\u3044\u308b\u3053\u3068<\/li>\n<li>\u7ba1\u7406\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u4e88\u7d04\u3092\u6709\u52b9\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u3053\u3068\uff08\u203b2\uff09<\/li>\n<\/ul>\n<p>\u203b2\uff1a[\u30cd\u30c3\u30c8\u30ef\u30fc\u30af] &gt; [\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9]\u3088\u308amanagement-ip\u3092\u8a2d\u5b9a\u3057\u3001\u30b9\u30bf\u30f3\u30d0\u30a4\u6a5f\u306b\u7ba1\u7406\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3001ha-direct\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"ha-direct%E3%81%AE%E8%A8%AD%E5%AE%9A%E6%96%B9%E6%B3%95\"><\/span>ha-direct\u306e\u8a2d\u5b9a\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>ha-direct\u306e\u8a2d\u5b9a\u65b9\u6cd5\uff08SNMPTrap\u3092\u9664\u304f\uff09<br \/>\n\u672c\u8a18\u4e8b\u306b\u304a\u3051\u308b\u69cb\u6210\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<p>1\u53f7\u6a5f(active)<\/p>\n<table style=\"border-collapse: collapse; width: 99.6632%; height: 122px;\">\n<tbody>\n<tr style=\"height: 30px;\">\n<td style=\"width: 57.7054%; height: 30px;\"><span style=\"font-weight: 400;\">\u7ba1\u7406\u7528IP\u30a2\u30c9\u30ec\u30b9<\/span><\/td>\n<td style=\"width: 42.2946%; height: 30px;\"><span style=\"font-weight: 400;\">172.16.10.2<\/span><\/td>\n<\/tr>\n<tr style=\"height: 10px;\">\n<td style=\"width: 57.7054%; height: 10px;\"><span style=\"font-weight: 400;\">\u7ba1\u7406\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u4e88\u7d04<\/span><\/td>\n<td style=\"width: 42.2946%; height: 10px;\"><span style=\"font-weight: 400;\">\u6709\u52b9<\/span><\/td>\n<\/tr>\n<tr style=\"height: 22px;\">\n<td style=\"width: 57.7054%; height: 22px;\">\n<ul>\n<li><span style=\"font-weight: 400;\">\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9<\/span><\/li>\n<\/ul>\n<\/td>\n<td style=\"width: 42.2946%; height: 22px;\"><span style=\"font-weight: 400;\">port1<\/span><\/td>\n<\/tr>\n<tr style=\"height: 30px;\">\n<td style=\"width: 57.7054%; height: 30px;\">\n<ul>\n<li><span style=\"font-weight: 400;\">\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4<\/span><\/li>\n<\/ul>\n<\/td>\n<td style=\"width: 42.2946%; height: 30px;\"><span style=\"font-weight: 400;\">172.16.10.1<\/span><\/td>\n<\/tr>\n<tr style=\"height: 30px;\">\n<td style=\"width: 57.7054%; height: 30px;\"><span style=\"font-weight: 400;\">ha-direct\u8a2d\u5b9a<\/span><\/td>\n<td style=\"width: 42.2946%; height: 30px;\">\u6709\u52b9<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>2\u53f7\u6a5f(passive)<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 50%;\">\u7ba1\u7406\u7528IP\u30a2\u30c9\u30ec\u30b9<\/td>\n<td style=\"width: 50%;\">172.16.10.3<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\u7ba1\u7406\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u4e88\u7d04<\/td>\n<td style=\"width: 50%;\">\u6709\u52b9<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\n<ul style=\"list-style-type: circle;\">\n<li>\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9<\/li>\n<\/ul>\n<\/td>\n<td style=\"width: 50%;\">port1<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\n<ul style=\"list-style-type: circle;\">\n<li>\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4<\/li>\n<\/ul>\n<\/td>\n<td style=\"width: 50%;\">172.16.10.1<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">ha-direct\u8a2d\u5b9a<\/td>\n<td style=\"width: 50%;\">\u6709\u52b9<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>ha-direct\u306e\u8a2d\u5b9a\u3092\u884c\u3046\u305f\u3081\u306b\u306f\u3001CLI\u304b\u3089\u8a2d\u5b9a\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\nha-direct\u306e\u8a2d\u5b9a\u4ee5\u5916\u306fGUI\u304b\u3089\u3082\u8a2d\u5b9a\u3092\u884c\u3046\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>1. \u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u65bd\u3057\u3001HA\u69cb\u6210\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true\"># config system ha\r\n(ha) # set mode a-p<\/pre>\n<p>2. \u7ba1\u7406\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u4e88\u7d04\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">(ha) # set ha-mgmt-status enable<\/pre>\n<p>3. \u7ba1\u7406\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u4e88\u7d04\u306e\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">(ha) # config ha-mgmt-interfaces\r\n(ha-mgmt-interfaces) # edit 1\r\n(1) # set interface \u201cport1\u201d\r\n(1) # set gateway 172.16.10.1\r\n(1) # next\r\n(1) # end<\/pre>\n<p>\u203bIP\u30a2\u30c9\u30ec\u30b9\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306f\u7ba1\u7406\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3068\u3057\u3066\u8a2d\u5b9a\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u7ba1\u7406\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u8a2d\u5b9a\u5f8c\u306b[\u30cd\u30c3\u30c8\u30ef\u30fc\u30af] &gt; [\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9]\u3088\u308a\u8a72\u5f53\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9(\u672c\u8a18\u4e8bport1)\u8a2d\u5b9a\u306b\u3066IP\u30a2\u30c9\u30ec\u30b9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>4. ha-direct\u306e\u8a2d\u5b9a\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">(ha) # set ha-direct enable<\/pre>\n<p>5. \u8a2d\u5b9a\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">(ha) # end<\/pre>\n<p>6. \u8a2d\u5b9a\u304c\u6b63\u3057\u304f\u884c\u308f\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true\"># show system ha\r\nconfig system ha\r\n\u3000set mode a-p\r\n\u3000set ha-mgmt-status enable\r\n\u3000config ha-mgmt-interfaces\r\n\u3000\u3000edit 1\r\n\u3000\u3000\u3000set interface \"port1\"\r\n\u3000\u3000\u3000set gateway 172.16.10.1\r\n\u3000\u3000next\r\n\u3000end\r\n\u3000set ha-direct enable\r\nend<\/pre>\n<p>7. HA\u306b\u95a2\u9023\u3059\u308b\u5404\u7a2e\u8a2d\u5b9a\u306f\u540c\u671f\u3055\u308c\u306a\u3044\u306e\u3067\u30012\u53f7\u6a5f(passive)\u3082\u540c\u69d8\u306e\u624b\u9806\u3067\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>ha-direct\u306e\u8a2d\u5b9a\u65b9\u6cd5\uff08SNMPTrap\uff09<br \/>\n\u672c\u8a18\u4e8b\u306b\u304a\u3051\u308b\u69cb\u6210\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 50%;\">SNMP\u30de\u30cd\u30fc\u30b8\u30e3IP\u30a2\u30c9\u30ec\u30b9<\/td>\n<td style=\"width: 50%;\">172.17.10.1<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">ha-direct\u8a2d\u5b9a<\/td>\n<td style=\"width: 50%;\">\u6709\u52b9<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>ha-direct\u306e\u8a2d\u5b9a\u3092\u884c\u3046\u305f\u3081\u306b\u306f\u3001CLI\u304b\u3089\u8a2d\u5b9a\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\nha-direct\u306e\u8a2d\u5b9a\u4ee5\u5916\u306fGUI\u304b\u3089\u3082\u8a2d\u5b9a\u3092\u884c\u3046\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>1. SNMP\u8a2d\u5b9a\u306eSNMP\u30de\u30cd\u30fc\u30b8\u30e3\u304b\u3089\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true\"># config system snmp community\r\n(community) # edit 1\r\n(1) # config hosts\r\n(hosts) # edit 1\r\n(1) # set ip 172.17.10.1 255.255.255.255\r\n(1) # set ha-direct enable\r\n(hosts)# next\r\n(1) # end\r\n(1) # next\r\n(community) # end<\/pre>\n<p>2. \u8a2d\u5b9a\u304c\u6b63\u3057\u304f\u884c\u308f\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true\"># show system snmp community\r\n\u3000edit 1\r\n\u3000\u3000config hosts\r\n\u3000\u3000\u3000edit 1\r\n\u3000\u3000\u3000\u3000\u3000\u3000 set ip 172.17.10.1 255.255.255.255\r\n\u3000\u3000\u3000\u3000\u3000\u3000 set ha-direct enable\r\n\u3000\u3000\u3000next\r\n\u3000\u3000end\r\n next\r\nend<\/pre>\n<p>\u4ee5\u4e0a\u3067\u3001\u5197\u9577\u69cb\u6210\u306eFortiGate\u306b\u304a\u3051\u308bha-direct\u8a2d\u5b9a\u65b9\u6cd5\u306e\u8aac\u660e\u306f\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5f53\u8a18\u4e8b\u3067\u306f\u3001\u5197\u9577\u69cb\u6210(HA\u69cb\u6210)\u306eFortiGate\u306b\u304a\u3051\u308bha-direct\u8a2d\u5b9a\u65b9\u6cd5\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002 \u524d\u63d0\u6761\u4ef6 \u672c\u8a18\u4e8b\u5185\u3067\u5229\u7528\u3057\u3066\u3044\u308bFortiGate\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002 FortiOS v6.4.2 bui [&hellip;]","protected":false},"author":14,"featured_media":9990,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[49,56],"tags":[19],"class_list":["post-10021","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nw-device","category-fortigate","tag-fortigate"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/posts\/10021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/comments?post=10021"}],"version-history":[{"count":5,"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/posts\/10021\/revisions"}],"predecessor-version":[{"id":10068,"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/posts\/10021\/revisions\/10068"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/media\/9990"}],"wp:attachment":[{"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/media?parent=10021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/categories?post=10021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/tags?post=10021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}