设为首页收藏本站

 找回密码
 注册

QQ登录

只需一步,快速开始

BCM 门户 IT世界 系统管理 查看内容

Ubuntu: Installing MAAS

2014-5-6 17:59| 发布者: demo| 查看: 757| 评论: 0|来自: Ubuntu

摘要: There are two main ways to install MAAS From Ubuntu’s package archive on an existing Ubuntu install.As a fresh install from Ubuntu Server install media. If you are interested in testing the latest ...
Installing additional clusters


In an environment comprising large numbers of nodes, it is likely that you will want to organise the nodes on a more distributed basis. The standard install of the MAAS region controller includes a cluster controller, but it is possible to add additional cluster controllers to the configuration, as shown in the diagram below:

_images/orientation_architecture-diagram.png

Each cluster controller will need to run on a separate Ubuntu server. Installing and configuring the software is straightforward though:

$ sudo apt-get install maas-cluster-controller

This meta-package will install all the basic requirements of the system. However, you may also wish or need to run DHCP and/or DNS services, in which case you should also specify these:

$ sudo apt-get install maas-cluster-controller maas-dhcp maas-dns

Configuring the cluster controller

Once the packages are installed, the cluster controller needs to know where to look for the region controller. This is achieved using dpkg to configure the software:

$ dpkg-reconfigure maas-cluster-controller
_images/cluster-config.png

The configuration script should then bring up a screen where you can enter the IP address of the region controller. Additionally, you will need to run the maas-import-pxe-files script to install the distro image files locally for commissioning:

$ maas maas node-groups import-boot-images

...and optionally set up the DHCP and DNS for the cluster by either:

Using the web UI
Follow the instructions at Cluster Configuration to use the web UI to set up your cluster controller.
Using the command line client
First logging in to the API and then following this procedure

Client-side DNS configuration

When using a third party tool such as juju it will need to be able to resolve the hostnames that the MAAS API returns to it. In order for this to happen, client-side DNS must be configured to point to MAAS’s DNS server. Generally speaking, this is a simple case of adding the following line to the /etc/resolv.conf file on your client host:

nameserver <IP OF MAAS DNS HOST>

replacing the <IP OF MAAS DNS HOST> with the actual IP address of the host running the MAAS DNS server.

However, for hosts using the resolvconf package, please read its documentation for more information.

 
123456

路过

雷人

握手

鲜花

鸡蛋

相关阅读

最新评论

手机版|小黑屋|BC Morning Website ( Best Deal Inc. 001 )  

GMT-8, 2025-8-25 14:35 , Processed in 0.016917 second(s), 19 queries .

Supported by Best Deal Online X3.5

© 2001-2025 Discuz! Team.

返回顶部