TAILIEUCHUNG - High Availability MySQL Cookbook phần 9

Tính sẵn sàng cao với MySQL và Shared Storage Với mục đích của cuốn sách này, đó là nhanh chóng và thiết thực nhất có thể, chúng tôi đã bỏ qua cấu hình CHAP để xác thực, mà bạn nên luôn luôn làm trong một thiết lập sản xuất (CHAP có thể được cấu hình trong / etc / iscsi / iscsid. Conf). Xem trang chính cho để biết thêm chi tiết. | High Availability with MySQL and Shared Storage For the purpose of this book which is as quick and practical as possible we have skipped configuring CHAP for authentication which you should always do in a production setting CHAP can be configured in etc iscsi iscsid. conf . See the main page for for more details. Do this with the following command is our storage IP root@node1 iscsiadm -m discovery -t st -p 3260 1 02 bef2d7f0-af13-6afa-9e70-9622c12ee9c0 The IQN gives you an idea that this is a SUN iSCSI appliance. J Hopefully you should see the IQN you noted down in the output from the previous command. You may see more if your storage is set to export some LUNs to all initiators. If you see nothing there is something wrong most likely the storage requires CHAP authentication or you have incorrectly configured the storage to allow the initiator IQN access. Once you see the output representing the correct storage volume restart the iscsi service to connect to the volume as follows root@node1 etc iscsi restart Stopping iSCSI daemon iscsid dead but pid file exists OK Turning off network shutdown. Starting iSCSI daemon OK OK Setting up iSCSI targets Logging in to iface default target 02 bef2d7f0-af13-6afa-9e70-9622c12ee9c0 portal 3260 OK Check that this new storage volume has been mounted in the kernel log as follows root@node1 dmesg tail -1 sd 1 0 0 0 Attached scsi disk sdb Repeat this entire exercise for the other node which should also mount the same volume as dev sdb. Do not attempt to build a filesystem on this volume at this stage. Good You have successfully prepared your two-node cluster to see the same storage and are ready to run a service from this shared storage. Chapter 6 See also This book covers some higher level performance tuning techniques in Chapter 8 Performance Tuning but will not delve into detailed kernel level performance tuning. For this I can .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.