Difference: InstallingAndConfiguringNova (21 vs. 22)

Revision 222012-10-17 - MatteoManzali

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

Installazione e configurazione del servizio Compute (Nova)

Line: 263 to 263
 
service iscsid force-start
Changed:
<
<
  • Settare l'avvio automatico:
>
>
  • Per settare l'avvio automatico:
    • Creare uno script /etc/rc.d/init.d/force-iscsid che possa far partire il servizio iscsid in maniera forzata:
 
Changed:
<
<
xxx
>
>
#!/bin/bash

# Source function library. . /etc/rc.d/init.d/functions

case "$1" in start) service iscsid force-start ;; stop) service iscsid stop ;; restart) service iscsid stop service iscsid force-start ;; status) service iscsid status ;; *) echo "Usage: force-iscsid {start|stop|restart|status}" exit 1 esac exit 0

    • Cambiare i diritti al file:
      chmod 755 /etc/rc.d/init.d/force-iscsid
      
    • Settare il default SELinux file context per lo script appena creato:
      # restorecon -R -v /etc/rc.d/init.d/force-iscsid
 


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