4.12.2. 독립 모드 구성
인벤토리 파일에서
[OSEv3:vars]
섹션에 다음 변수를 추가하고 구성에 필요한 대로 조정합니다.Copy to Clipboard Copied! Toggle word wrap Toggle overflow [OSEv3:children]
섹션에glusterfs
를 추가하여[glusterfs]
그룹을 활성화합니다.[OSEv3:children] masters nodes glusterfs
[OSEv3:children] masters nodes glusterfs
Copy to Clipboard Copied! Toggle word wrap Toggle overflow GlusterFS 스토리지를 호스팅할 각 스토리지 노드에 대해
[glusterfs]
섹션을 추가합니다. 각 노드에 대해glusterfs_devices
를 GlusterFS 클러스터의 일부로 완전히 관리할 원시 블록 장치 목록으로 설정합니다. 나열된 장치가 하나 이상 있어야 합니다. 파티션이나 LVM PV가 없는 각 장치는 베어여야 합니다. 또한glusterfs_ip
를 노드의 IP 주소로 설정합니다. 변수를 지정하면 폼을 사용합니다.<hostname_or_ip> glusterfs_ip=<ip_address> glusterfs_devices='[ "</path/to/device1/>", "</path/to/device2>", ... ]'
<hostname_or_ip> glusterfs_ip=<ip_address> glusterfs_devices='[ "</path/to/device1/>", "</path/to/device2>", ... ]'
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 예를 들면 다음과 같습니다.
[glusterfs] gluster1.example.com glusterfs_ip=192.168.10.11 glusterfs_devices='[ "/dev/xvdc", "/dev/xvdd" ]' gluster2.example.com glusterfs_ip=192.168.10.12 glusterfs_devices='[ "/dev/xvdc", "/dev/xvdd" ]' gluster3.example.com glusterfs_ip=192.168.10.13 glusterfs_devices='[ "/dev/xvdc", "/dev/xvdd" ]'
[glusterfs] gluster1.example.com glusterfs_ip=192.168.10.11 glusterfs_devices='[ "/dev/xvdc", "/dev/xvdd" ]' gluster2.example.com glusterfs_ip=192.168.10.12 glusterfs_devices='[ "/dev/xvdc", "/dev/xvdd" ]' gluster3.example.com glusterfs_ip=192.168.10.13 glusterfs_devices='[ "/dev/xvdc", "/dev/xvdd" ]'
Copy to Clipboard Copied! Toggle word wrap Toggle overflow