Guide d'administration système de Sun Cluster 3.0

5.1.3.1 Exemple : dépose d'un câble ou d'un adaptateur de transport

L'exemple suivant montre comment déposer un câble ou un adaptateur de transport à l'aide de la commande scsetup.


[Devenez superutilisateur sur un noeud du cluster.]

[Exécutez l'utilitaire scsetup.]

# scsetup

[Choisissez l'option 2 :]

*** Main Menu ***

    Please select from one of the following options:

    ...

      2) Cluster interconnect

    ...    Option: 2

[Choisissez l'option 4 pour déposer un câble :]

*** Cluster Interconnect Menu ***

    Please select from one of the following options:

    ...

      4) Remove a transport cable

    ...

    Option: 4

[Entrez les informations demandées :]

>>> Remove a Cluster Transport Cable <<<

    ...

    Is it okay to continue (yes/no) [yes]? <Retour>	.

    ...

    To which node is the cable attached? phys-schhost-2

    Name of the adapter on "phys-schost-2"? qfe-0

    Is it okay to proceed with the update (yes/no) [yes]? <Retour>	.

scconf -a -m endpoint=phys-schost-2:hme1,endpoint=hub0

    Command completed successfully.    Hit ENTER to continue: <Retour>

[Choisissez l'option 5 pour déposer un adaptateur :]

*** Cluster Interconnect Menu ***

    Please select from one of the following options:

    ...

      5) Remove a transport adapter from a node

    ...

    Option: 5

[Entrez les informations demandées :]

>>> Remove a Cluster Transport Adapter <<<

    ...

    Is it okay to continue (yes/no) [yes]? <Retour>	.

    ...

    To which node is the cable attached? phys-schhost-2

    Name of the adapter on "phys-schost-2"? qfe-0

    Is it okay to proceed with the update (yes/no) [yes]? <Retour>	.

 

scconf -r -m endpoint=phys-schost-2:hme1

 

    Command completed successfully.    Hit ENTER to continue: <Retour>

[Vérifiez que le câble ou l'adaptateur sont bien déposés :]

# scconf -p | grep cable

  Transport cable:   phys-schost-2:qfe0@1 ethernet-1@2    Enabled

  Transport cable:   phys-schost-3:qfe0@1 ethernet-1@3    Enabled

  Transport cable:   phys-schost-1:qfe0@0 ethernet-1@1    Enabled

# scconf -p | grep adapter

  Node transport adapters:   qfe2 hme1 qfe0

  Node transport adapter:   qfe0

  Node transport adapters:   qfe0 qfe2 hme1

  Node transport adapter:   qfe0

  Node transport adapters:   qfe0 qfe2 hme1

  Node transport adapter:   qfe0