Tags:
,
view all tags
---+!! Installazione configurazione del Cloud Controller %TOC% ---+++ Configurare il DB !MySQL sul Cloud Controller * Collegarsi a !MySQL da linea di comando con =mysql -u root -p= digitando la password di root. * Creare il DB "nova". <verbatim> mysql> CREATE DATABASE nova; </verbatim> * Creare l'utente "nova" che ha completo accesso al DB appena creato. <verbatim> mysql> GRANT ALL ON nova.* TO 'nova'@'%' IDENTIFIED BY '<YOUR_NOVADB_PASSWORD>'; </verbatim> Dove <YOUR_NOVADB_PASSWORD> è la password scelta per l'utente "nova" del DB. ---+++ Installare il Cloud Controller * Installare il server di messaging queue. I servizi !OpenStack comunicano tra di loro attraverso AMQP (Advanced Message Queue Protocol) usando un server di messaging. Su Fedora, RHEL e !CentOS il server di messaging maggiormente testato è Apache Qpid. <verbatim> # yum install openstack-utils memcached qpid-cpp-server </verbatim> * Installare i pacchetti di nova e le dipendenze verranno installate automaticamente: <verbatim> # yum install openstack-nova </verbatim> * Far partire il servizio Qpid: <verbatim> # /etc/init.d/qpidd start </verbatim> <pre></pre> <br /> ---+ Aggiungere nova tra gli utenti sudoers: * A causa di un bug, quando si prova ad eliminare un volume di Nova da Dashboard o da CLI, le risorse del sistema vengono monopolizzate dal processo gluster a causa dell'esecuzione di un dd sul volume che si intende cancellare. La causa scatenante è la non appartenenza dell'utente nova (utente con cui viene lanciato il dd) tra gli utenti sudoers. Per risolvere questo problema appendere la riga =nova ALL = (root) NOPASSWD: /bin/dd= al file =/etc/sudoers= . <br /> ---+ Installare e impostare l'avvio automatico dei servizi legati a ISCSI * Per poter fare l'attach di un volume nova ad l'instanza di una macchina virtuale è necessario installare ed avviare il servizio =yum install scsi-target-utils= sul Cloud Controller. Controllare quindi che sia installato attraverso il seguente comando: <verbatim> yum install iscsi-initiator-utils </verbatim> * Far partire il servizio: <verbatim> service tgtd start </verbatim> * Settare l'avvio automatico: <verbatim> chkconfig tgtd on </verbatim> <br /> -- Main.PaoloVeronesi - 2012-08-31
Edit
|
Attach
|
PDF
|
H
istory
:
r8
<
r7
<
r6
<
r5
<
r4
|
B
acklinks
|
V
iew topic
|
More topic actions...
Topic revision: r5 - 2012-10-17
-
MatteoManzali
Home
Site map
CEMon web
CREAM web
Cloud web
Cyclops web
DGAS web
EgeeJra1It web
Gows web
GridOversight web
IGIPortal web
IGIRelease web
MPI web
Main web
MarcheCloud web
MarcheCloudPilotaCNAF web
Middleware web
Operations web
Sandbox web
Security web
SiteAdminCorner web
TWiki web
Training web
UserSupport web
VOMS web
WMS web
WMSMonitor web
WeNMR web
MarcheCloud Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Edit
Attach
Copyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback