Академический Документы
Профессиональный Документы
Культура Документы
1 of 18
http://www.syscompass.org/install.html
Introduction
Introduction
Step 2 - Compass
Web
For those users who look to use Compass in their production environment,
this instruction gives a thorough walkthrough on how to use Compass Web
UI to achieve your deployment goals. Screenshot examples are also used
for better understanding and illustration. The whole process can be divided
into two main parts: 1. Install Compass and 2. Use Compass to deploy a
cluster. The following installation of process demonstrates singel controller
multi compute scenario deployed on CentOS.
Step 3 - Create
Cluster
Getting Start
Getting Start
Step 1 - Install
Compass
Step 4 - Discover
Servers
Step 5 - OS Global
Config
Step 6 - Network
Step 7 - Partition
Step 8 - Security
Step 9 - Role
Assignment
Step 10 - Network
Mapping
Step 11 - Review and
Deployment
Step 12 - OpenStack
Appendix - FAQ
09-03-2016 22:02
Compass
2 of 18
http://www.syscompass.org/install.html
09-03-2016 22:02
Compass
3 of 18
http://www.syscompass.org/install.html
The install scripts will be asking some questions to allow users to customize
their environments. The content bewteen parenthesis is the default setting.
Press Enter to go with default setting. Here we will explain those
questions to make them easier to understand.
Please enter the nic
Compass uses PXE(BOOTP) and DHCP to install OSes onto servers
using network installation. This is asking you to input which nic on the
Compass server you would like the DHCP service to listen on.
Please note that although the default DHCP server setting listens to
all interfaces on Compass server, it is recommended that you set this
as the interface that is connected to the Management network.
09-03-2016 22:02
Compass
4 of 18
http://www.syscompass.org/install.html
09-03-2016 22:02
Compass
5 of 18
http://www.syscompass.org/install.html
Compass adapters are also some source code for Cobbler and Chef
to use. See Q10 for instructions.
Once you answered all above questions, you can hand the installation over
to Compass installation script. It will take a while to finish, depending on
your location and network bandwidth.
Step 2 - Compass-Web
Once you completed the installation, open your browser(Chrome and
Firefox are recommended) and type the IP of Compass server on the
address bar. Then the UI will take you to the login page.
09-03-2016 22:02
Compass
6 of 18
http://www.syscompass.org/install.html
09-03-2016 22:02
Compass
7 of 18
http://www.syscompass.org/install.html
As you can see in the image below, Compass UI pops up a form for you to
fill in your switch information. This switch should be the switch of your
management network. First you need to make sure the Switch has SNMP
enabled and uses standard MIBs. Compass currently supports Huawei, HP,
Arista and PICA8 switches. You need to enter your Switch IP, version and
Community for Compass to discover servers. The default version is 2c
and default community is public. If you are cannot proceed with default
values and having trouble getting the specific values for your switch, please
consult the switch manufacturers for correct information.
09-03-2016 22:02
Compass
8 of 18
http://www.syscompass.org/install.html
Once you have filled in the switch information, click add and the switch will
show up on the right hand side. Select the switches from the list of
switches, then click Discover Servers. Compass will discover all the
servers that are connected to the switch ip you entered.
After a few seconds, you should be able to get a list of servers with their
MAC addresses, switches they are connected to and their port numbers.
Select the servers you would like to deploy, by checking their switch IPs
and port numbers based on your deployment plan. The search bar allows
you to find the desired server quickly, and by checking the Hide Unselected
Servers box, you can get a clearer view of the servers you have selected.
If you are unable to find server, please refer to Appendix for more
information.
09-03-2016 22:02
Compass
9 of 18
http://www.syscompass.org/install.html
When you have filled in all the required fields, click Next and it will bring
you to the network step.
09-03-2016 22:02
Compass
10 of 18
http://www.syscompass.org/install.html
Step 6 - Network
Network configurations have always been complicated when deploying
distributed systems. Compass has made network configurations of
OpenStack easy and intuitive. As you can see in the image below, by
default, Compass lists 4 network interfaces. Click on Autofill button and
you will get a detailed view of networks. You can add or remove interfaces
by clicking on the + and - on the right. Once you have the correct
number of interfaces, choose one of them as your management network
interface(this interface should match your network plan). This can be done
by checking the box of the interface under is Mgmt Network column. You
then need to set one interface in promisc mode. Such interface is used for
assigning external floating IPs. Do not set promisc and management on
the same network interface.
Now add subnets to the interfaces by clicking on Add Subnet button. Then
you can type in your subnet config. Subnets should follow the CIDR format
such as 192.168.1.0/24. You can click on + to add more subnets.
09-03-2016 22:02
Compass
11 of 18
http://www.syscompass.org/install.html
Once you complete creating subnets, Compass will go back to the network
page. Now you need to map subnets to interfaces. There are drop-down
menus for each interface under subnet column. You should carefully
choose the correct subnet for each interface.
09-03-2016 22:02
Compass
12 of 18
http://www.syscompass.org/install.html
Step 7 - Partition
This step helps you do the partition. Compass provides LVM partitions. You
can add/remove mount points during this step. /root mount points existence
is mandatory and please keep in mind that although other mount points are
optional, most operating systems require /usr and /var. So having /usr and
/var in your partition is strongly recommended. You can give each mount
point a specific percentage, and its maximum size. Once you have finished,
click Next to proceed.
Step 8 - Security
In this step, you are able to assign server and service credentials services
and components of the target system. We have already pre-filled the values
for you, which you can see when you go to the last step of this wizard:
review and deploy. You may also customize these credentials yourself.
Again, you will get a chance to review them before deploying.
Set OpenStack interior components credentials under the OpenStack
Database and Queue credentials tab.
09-03-2016 22:02
Compass
13 of 18
http://www.syscompass.org/install.html
09-03-2016 22:02
Compass
14 of 18
http://www.syscompass.org/install.html
For auto assign, enter the number of each nodes that you would like to
assign, then click Assign.
For manually assign, drag a specific role and drop it at the desired server.
09-03-2016 22:02
Compass
15 of 18
http://www.syscompass.org/install.html
Click Next once you have made sure all networks are properly assigned
and no network overlaps with the public network.
You can see there is a progress bar for each server. If the progresses stay
at 0 for a long time, please refer to Appendix for guidance.
09-03-2016 22:02
Compass
16 of 18
http://www.syscompass.org/install.html
Step 12 - OpenStack
Once all the progress bars are showing 100%. Your cluster is ready! Now
you may open a new tab and type in the controller nodes IP address, if you
installed OpenStack. The dashboard will show up.
Login to the OpenStack dashboard with the credentials you have set in
security step. If you used our prefilled values, you may login with
admin/admin.
09-03-2016 22:02
Compass
17 of 18
http://www.syscompass.org/install.html
09-03-2016 22:02
Compass
http://www.syscompass.org/install.html
A: You will need to restart all the target servers, only by restarting hosts
PXE can be triggered.
Q: I would like to delete a cluster that I create previously, but I do not
find any delete button, how can I do this?
A: Currently there is not a cluster delete button on the web UI. But you may
follow the steps below to delete a cluster:
Login to your compass server.
Run . ~/.virtualenvs/compass-core/bin/activate to set up the
virtual environment.
Go to compass-core directory and run ./bin/refresh.sh to clean
database and restart services.
As you can see from the image below, it will recommend you to run
several commands to do the specifically clean. Run the commands
as needed.
18 of 18
09-03-2016 22:02