Hp XP Command View Advanced Edition Software Bedienungsanleitung Seite 290

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 318
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 289
Command line interface commands
290
4. Register a new host, assigning to it the WWNs that were deleted in step 2.
Command format:
hdvmcli AddHost "hostname=new-host-name" "wwnlist=WWN1,WWN2 ... "
Example of executing the command:
hdvmcli AddHost "hostname=HOST_C"
"wwnlist=11.11.11.11.11.11.11.11,22.22.22.22.22.22.22.22"
5. Check the WWNs for the new host that was registered in step 4.
Execute the GetHost command to confirm that the new host and its WWNs are registered
correctly.
Example of executing the command:
hdvmcli GetHost
Example of output from executing the command:
RESPONSE:
An instance of Host
objectID=*****
name=HOST_C
capacityInKB=3,403,440
hostType=-1
List of 2 WWN elements:
An instance of WWN
WWN=11.11.11.11.11.11.11.11
An instance of WWN
WWN=22.22.22.22.22.22.22.22
*****: The value is encoded by the CLI.
The following is an example of a script file coding the operations from (and including) step 2.
Table 4-144 Example of a script file (in Windows):
call hdvmcli ModifyHost "objectid=*****"
call hdvmcli ModifyHost "objectid=*****"
call hdvmcli DeleteHost "objectid=*****"
call hdvmcli DeleteHost "objectid=*****"
call hdvmcli AddHost "hostname=HOST_C"
"wwnlist=11.11.11.11.11.11.11.11,22.22.22.22.22.22.22.22"
*****: The values are encoded by the CLI.
Seitenansicht 289
1 2 ... 285 286 287 288 289 290 291 292 293 294 295 ... 317 318

Kommentare zu diesen Handbüchern

Keine Kommentare