2013-01-31 18:26:38 +00:00
|
|
|
Create Server
|
|
|
|
=============
|
|
|
|
|
2018-09-06 14:38:16 -07:00
|
|
|
The commands in this section should be run as root.
|
2016-09-15 14:21:26 -07:00
|
|
|
|
2012-10-09 20:28:07 +00:00
|
|
|
To launch a node in the OpenStack CI account (production servers)::
|
|
|
|
|
2016-03-09 11:04:02 -06:00
|
|
|
export OS_CLOUD=openstackci-rax
|
2016-09-15 16:24:08 -05:00
|
|
|
export OS_REGION_NAME=DFW
|
2013-12-18 10:56:05 -08:00
|
|
|
export FLAVOR="8 GB Performance"
|
2016-05-23 19:42:18 +00:00
|
|
|
export FQDN=servername01.openstack.org
|
2018-08-16 18:56:30 -05:00
|
|
|
cd /opt/system-config/launch/
|
2016-03-09 11:04:02 -06:00
|
|
|
./launch-node.py $FQDN --flavor "$FLAVOR" \
|
2016-09-15 16:24:08 -05:00
|
|
|
--cloud=$OS_CLOUD --region=$OS_REGION_NAME
|
2012-10-09 20:28:07 +00:00
|
|
|
|
|
|
|
Manually add the hostname to DNS (the launch script does not do so
|
2018-09-06 14:38:16 -07:00
|
|
|
automatically, but it prints the commands to run).
|
2012-10-09 20:28:07 +00:00
|
|
|
|
2015-04-24 12:36:17 -07:00
|
|
|
In order for Ansible to be able to send out the Puppet updates,
|
|
|
|
you also need the puppetmaster to accept the root SSH key for the
|
2018-09-06 14:38:16 -07:00
|
|
|
new server. So as root on bridge.openstack.org:
|
2015-04-24 12:36:17 -07:00
|
|
|
|
|
|
|
ssh root@$FQDN
|
|
|
|
|
|
|
|
Verify the fingerprint of the new server and type "yes" to accept.
|
|
|
|
Then you can log out.
|
|
|
|
|
2013-01-31 18:26:38 +00:00
|
|
|
Add DNS Records
|
|
|
|
===============
|
2012-10-09 20:28:07 +00:00
|
|
|
|
2013-01-16 19:11:44 +00:00
|
|
|
There are no scripts to automatically handle DNS at the moment due to
|
|
|
|
a lack of library support for the new Rackspace Cloud DNS (with IPv6).
|
|
|
|
However, the launch-node script will print the commands needed to be
|
|
|
|
run to configure DNS for a newly launched server. To see the commands
|
|
|
|
for an existing server, run:
|
|
|
|
|
|
|
|
./dns.py $FQDN
|