Main Menu
Search
Featured Products
Featured Links
ความทุกข์ก่อให้เกิดการเรียนรู้อันใหญ่หลวงและเมื่อเกิดการเรียนรู้ถึงที่สุดแล้ว ก็ทำให้เกิดความสุขความสำเร็จอันใหญ่หลวงเช่นเดียวกัน ว. วชิรเมธี |
| การทำให้ Transaction ควบคุมได้มากกว่า 1 Server |
|
การตั้งค่าให้สามารถใช้ Transaction ควบคุมการ Commit, Rollback มากกว่า 1 Server
แต่ถ้ามีการใช้งาน Transaction หรือคำสั่ง Begin Tran, Commit Tran หรือ Rollback ต้องเปิด DTC และกำหนดสิทธิ์ด้วย
? จากนั้นไปกำหนดสิทธิ์การควบคุม Transaction ในการอ่าน/เขียน ที่ Control Panel -> Administrative Tools -> Component Services
? เปิดเข้าไปที่ Component Services -> Computers -> My Computer -> Distributed Transaction Coordinator -> คลิ๊กขวาที่ Local DTC เลือก Properties
? ที่หน้า Local DTC Properties ให้เปิดที่ Tab Security แล้วติ๊กถูกที่ Checkbox ตามรายชื่อด้านล่างแล้วกด OK - Network DTC Access - Allow Remote Clients - Allow Remote Adminitration - Allow Inbound - Allow Outbound - Enable XA Transactions - Enable SNA LU6.2 Transactions
? เท่านี้ก็สามารถใช้ Transaction ควบคุมการทำงานของ SQL Server หลายตัวได้แล้วครับ |










