Edge for Private Cloud v. 4.17.09
एज राऊटर को Nginx राऊटर का इस्तेमाल करके लागू किया जाता है. Edge अपग्रेड करने के दौरान या राऊटर का कॉन्फ़िगरेशन बदलते समय, आपको Nginx कॉन्फ़िगरेशन में गड़बड़ियां दिख सकती हैं. जब
ये गड़बड़ियां होती हैं, तो एज, Nginx कॉन्फ़िगरेशन फ़ाइलें लिखता है, जिनकी वजह से
/opt/nginx/conf.d
पर समस्या होती है. इसके बाद, गड़बड़ी की वजह का पता लगाने के लिए, Nginx configtest
टूल का
इस्तेमाल किया जा सकता है.
उदाहरण के लिए, /opt/nginx/conf.d
की जांच करने पर आपको ये फ़ाइलें दिखती हैं:
-rw-r--r-- 1 apigee apigee 522 Jul 20 08:41 0-default.conf.bad -rw-r--r-- 1 apigee apigee 577 Jul 20 08:42 0-fallback.conf -rw-r--r-- 1 apigee apigee 1062 Jul 20 08:18 0-map.conf -rw-r--r-- 1 apigee apigee 1887 Jul 20 08:42 custorg_test_default.conf.bad
ध्यान दें कि कितनी फ़ाइलों के सफ़िक्स में .bad होता है.
आम तौर पर, ये गड़बड़ियां इसलिए होती हैं, क्योंकि आपने
/opt/apigee/customer/application/router.properties
फ़ाइल में गलत बदलाव किए हैं या किसी वर्चुअल होस्ट में गलत बदलाव किए हैं. उदाहरण के लिए, आपने यह जानकारी जोड़ी है:
conf_load_balancing_load.balancing.driver.proxy.busy.buffer.size=32k
इस वैल्यू की अनुमति नहीं है.
इस गड़बड़ी को ठीक करने के लिए:
/opt/nginx/conf.d
फ़ोल्डर में फ़ाइल के नामों से .bad सफ़िक्स हटाएं, ताकि वे .conf पर खत्म हो जाए.- गड़बड़ी की वजह दिखाने के लिए, Nginx टूल
configtest
चलाएं:/opt/nginx/scripts/apigee-nginx configtest
आपको फ़ॉर्म में आउटपुट दिखता है:
nginx: [emerg] "proxy_busy_buffers_size" must be equal to or greater than the maximum of the value of "proxy_buffer_size" and one of the "proxy_buffers" in /opt/nginx/conf/nginx.conf:47
conf_load_balancing_load.balancing.driver.proxy.busy.buffer.size
को 1.28 लाख पर सेट करने के लिए,/opt/apigee/customer/application/router.properties
में बदलाव करें./opt/nginx/conf.d
डायरेक्ट्री हटाई गई:rm -rf /opt/nginx/conf.d
- राऊटर को रीस्टार्ट करें:
/opt/apigee/apigee-service/bin/apigee-service edge-router restart
- अब आपको
/opt/nginx/conf.d
फ़ोल्डर में गलत कॉन्फ़िगरेशन फ़ाइलें नहीं दिखेंगी.