Mise à jour du démon iSCSI

Publié le : 31 octobre 20233 mins de lecture

Cette partie détaille la mise à jour du démon iSCSI et être certain de ne pas avoir à rebooter le RPS en cas de problème sur le SAN. Et peut-être améliorer les performances du RPS en même temps :)

Connaitre la version

Le checksum est un moyen efficace pour vérifier la version installée. Sur mon RPS 1 issu de la Béta Test, je possédais une ancienne version :

md5sum /sbin/iscsid
7264c786fb8cce7cee787c3591d69bd2  /sbin/iscsid

Mettre à jour

Voici la ligne de commande à exécuter :

wget ftp://ftp.ovh.net//made-in-ovh/dedie/rps_beta/update-iscsi.sh -O update-iscsi.sh && /bin/bash update-iscsi.sh

A la fin, voici ce que l’on obtiens :

Starting iSCSI initiator service iscsid0
 Setting up iSCSI targetsiscsiadm: No records found!
 0
 86400

Vérification de la mise à jour

On vérifie que tout s’est bien passé :

grep iscsid /var/log/daemon.log

May 13 22:25:48 r10153 iscsid: iscsid shutting down.
May 13 22:25:48 r10153 iscsid: iSCSI logger with pid=5163 started!
May 13 22:25:49 r10153 iscsid: transport class version 2.0-870. iscsid version 2.0-870
May 13 22:25:49 r10153 iscsid: iSCSI daemon with pid=5164 started!
May 13 22:25:49 r10153 iscsid: Could not read data from db. Using default and currently negotiated values
May 13 22:25:52 r10153 iscsid: connection1:0 is operational after recovery (1 attempts)

La nouvelle version est donc installée et son checksum est :

md5sum /sbin/iscsid
db9b3a5a87457aa9c3489d59924da0f9  /sbin/iscsid

Un fichier contient le n° de la version :

cat /etc/iscsi/version
2.0-870

On regarde si le démon iSCSI s’est relancé correctement :

ps auwx | grep iscsid
 root      5163  0.0  0.0   1736   428 ?        Ss   22:25   0:00 /sbin/iscsid
 root      5164  0.0  0.5   2460  2460 ?        S<Ls 22:25   0:00 /sbin/iscsid
 root      9210  0.0  0.1   3316   680 pts/0    S+   22:48   0:00 grep iscsid


zoloft price uk price of zoloft in australia generic zoloft
amoxicillin no prescription cheap amoxil amoxicillin no prescription canada
buy amoxicillin at walmart
identified as a cosmological and oral beta-adrenergic buy atarax
3 Oct 2013 … Buying Medicine Atarax (hydroxyzine) 25 Mg | Buy Medication Without Prescription from Indian Pharmacy.
dapoxetine nedir
dapoxetine rxlist dapoxetine mexico dapoxetine reviews

Plan du site