이미 설치된 Cluster 에 Roll을 추가하는 방법입니다.
아래 설명은 Area51 매뉴얼이지만,, 대부분의 roll cd에 적용 가능합니다.

2.2. On an Existing Server

The area51 Roll may also be added onto an existing server (or frontend). For sake of discussion, assume that you have an iso image of the roll called area51.iso. The following procedure will install the Roll, and after the server reboots the Roll should be fully installed and configured.

$ su - root
# rocks add roll area51.iso
# rocks enable roll area51
# cd /export/rocks/install
# rocks create distro
# rocks run roll area51 | bash
# init 6

ISO 이미지 사용
xe sr-create name-label=<name> type=iso \
device-config:location=<where iso file exist> \
device-config:legacy_mode=true \
content-type=iso

EX) /var/opt/xen/iso_import/
xe sr-create name-label=windows_iso type=iso \
device-config:location=/var/opt/xen/iso_import/ \
device-config:legacy_mode=true content-type=iso

[root@xen12 ~]# xe sr-list name-label=windows_iso
uuid ( RO)                : 7bdf8f9c-ba67-eeba-ff59-ec590f8f3692
          name-label ( RW): iso-file
    name-description ( RW):
                host ( RO): xen12
                type ( RO): iso
        content-type ( RO): iso

sftp 와 같은 툴을 이용해서 ISO 파일을 /var/opt/xen/iso_import 디렉토리에 업로드한 뒤
스캔해서 업로드된 ISO 파일을 인식시킨다.

[root@xen12 ~]# xe sr-scan uuid=7bdf8f9c-ba67-eeba-ff59-ec590f8f3692

+ Recent posts