HP High Performance LC Cluster series Instrukcja Instalacji Strona 132

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 131
z
single local to single local
% clcp src dst
z
single local to multiple local
%
clcp src dst.%h
z
single local to multiple remote
% clcp src dst:%h or clcp src cluster-group:dst
z
multiple local to multiple remote
% clcp src dst.%h %h:dst
z
multiple remote to multiple local
% clcp %h:src dst.%h
Examples
1. Assume that the file /etc/checklist needs to be updated on all HP hosts. Also
assume that this file is different on all hosts. The following is a way in
which this can be done:
% clcp %h:/etc/checklist checklist.%h
%
vi checklist.*
Make necessary changes.
% clcp checklist.%h %h:/etc/checklist
If the CLUSTER environment variable was defined as host0+host1, then
the above would map to:
% rcp host0:/etc/checklist checklist.host0
%
rcp host1:/etc/checklist checklist.host1
% vi checklist.host0 checklist.host1
% rcp checklist.host0 host1:/etc/checklist
%
rcp checklist.host1 host2:/etc/checklist
2. Another way to do the same thing using "%c" instead of "%h" is:
% clcp %h:/etc/checklist checklist.%c
%
vi checklist.*
Przeglądanie stron 131
1 2 ... 127 128 129 130 131 132 133 134 135 136 137 ... 172 173

Komentarze do niniejszej Instrukcji

Brak uwag