ADVERTISEMENT

purehost commands

List and manage Host objects

[ view all commands ]

  • purehost connect MY-SERVER-001 --vol MY_VOL_001
    Connect volume MY_VOL_001 to host MY-SERVER-001. This will Provide the R/W access to the volume.Next available lun address will used by default.
  • purehost connect MY-SERVER-001 --vol MY_VOL_001 --lun 10
    Connect volume MY_VOL_001 to host MY-SERVER-001 and assign LUN id 10. This will Provide the R/W access to the volume.
  • purehost connect MY-SERVER-001 MY-SERVER-002 --vol MY_VOL_001
    Connect volume MY_VOL_001 to hosts MY-SERVER-001 and MY-SERVER-002
  • purehost create MY-SERVER-001
    Create a host object called MY-SERVER-001. HBA wwns can be added later using purehost setattr command.
  • purehost create MY-SERVER-001 --wwnlist 1000000000000001,10:00:00:00:00:00:00:01
    Create a host object called MY-SERVER-001 and add HBA wwns to it
  • purehost create MY-SERVER-001 MY-SERVER-002
    Create hosts MY-SERVER-001 and MY-HOST-002
  • purehost delete MY-SERVER-001
    Delete host MY-SERVER-001
  • purehost delete MY-SERVER-001 MY-SERVER-002
    Delete hosts MY-SERVER-001 MY-SERVER-002
  • purehost disconnect MY-SERVER-001 --vol MY_VOL_001
    Disconnect volume MY_VOL_001 from host MY-SERVER-001. This will remove the visibility of the volume to the host.
  • purehost disconnect MY-SERVER-001 MY-SERVER-002 --vol MY_VOL_001
    Disconnect volume MY_VOL_001 from hosts MY-SERVER-001 and MY-SERVER-002
  • purehost rename MY-SERVER-001 YOUR-SERVER-001
    Rename host MY-SERVER-001 to YOUR-SERVER-001
  • purehost setattr MY-SERVER-001 --addwwnlist 1000000000000003
    Add new HBA wwn 1000000000000003 to host MY-HOST-001. 1000000000000003 should not be part of any other host.
  • purehost setattr MY-SERVER-001 --remwwnlist 1000000000000003
    Remove HBS wwn 1000000000000003 from host MY-SERVER-001
  • purehost setattr MY-SERVER-001 --wwnlist ""
    Remove all wwns from MY-HOST-001
  • purehost setattr MY-SERVER-001 --wwnlist 1000000000000003
    Update the contents of an existing host with new wwn 1000000000000003
  • purevol connect MY_VOL_001 --host MY-SERVER-001
    Connect volume MY_VOL_001 to host MY-SERVER-001. This will Provide the R/W access to the volume.Next available lun address will used by default.
  • purevol connect MY_VOL_001 --host MY-SERVER-001 --lun 10
    Connect volume MY_VOL_001 to host MY-SERVER-001 and assign LUN id 10. This will Provide the R/W access to the volume.
  • purevol disconnect MY_VOL_001 --host MY-SERVER-001
    Disconnect volume MY_VOL_001 from host MY-SERVER-001. This will remove the visibility of the volume to the host.