Difference: InstallingAndConfiguringCloudController (1 vs. 8)

Revision 82012-11-21 - MatteoManzali

Line: 1 to 1
 
META TOPICPARENT name="GestioneServiziGenerali.GestioneOpenstack"

Installazione configurazione del Cloud Controller

Line: 44 to 44
 
yum install scsi-target-utils
Added:
>
>
  • Inserire alla fine del file /etc/tgt/targets.conf la riga:
    include /var/lib/nova/volumes/*
    
 
  • Far partire il servizio:
    service tgtd start

Revision 72012-11-21 - MatteoManzali

Line: 1 to 1
 
META TOPICPARENT name="GestioneServiziGenerali.GestioneOpenstack"

Installazione configurazione del Cloud Controller

Line: 42 to 42
 

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:

Changed:
<
<
yum install iscsi-initiator-utils
>
>
yum install scsi-target-utils
 
  • Far partire il servizio:

Revision 62012-10-22 - EnricoFattibene

Line: 1 to 1
Changed:
<
<
META TOPICPARENT name="GestioneOpenstack"
>
>
META TOPICPARENT name="GestioneServiziGenerali.GestioneOpenstack"
 

Installazione configurazione del Cloud Controller

Changed:
<
<

Configurare il DB MySQL sul Cloud Controller

>
>

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".
Line: 16 to 16
  Dove <YOUR_NOVADB_PASSWORD> è la password scelta per l'utente "nova" del DB.
Changed:
<
<

Installare il Cloud Controller

>
>

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.
    # yum install openstack-utils memcached qpid-cpp-server
Line: 34 to 35
 


Changed:
<
<

Aggiungere nova tra gli utenti sudoers:

>
>

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 .


Changed:
<
<

Installare e impostare l'avvio automatico dei servizi legati a ISCSI

>
>

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:
    yum install iscsi-initiator-utils
Line: 55 to 56
 

-- PaoloVeronesi - 2012-08-31

Added:
>
>
META TOPICMOVED by="EnricoFattibene" date="1350915147" from="GestioneServiziGenerali.InstallingAndConfiguringCloudController" to="MarcheCloud.InstallingAndConfiguringCloudController"

Revision 52012-10-17 - MatteoManzali

Line: 1 to 1
 
META TOPICPARENT name="GestioneOpenstack"

Installazione configurazione del Cloud Controller

Changed:
<
<

Configurare il DB MySQL sul Cloud Controller

>
>

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".
Line: 16 to 16
  Dove <YOUR_NOVADB_PASSWORD> è la password scelta per l'utente "nova" del DB.
Changed:
<
<

Installare il Cloud Controller

>
>

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.
    # yum install openstack-utils memcached qpid-cpp-server
Line: 33 to 33
 
Added:
>
>

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 .


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:
    yum install iscsi-initiator-utils
    
  • Far partire il servizio:
    service tgtd start
    
  • Settare l'avvio automatico:
    chkconfig tgtd on
    


 -- PaoloVeronesi - 2012-08-31 \ No newline at end of file

Revision 42012-10-11 - EnricoFattibene

Line: 1 to 1
 
META TOPICPARENT name="GestioneOpenstack"

Installazione configurazione del Cloud Controller

Line: 19 to 19
 

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.

Changed:
<
<
# sudo yum install openstack-utils memcached qpid-cpp-server
>
>
# yum install openstack-utils memcached qpid-cpp-server
 

  • Installare i pacchetti di nova e le dipendenze verranno installate automaticamente:

Revision 32012-10-11 - EnricoFattibene

Line: 1 to 1
 
META TOPICPARENT name="GestioneOpenstack"
Changed:
<
<

Installing and Configuring the Cloud Controller

>
>

Installazione configurazione del Cloud Controller

 
Changed:
<
<

Configuring the SQL Database (MySQL) on the Cloud Controller

  • Start the mysql command line client by running: mysql -u root -p. Enter the mysql root user's password when prompted.
  • To configure the MySQL database, create the nova database. mysql> CREATE DATABASE nova;
  • Create a MySQL user and password for the newly-created nova database that has full control of the database.
>
>

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".
 
Changed:
<
<
mysql> GRANT ALL ON nova.* TO 'nova'@'%' IDENTIFIED BY '[YOUR_NOVADB_PASSWORD]'; mysql> quit
>
>
mysql> CREATE DATABASE nova;
 
Added:
>
>
  • Creare l'utente "nova" che ha completo accesso al DB appena creato.
    mysql> GRANT ALL ON nova.* TO 'nova'@'%' IDENTIFIED BY '<YOUR_NOVADB_PASSWORD>';
    
    Dove <YOUR_NOVADB_PASSWORD> è la password scelta per l'utente "nova" del DB.
 
Changed:
<
<

Installing the Cloud Controller

  • Install the messaging queue server. The OpenStack services talk to each other using AMQP (Advanced Message Queue Protocol) by communicating with a message server. On Fedora, RHEL, and CentOS, the most tested messaging server is Apache Qpid. Refer to the Compute Administration Manual for configuration instructions, including adding rpc_backend=nova.rpc.impl_qpid to your nova.conf.

sudo yum install openstack-utils memcached qpid-cpp-server

>
>

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.
    # sudo yum install openstack-utils memcached qpid-cpp-server
    
 
Changed:
<
<
  • Install the required nova- packages, and dependencies are automatically installed.
sudo yum install openstack-nova
>
>
  • Installare i pacchetti di nova e le dipendenze verranno installate automaticamente:
    # yum install openstack-nova
    
 
Changed:
<
<
  • Start Qpid service: /etc/init.d/qpidd start
>
>
  • Far partire il servizio Qpid:
    # /etc/init.d/qpidd start
    
  -- PaoloVeronesi - 2012-08-31 \ No newline at end of file

Revision 22012-08-31 - PaoloVeronesi

Line: 1 to 1
 
META TOPICPARENT name="GestioneOpenstack"

Installing and Configuring the Cloud Controller

Line: 13 to 13
 

Installing the Cloud Controller

Changed:
<
<
Install the messaging queue server. The OpenStack services talk to each other using AMQP (Advanced Message Queue Protocol) by communicating with a message server.

On Fedora, RHEL, and CentOS, the most tested messaging server is Apache Qpid. Refer to the Compute Administration Manual for configuration instructions, including adding rpc_backend=nova.rpc.impl_qpid to your nova.conf.

>
>
  • Install the messaging queue server. The OpenStack services talk to each other using AMQP (Advanced Message Queue Protocol) by communicating with a message server. On Fedora, RHEL, and CentOS, the most tested messaging server is Apache Qpid. Refer to the Compute Administration Manual for configuration instructions, including adding rpc_backend=nova.rpc.impl_qpid to your nova.conf.
  sudo yum install openstack-utils memcached qpid-cpp-server
Changed:
<
<
Install the required nova- packages, and dependencies are automatically installed.
>
>
  • Install the required nova- packages, and dependencies are automatically installed.
 sudo yum install openstack-nova
Added:
>
>
  • Start Qpid service: /etc/init.d/qpidd start
 -- PaoloVeronesi - 2012-08-31

Revision 12012-08-31 - PaoloVeronesi

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="GestioneOpenstack"

Installing and Configuring the Cloud Controller

Configuring the SQL Database (MySQL) on the Cloud Controller

  • Start the mysql command line client by running: mysql -u root -p. Enter the mysql root user's password when prompted.
  • To configure the MySQL database, create the nova database. mysql> CREATE DATABASE nova;
  • Create a MySQL user and password for the newly-created nova database that has full control of the database.
mysql> GRANT ALL ON nova.* TO 'nova'@'%' IDENTIFIED BY '[YOUR_NOVADB_PASSWORD]';
mysql> quit

Installing the Cloud Controller

Install the messaging queue server. The OpenStack services talk to each other using AMQP (Advanced Message Queue Protocol) by communicating with a message server.

On Fedora, RHEL, and CentOS, the most tested messaging server is Apache Qpid. Refer to the Compute Administration Manual for configuration instructions, including adding rpc_backend=nova.rpc.impl_qpid to your nova.conf.

sudo yum install openstack-utils memcached qpid-cpp-server

Install the required nova- packages, and dependencies are automatically installed. sudo yum install openstack-nova

-- PaoloVeronesi - 2012-08-31

 
This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback