검색

이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 6. Use Bare Metal Nodes as Instances

download PDF

This use case allows you to deploy an instance that uses a bare metal node as the underlying hardware. Sahara performs two internal tasks when creating a big data cluster:

  1. Heat is used to create the instances, including the required network.
  2. When the instances are ready (openstack server list will be ACTIVE), sahara connects to each node and applies the configuration for the specified big data plugin. This can include installing additional software, spawning services, and other tasks, until the big data instance is ready.

6.1. Prerequisites

  • Use the default parameters when deploying Bare Metal Provisioning (ironic) and Data Processing (sahara) on the overcloud.
  • All the bare metal nodes must be grouped under a predefined flavor (referred as below as the baremetal_flavor).
  • Mixed configurations combining virtual and bare metal nodes have not been tested, and may not be supported.

Typically, virtual instances are usually connected to a private project network and then accessible through a floating IP pool on a public network). However, an issue could arise if the bare metal machines managed by ironic are accessible only through a single network. As a result, the sahara cluster should be configured to not use a floating IP address pool, but to only use that network. This issue is not limited to bare metal nodes, and could also arise when sahara is used with virtual machines only.

6.2. Generate the Images

You may need to generate new images for the bare metal nodes using sahara-image-elements (including the additional baremetal switch). If doing so, you must also generate the kernel and initrd images. However, you may not need to generate the bare metal images at all, as the images typically generated by sahara-image-elements do work as full-disk images. The bare metal images may be needed for the MapR plugin, because the flavor requires an ephemeral disk and that further requires a partition image. There is currently a known issue for the generation script that prevents the creation of bare metal images. This is expected to be resolved in a future update.

Once the images are generated, you will need to upload them to glance, and then register them in sahara.

6.3. Create the Cluster

In this example, the CDH plugin is used to demonstrate a testing scenario:

  1. Create a typical set of CDH node group templates and cluster templates. However, for this use case you will need to specify the new baremetal_flavor, and you might not require a floating IP address pool. For example, you might allocate:

    • 1x manager
    • 1x master-core
    • 1x master-additional
    • 1x worker-nm-dn
  2. Enable dfs_replication by setting it to 1.
  3. Set the flavor to baremetal_flavor.
  4. Create a cluster: The resulting cluster should initialize successfully, and the instances you deploy should use the bare metal nodes.
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.