44 Other Common Post-Installation Tasks #
44.1 Determining Your User Credentials #
On your Cloud Lifecycle Manager, in the
~/scratch/ansible/next/ardana/ansible/group_vars/
directory
you will find several files. In the one labeled as first control plane node
you can locate the user credentials for both the Administrator user
(admin
) and your Demo user (demo
)
which you will use to perform many other actions on your cloud.
For example, if you are using the Entry-scale KVM model and used
the default naming scheme given in the example configuration files, you can
use these commands on your Cloud Lifecycle Manager to grep
for your user
credentials:
Administrator
ardana >
grep keystone_admin_pwd entry-scale-kvm-control-plane-1
Demo
ardana >
grep keystone_demo_pwd entry-scale-kvm-control-plane-1
44.2 Configure your Cloud Lifecycle Manager to use the command-line tools #
This playbook will do a series of steps to update your environment variables for your cloud so you can use command-line clients.
Run the following command, which will replace /etc/hosts
on the Cloud Lifecycle Manager:
ardana >
cd ~/scratch/ansible/next/ardana/ansibleardana >
ansible-playbook -i hosts/verb_hosts cloud-client-setup.yml
As the /etc/hosts
file no longer has entries for Cloud Lifecycle Manager,
sudo commands may become a bit slower. To fix this issue, once
this step is complete, add "ardana" after "127.0.0.1 localhost". The result
will look like this:
... # Localhost Information 127.0.0.1 localhost ardana
44.3 Protect home directory #
The home directory of the user that owns the SUSE OpenStack Cloud 9 scripts should not be world readable. Change the permissions so that they are only readable by the owner:
ardana >
chmod 0700 ~
44.4 Back up Your SSH Keys #
As part of the cloud deployment setup process, SSH keys to access the
systems are generated and stored in ~/.ssh
on your
Cloud Lifecycle Manager.
These SSH keys allow access to the subsequently deployed systems and should be included in the list of content to be archived in any backup strategy.
44.5 Retrieving Service Endpoints #
Log in to your Cloud Lifecycle Manager.
Source the keystone admin credentials:
ardana >
unset OS_TENANT_NAMEardana >
source ~/keystone.osrcUsing the OpenStack command-line tool you can then query the keystone service for your endpoints:
ardana >
openstack endpoint listTipYou can use
openstack -h
to access the client help file and a full list of commands.
To learn more about keystone, see Section 5.1, “The Identity Service”.
44.6 Other Common Post-Installation Tasks #
Here are the links to other common post-installation tasks that either the Administrator or Demo users can perform: