ข่าว: ข่าวประกาศ

  • 27 เมษายน 2024, 05:05:37

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

แสดงกระทู้

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kung

หน้า: [1]
1
ทำได้แล้วครับ โดยการวิจัยของทางหาดใหญ่อินเตอร์เน็ต โดย admin tan

ไม่จำเป็นว่า ISP Support หรือไม่ ใช้งานได้ทุก ISP สามารถรวมได้

"we don't load balance we BOND!"

อิอิ ตอนนี้รอทดสอบการใช้งานจริง  เนื่องจากทำจาก LAB ผ่านไปได้ด้วยดี

จากรูป ppp0 จะเป็น interface ที่รวม ppp101-105
สังเกตุว่า ppp101-105 จะวิ่งเท่ากันเนื่องจากเป็น Bonding

2
Linux Server System / Round Robin DNS Load Balancing
« เมื่อ: 21 พฤษภาคม 2008, 23:41:36 »
Ref : http://content.websitegear.com/article/load_balance_dns.htm

Round Robin DNS Load Balancing
Published: Thursday, May 20, 2004


How DNS load balancing works

When the request comes to the DNS server to resolve the domain name, it gives out one of the several canonical names in a rotated order. This redirects the request to one of the several servers in a server group. Once the BIND feature of DNS resolves the domain to one of the servers, subsequent requests from the same client are sent to the same server.

DNS load balancing implementation (Multiple CNAMES)

This approach works for BIND 4 name servers, where multiple CNAMES are not considered as a configuration error. Assuming there are 4 web servers in the cluster configured with IP addresses 123.45.67.[1-4], add all of them to the DNS with Address records (A Names) as below. The srv[1-4] can be set to any name you want, such as foo[1-4], but should match the next step.


srv1 IN A 123.45.67.1
srv2 IN A 123.45.67.2
srv3 IN A 123.45.67.3
srv4 IN A 123.45.67.4



Add the following canonical names to resolve www.domain.com to one of these servers.

www IN CNAME srv1.domain.tld.
IN CNAME srv2.domain.tld.
IN CNAME srv3.domain.tld.
IN CNAME srv4.domain.tld.



The DNS server will resolve the www.domain.com to one of the listed servers in a rotated manner. That will spread the requests over the group of servers.

Note: The requests sent to http://domain.com (without 'www') should be forwarded to http://www.domain.com in this case to work. For BIND 8 name servers, the above approach will throw an error for multiple CNAMES. This can be avoided by an explicit multiple CNAME configuration option as shown below.


options {
multiple-cnames yes;
};



DNS load balancing implementation (Multiple A Records)

This above approach with multiple CNAMES for one domain name is not a valid DNS server configuration for BIND 9 and above. In this case, multiple A records are used.


www.domain.tld. 60 IN A 123.45.67.1
www.domain.tld. 60 IN A 123.45.67.2
www.domain.tld. 60 IN A 123.45.67.3
www.domain.tld. 60 IN A 123.45.67.4



The TTL value should be kept to a low value, so that the DNS cache is refreshed faster.

Other considerations

The DNS based load balancing method shown above does not take care of various potential issues such as unavailable servers (if one server goes down), or DNS caching by other name servers. The DNS server does not have any knowledge of the server availability and will continue to point to an unavailable server. It can only differentiate by IP address, but not by server port. The IP address can also be cached by other nameservers, hence requests may not be sent to the load balancing DNS server.

Considering the functionality, the round robin DNS is not a load balancing mechanism but a load distribution option. Some of these drawbacks can be overcome by implementing an advanced version of the DNS load balancer using Perl scripts. The details can be found here.

Some other variety of load balancing can be performed by using a proxy server, where one of the web servers, is solely used for re-routing of traffic to the other servers. If Apache is used as a web server, the mod_rewrite feature of Apache can be used for this purpose as detailed in this Apache website article.

3
อยู่ระหว่างการเปลี่ยนอุปกรณ์นะครับ เนื่องจากของเก่าใช้งานมานานแล้ว เกือบ 2 ปีแล้ว ทำให้เกิดการขัดข้องบ่อยนะครับ

4
ไม่ต้องครับ เพราะว่า Server ที่เราทำขึ้นมาทำหน้าที่รวมให้แทน โดยสามารถใช้หลาย ISP ได้ ไม่ขึ้นกับ ISP

5
หัวข้อการวิจัย และพัฒนา / Re: ADSL Bonding Gateway
« เมื่อ: 20 พฤษภาคม 2008, 12:27:49 »
Virtual Router Redundancy Protocol (VRRP)

Get started using Virtual Router Redundancy Protocol, a simple, yet robust practice that can provide additional availability in your network.

VRRP provides gateway redundancy by allowing each router within the redundant router topology to share a virtual Ethernet MAC address and a virtual IP address. When the virtual addresses are active on a particular router, the router is said to be the master. Routers without control of the virtual addresses are referred to as backups.

ความหมายของ VRRP

VRRP เป็นโปรโตคอลการทำงานตามมาตรฐาน RFC 2338  ซึ่ง VRRP จะมีการทำงานในลักษณะการ Backup อุปกรณ์ในส่วนของระบบเครือข่าย LAN โดยจะมีทั้งอุปกรณ์หลัก (Master) และอุปกรณ์สำรอง (Backup) ที่ใช้ในการเป็น Gateway ในการรับ-ส่งข้อมูล  ถ้าหากอุปกรณ์ Master เกิดเสียหรือขัดข้อง ทำให้ข้อมูลไม่สามารถรับ-ส่งผ่าน Gateway ทางอุปกรณ์ Master ได้  อุปกรณ์ Backup จะทำการ Take over การทำงานเป็น Gateway แทนอุปกรณ์ Master และข้อมูลต่างๆ จะถูกส่งผ่านทาง Gateway โดยอุปกรณ์ Backup แทน

6
หัวข้อการวิจัย และพัฒนา / Re: ADSL Bonding Gateway
« เมื่อ: 20 พฤษภาคม 2008, 12:24:27 »
หลักการทำงานของ sharedband

Shareband introduce Bonding ADSL Lines at IP Level

Sharedband enables a single stream of data to utilise the full aggregated upstream and downstream capacity.
Application agnostic -- able to handle applications from voice to video.
Supports multiple protocols including TCP, UDP, ICMP, PPTP over GRE, and IPSEC over UDP and TCP.
* (IPSEC over L2TP is currently under development)
Supports static and shared IP addressing with Network Address Translation (NAT) and Port Address Translation (PAT)
External IP and port addresses mapped from IP ranges allocated to the aggregation servers to local IP / port addresses on the customers LAN
In the event of an individual router failure there is a transparent gateway failover which is enabled using the VRRP set up. Sharedband also supports DHCP server failover.
Sharedband software is suitable for working with most types of broadband connections. The current version of upgrade firmware is available for the following supported devices:
* Netgear ADSL modem router, DG834 v2 and v3
* Netgear wireless ADSL modem router DG834g v2 and v3
* Linksys wireless router WRT54GL
Sharedband is packet based technology and MLPPP (multi link point to point protocol) is not required for shared bandwidth resource pooling.
Sharedband is suited for a single deployment on up to four IP connections. The software tests the actual lines speeds at periodic intervals to optimize the distribution of the packets and provide the best aggregated performance.
For optimal performance the lines should have similar latencies, not more than 20ms between the slowest and fastest round trip times. Future versions of Sharedband will include a packet resequencing feature that will manage connections with widely different latencies.

7
ขอเก็บหัวข้อระบบแบบที่ 2 ไว้ไปวิจัยต่อนะครับ เนื่องจากเห็นของต่างประเทศเค้าทำได้แล้ว

บ้านเราก็น่าจะนำเทคโนโลยีเหล่านี้มาใช้ให้เกิดประโยชน์บ้าง


8
ระบบ VLAN ต่อได้ตามจำนวน Port ของ Switch นะครับ ถ้าเป็น Switch ตัว Zyxel ES-2024 จะมี 26 Port ก็สามารถต่อได้ถึง 25 เส้น  แต่ถ้าใช้งานจริงๆ ก็ต้องดู CPU กับ Memory ด้วยนะครับ  เท่าที่ใช้สูงสุด 15 เส้น ก็กิน CPU ประมาณ 10% Memory ใช้ประมาณ 128MB ครับ

ถ้าใช้หลาย ๆ เส้น ก็ต้องจัดการระบบให้ดีนะครับ Server มันคงไม่เอ๋อหรอกครับ แต่คนใช้จะเอ๋อแทน เพราะมันหลายเส้น จะต้องจัดการตัว Modem จัดการสาย และก็จัดการ Port ของ Switch ให้เป็นระเบียบ จะได้ไม่มั่ว จัดการง่าย

ถ้าใช้ Server แท้ ต่อ RAID แน่นอนอยู่แล้วครับ มันดีกว่า Server ประกอบอยู่แล้ว แต่ทั้งนี้ก็ขึ้นกับงบประมาณด้วย ว่าแบบไหนจะคุ้มค่าที่สุด

160 เครื่อง โปรแกรมที่ทำ Server เป็น Ubuntu compile Kernel เป็นแบบ Adv-qos โดย tan
ส่วนเครื่องลูกข่าย ใช้ระบบ SmartCafe และ SmartNet เป็นตัวควบคุมระบบเก็บเงิน โดย por_pk
และใช้โปรแกรมพวกป้องกัน HDD ต่าง ๆ เหมือนทั่ว ๆ ไป โดย Dams

หาสนใจติดต่อทำระบบ ติดต่อผ่านคุณป้อได้เลยครับ 084-9695561

9
ต้องขออภัยด้วยนะครับ ในเรื่อง mail บน Windows 2003 R2 เพราะไม่ค่อยได้วิจัยด้านนี้เลย

เคยลองใช้ exchange แล้วรู้สึกไม่ค่อยประทับใจ หรือ set ไม่เป็นก็ไม่รู้ เลยไม่ได้วิจัยต่อ

ถ้าเป็น Server สำหรับ ออฟฟิต ส่วนใหญ่ก็จะติดตั้งตัว Zimbra Collaboration Suite (ZCS) บน Ubuntu

จะมีครบหมด

ตัวอย่าง screen shot ของ Zimbra Application


10
จะรับเฉพาะภาคใต้ครับ  แต่ถ้าเป็นจังหวัดอื่น ๆ เช่น กรุงเทพฯ หรือ ภาคเหนือ อีสาน

ก็จะเป็นทีมงานอีกชุดนึง ซึ่งเป็นเครือข่ายเดียวกันครับ ในแต่ละจังหวัด

หรือถ้าหากทีมงานใดสนใจระบบต่าง ๆ ต้องการให้ทางหาดใหญ่อินเตอร์เน็ต เป็นผู้เทรนหรือสอน

ก็ยินดีเผยแพร่ เพื่อที่จะนำไปบริการให้จังหวัดของตนเอง อาจจะมีค่าใช้จ่ายตามสมควรครับ


11
สถานที่ตั้ง

Hadyai Internet 68/3 Moo 3 Tumbol Khorhong Ampher Hadyai Songkhla 90110

จะเป็นห้อง Network กับ Server ซึ่งจะมีเฉพาะ Engineer คอย Remote ดูแลอยู่

ถ้าจะติดต่อผ่านทางฝ่ายขาย จะสะดวกกว่าครับ

เพราะว่าทีมวิจัย จะไม่ค่อยรับโทรศัพท์กัน ตื่นสาย เที่ยง หรือบางทีก็บ่าย จะทำงานกันดึก ๆ จนยันสว่าง
ถ้าติดต่อทีมงานวิจัย ผ่านทางเวปจะสะดวกกว่าครับ


12
คุยกับทีมวิจัย / Re: รายชื่อทีมงาน
« เมื่อ: 13 พฤษภาคม 2008, 12:17:55 »
 ;D ;D ;D ;D

หน้า: [1]