设为首页收藏本站

 找回密码
 注册

QQ登录

只需一步,快速开始

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

Ubuntu: Installing MAAS

2014-5-6 17:59| 发布者: demo| 查看: 753| 评论: 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 MAAS from the archive
There are two main ways to install MAAS

If you are interested in testing the latest development version you can also check out the very latest source and build MAAS yourself.

Installing MAAS from the archive

Installing MAAS from packages is thankfully straightforward. There are actually several packages that go into making up a working MAAS install, but for convenience, many of these have been gathered into a virtual package called ‘maas’ which will install the necessary components for a ‘seed cloud’, that is a single server that will directly control a group of nodes. The main packages are:

  • maas - seed cloud setup, which includes both the region controller and the cluster controller below.
  • maas-region-controller - includes the web UI, API and database.
  • maas-cluster-controller - controls a group (“cluster”) of nodes including DHCP management.
  • maas-dhcp/maas-dns - required when managing dhcp/dns.

If you need to separate these services or want to deploy an additional cluster controller, you should install the corresponding packages individually (see the description of a typical setup for more background on how a typical hardware setup might be arranged).

There are two suggested additional packages ‘maas-dhcp’ and ‘maas-dns’. These set up MAAS-controlled DHCP and DNS services which greatly simplify deployment if you are running a typical setup where the MAAS controller can run the network (Note: These must be installed if you later set the options in the web interface to have MAAS manage DHCP/DNS). If you need to integrate your MAAS setup under an existing DHCP setup, see Manual DHCP configuration

Note

A more up-to-date MAAS is available for the most recent Ubuntu LTS release in the Canonical cloud archive. You can activate the archive with sudo add-apt-repository cloud-archive:tools. Using packages from this archive is recommended as it contains important fixes and new features that are not always available in the Ubuntu archive.

Install packages

At the command line, type:

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

You will see a list of packages and a confirmation message to proceed. The exact list will obviously depend on what you already have installed on your server, but expect to add about 200MB of files.

The configuration for the MAAS controller will automatically run and pop up this config screen:

_images/install_cluster-config.png

Here you will need to enter the hostname for where the region controller can be contacted. In many scenarios, you may be running the region controller (i.e. the web and API interface) from a different network address, for example where a server has several network interfaces.

Once the configuration scripts have run you should see this message telling you that the system is ready to use:

_images/install_controller-config.png

The web server is started last, so you have to accept this message before the service is run and you can access the Web interface. Then there are just a few more setup steps Post-Install tasks



路过

雷人

握手

鲜花

鸡蛋

相关阅读

最新评论

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

GMT-8, 2025-8-25 11:52 , Processed in 0.014769 second(s), 20 queries .

Supported by Best Deal Online X3.5

© 2001-2025 Discuz! Team.

返回顶部