HPUXlogo

Petite procédure rapide de déréférencement de VDEV sur un serveur HP-UX 11.11.

Après avoir démaské des VDEVS manuellement en CLI ou sur votre serveur ECC il convient de mettre à jour le serveur HP-UX afin que Powerpath et les agents locaux ne tentent plus d’y accéder.

Pour cela la procédure est la suivante :

Découverte des devices :

# ioscan –fn

Création des fichiers spéciaux :

# insf –e

Mise à jour de la Base des devices vus par le serveur :

# symcfg discover

Listing des devices :

# sympd list

Mise à jour des devices vus par Powerpath :

# powermt config

Affichage des devices vu par Powerpath :

# powermt display dev=all

Suppression des devices marqués « dead »

#powermt check
Warning: Symmetrix device path c****** is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c****** is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c****** is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c****** is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c****** is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c****** is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c****** is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c****** is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c****** is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c****** is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c****** is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c****** is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c****** is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c****** is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c****** is currently dead.
Do you want to remove it (y/n/a/q)? y

Mise à jour de la base des devices vus par Powerpath :

#powermt config

Sauvegarde des opérations pour un éventuel retour arrière (powermt restore) :

#powermt save

Affichage des devices vu pas powerpath :

# powermt display dev=all

Si rien ne s’affiche : (OK VDEV supprimés)