วันพุธที่ 15 ธันวาคม พ.ศ. 2553

วิธีการตั้งค่า Windows Server NTP Server

Windows 2003 Server Configuration Configuration Windows Server 2003

Windows 2003 has expanded on the original Windows 2000 time service by providing a true NTP implementation. Windows 2003 มีการขยายตัวในต้นฉบับบริการ Windows 2000 โดยให้เวลาดำเนินการ NTP จริง The time service, installed by default, can synchronise to a NTP Server. บริการเวลา, การติดตั้งโดยค่าเริ่มต้นแล้วสามารถประสานไปยัง Server NTP Indeed, by manipulating registry settings for the service it can act as both an NTP server and client to synchronise other network clients in the domain. แท้จริงด้วยการจัดการการตั้งค่ารีจิสทรีสำหรับบริการที่มันสามารถทำหน้าที่เป็นทั้งเซิร์ฟเวอร์และไคลเอนต์ NTP ประสานข้อมูลกับลูกค้าเครือข่ายอื่น ๆ ในโดเมน

The 'Windows Time' service should be present in the systems service list. บริการ'Windows Time'ควรจะอยู่ในรายการบริการระบบ The application executable is 'w32time.exe'. ใบสมัครที่ปฏิบัติการคือ'w32time.exe' The parameter list for w32time can be found in the registry at: รายการพารามิเตอร์สำหรับ W32time สามารถพบได้ในรีจิสทรีที่ :

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time HKEY_LOCAL_MACHINE \ SYSTEM \ Services \ CurrentControlSet \ W32Time

Before modifying registry entries it is good a dood idea to backup the registry settings. ก่อนที่จะปรับเปลี่ยนรายการรีจิสทรีมันเป็นสิ่งที่ดีเป็นความคิดที่ dood เพื่อสำรองการตั้งค่ารีจิสทรี The registry can then be restored in the event of problems being encountered. รีจิสทรีจากนั้นจะสามารถเรียกคืนในกรณีที่มีปัญหาถูกพบ
To configure a Windows 2003 machine to synchronise to an external NTP server, edit the following registry entries: เมื่อต้องการกำหนดค่า Windows 2003 เครื่องเพื่อประสานไปยังเซิร์ฟเวอร์ภายนอก NTP แก้ไขรายการรีจิสตรีต่อไปนี้ :

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags HKEY_LOCAL_MACHINE \ SYSTEM \ Services \ CurrentControlSet \ W32Time \ Config \ AnnounceFlags
Set the 'Announce Flags' registry entry to 5, to indicate a reliable time source. รายการรีจิสทรีตั้ง'ธงประกาศ'ถึง 5 เพื่อระบุแหล่งเวลาที่เชื่อถือได้

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NTPClient\SpecialPollInterval HKEY_LOCAL_MACHINE \ SYSTEM \ Services \ CurrentControlSet \ TimeProviders \ W32Time \ NTPClient \ SpecialPollInterval
The 'Special Poll Interval' registry entry defines the period in seconds that the Windows 2003 machine should poll the NTP server. รายการรีจิสทรี'พิเศษ Poll Interval'กำหนดระยะเวลาในวินาทีที่ Windows 2003 ควรสำรวจเครื่องเซิร์ฟเวอร์ NTP A recommended value is 900 seconds, which equates to every 15 minutes. ค่าที่แนะนำคือ 900 วินาทีซึ่งเท่ากับทุก 15 นาที

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\NtpServer HKEY_LOCAL_MACHINE \ SYSTEM \ Services \ CurrentControlSet \ Parameters \ W32Time \ NtpServer
The 'NTP Server' parameter is used to provide a list of IP addresses or DNS names, separated by a space, of NTP servers that the Windows 2003 machine can synchronise to. พารามิเตอร์'NTP Server'ที่จะใช้ในการแสดงรายการของที่อยู่ IP หรือชื่อ DNS และคั่นด้วยช่องว่างของเซิร์ฟเวอร์ NTP ที่ Windows 2003 เครื่องสามารถประสานไปยัง

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NTPServer\Enabled HKEY_LOCAL_MACHINE \ SYSTEM \ Services \ CurrentControlSet \ TimeProviders \ W32Time \ NTPServer \ เปิดใช้งาน
Changing the 'Enabled' flag to the value 1 enables the NTP Server. การเปลี่ยนธง'เปิดใช้งาน'to 1 ค่าทำให้ Server NTP

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type HKEY_LOCAL_MACHINE \ SYSTEM \ Services \ CurrentControlSet \ Parameters \ W32Time \ ประเภท
Change the server type to NTP by specifying 'NTP' in the 'Type' registry entry. เปลี่ยนประเภทของเซิร์ฟเวอร์เพื่อ NTP โดยระบุ'NTP'ในรายการรีจิสทรี'พิมพ์'

Windows 2000 Time Service Configuration Windows 2000 การกำหนดค่าบริการเวลา

Windows 2000 has an integrated time synchronisation service, installed by default, which can synchronise to a NTP Server. Windows 2000 มีเวลาการให้บริการแบบบูรณาการสังเคราะห์ได้ติดตั้งโดยค่าเริ่มต้นที่สามารถประสานกับ NTP Server Indeed, by manipulating registry settings, the service can act as both an SNTP client and SNTP server to synchronise other network clients. แท้จริงด้วยการจัดการการตั้งค่ารีจิสทรีให้บริการสามารถทำหน้าที่เป็นทั้งไคลเอนต์และเซิร์ฟเวอร์ SNTP SNTP การทำข้อมูลลูกค้าเครือข่ายอื่น ๆ

Before modifying registry entries it is good a dood idea to backup the registry settings. ก่อนที่จะปรับเปลี่ยนรายการรีจิสทรีมันเป็นสิ่งที่ดีเป็นความคิดที่ dood เพื่อสำรองการตั้งค่ารีจิสทรี The registry can then be restored in the event of problems being encountered. รีจิสทรีจากนั้นจะสามารถเรียกคืนในกรณีที่มีปัญหาถูกพบ
The 'Windows Time' service should be present in the systems service list. บริการ'Windows Time'ควรจะอยู่ในรายการบริการระบบ The application executable is 'w32time.exe'. ใบสมัครที่ปฏิบัติการคือ'w32time.exe' The parameter list for w32time can be found in the registry at: รายการพารามิเตอร์สำหรับ W32time สามารถพบได้ในรีจิสทรีที่ :

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters HKEY_LOCAL_MACHINE \ SYSTEM \ Services \ CurrentControlSet \ Parameters \ W32Time

Windows 2000 can operate as an NTP client and synchronise to an NTP server by setting parameter 'NTP Server' to the IP address of a NTP Server. Windows 2000 สามารถดำเนินการเป็นลูกค้า NTP และประสานไปยังเซิร์ฟเวอร์ NTP โดยการตั้งค่า'Server NTP'พารามิเตอร์ไปยังที่อยู่ IP ของ NTP Server

By default, the Microsoft Windows 2000 machine will synchronise to the specified NTP time server every 8 hours (or 3 times a day), which may not be enough to maintain accurate synchronisation. โดยค่าเริ่มต้น Microsoft Windows 2000 เครื่องจะประสานไปยังเซิร์ฟเวอร์ที่กำหนดเวลา NTP ทุก 8 ชั่วโมง (หรือ 3 ครั้งต่อวัน) ซึ่งอาจไม่เพียงพอในการรักษาที่ถูกต้องทำข้อมูลให้ตรงกัน The period can be reduced by setting the 'Period' parameter to how many times a day synchronisation is required. ระยะเวลาที่สามารถลดได้โดยการตั้งค่าพารามิเตอร์'ระยะเวลา'เพื่อทำข้อมูลให้ตรงกันกี่วันจะต้อง Setting the period to 48 will activate synchronisation with the NTP server once every half hour. การกำหนดระยะเวลาถึง 48 จะเปิดใช้งานข้อมูลให้ตรงกันกับเซิร์ฟเวอร์ NTP ครั้งทุกครึ่งชั่วโมง
Windows 2000 can also be configured to act as an NTP server by setting the 'Local NTP' parameter to '1'. Windows 2000 นอกจากนี้ยังสามารถกำหนดค่าให้ทำหน้าที่เป็นเซิร์ฟเวอร์ NTP โดยการตั้งค่าพารามิเตอร์'Local NTP'to '1'

After editing any of the registry entries for the windows time service, the service must be restarted for the settings to take effect. หลังจากการแก้ไขใด ๆ ของรายการรีจิสทรีสำหรับบริการทุกครั้งที่ Windows, บริการจะต้องเริ่มต้นใหม่สำหรับการตั้งค่าจะมีผล The services can be started or stopped from the service control applet in 'administrative tools'. บริการที่สามารถเริ่มต้นหรือหยุดจากแอปเพล็บริการควบคุมใน'เครื่องมือการบริหาร' Alternatively the service can be controlled via the DOS net command thus: หรือบริการที่สามารถควบคุมได้ผ่านทางคำสั่ง DOS สุทธิจึง :

net start w32time W32time เริ่มต้นสุทธิ
net stop w32time W32time หยุดสุทธิ

NTP Troubleshooting การแก้ไขปัญหา NTP

A number of problems can be encountered when configuring the Windows Time Service. จำนวนปัญหาที่พบเมื่อสามารถกำหนดค่า Windows Time Service NTP operates using the UDP protocol over TCP/IP. NTP ดำเนินการโดยใช้โปรโตคอล UDP over TCP / IP Therefore the TCP/IP network infrastructure must be operational for NTP to be effective. ดังนั้น TCP / IP โครงสร้างพื้นฐานของเครือข่ายจะต้องมีการดำเนินงานสำหรับ NTP ให้มีประสิทธิภาพ Synchronisation issues may arise when NTP attempts to synchronise to an inaccurate time reference or if network delays are excessive. Synchronisation ปัญหาอาจเกิดขึ้นเมื่อ NTP พยายามที่จะประสานไปยังอ้างอิงเวลาที่ไม่ถูกต้องหรือในกรณีที่เครือข่ายมีความล่าช้ามากเกินไป

Synchronising Time on Network Devices เวลา Synchronising บนอุปกรณ์เครือข่าย

As well as synchronising Microsoft Windows servers and workstations, NTP can also be used to synchronise network devices, such as hubs, switches and routers. รวมทั้งการทำข้อมูลให้ตรงกันเซิร์ฟเวอร์และเวิร์คสเตชั่ Microsoft Windows, NTP ยังสามารถใช้สำหรับการทำข้อมูลอุปกรณ์เครือข่ายต่างๆเช่นฮับสวิตช์และเราเตอร์ Any network device that can synchronise to a NTP server can be pointed to the Windows server to achieve time synchronisation. อุปกรณ์เครือข่ายใด ๆ ที่สามารถประสานไปยังเซิร์ฟเวอร์ NTP สามารถชี้ไปที่เซิร์ฟเวอร์ของ Windows เพื่อให้เกิดการปรับเวลาที่ In this way the whole network and accompanying infrastructure can be synchronised. ด้วยวิธีนี้และโครงสร้างพื้นฐานของเครือข่ายทั้งหมดประกอบสามารถทำให้ข้อมูลตรงกัน

ไม่มีความคิดเห็น:

แสดงความคิดเห็น