ADVERTISEMENT

symcg commands

Perform operations on a symmetrix Composite Group( CG )

[ view all commands ]

  • symcg -cg TestCg copy ld DEV002 DevCg
    Copy the ldev DEV002 from composite group TestCg to another composite group called DevCg
  • symcg -cg TestCg -sid 1234 add dev 000ABC
    Add symdev 000ABC on array 1234 to the composite group TestCg
  • symcg -cg TestCg -sid 1234 add dev 000ABD DEV005
    Add symdev 000ABD on array 1234 to the composite group TestCg and assign ldev name as DEV005
  • symcg -cg TestCg -sid 1234 add dg TestDg
    Add a device group TestDg to the composite group TestCg
  • symcg -cg TestCg -sid 1234 addall dev
    Add all the symdevs from array 1234 to composite group TestCg
  • symcg -cg TestCg -sid 1234 addall pd
    Add all the physical devices visible to the host(not member of another composite group) from array 1234 to composite group TestCg
  • symcg -cg TestCg -sid 1234 remove dg TestDg
    Remove a device group TestDg from the composite group TestCg
  • symcg -cg TestCg -sid 1234 rmall pd
    Remove all the physical devices visible to the host on array 1234 from composite group testCg
  • symcg -cg TestCg add pd PHYSICALDRIVE10
    Add physical device PHYSICALDRIVE10 to the TestCg
  • symcg -cg TestCg add pd PHYSICALDRIVE10 DEV003
    Add physical device PHYSICALDRIVE10 to the TestCg and assign the ldev name as DEV003
  • symcg -cg TestCg copyall -noRDF DevCg
    Copy all the non SRDF devices from composite group TestCg to another coposite group called DevCg
  • symcg -cg TestCg copyall -R1 DevCg
    Copy all the R1 devices from composite group TestCg to another coposite group called DevCg
  • symcg -cg TestCg copyall -R2 DevCg
    Copy all the R2 devices from composite group TestCg to another coposite group called DevCg
  • symcg -cg TestCg copyall DevCg
    Copy all the devices from composite group TestCg to another coposite group called DevCg
  • symcg -cg TestCg copyall DevCg -rename
    Copy all the devices from composite group TestCg to another coposite group called DevCg and assign new name from each ldev
  • symcg -cg TestCg disable
    Disable RDF consistency for all the devices in composite group TestCg
  • symcg -cg TestCg enable
    Enable RDF consistency for all the devices in composite group TestCg
  • symcg -cg TestCg move ld DEV002 DevCg
    Move the ldev DEV002 from composite group TestCg to another composite group called DevCg
  • symcg -cg TestCg moveall -noRDF DevCg
    Move all the non SRDF devices from composite group TestCg to another coposite group called DevCg
  • symcg -cg TestCg moveall -R1 DevCg
    Move all the R1 devices from composite group TestCg to another coposite group called DevCg
  • symcg -cg TestCg moveall -R2 DevCg
    Move all the R2 devices from composite group TestCg to another coposite group called DevCg
  • symcg -cg TestCg moveall DevCg
    Move all the devices from composite group TestCg to another coposite group called DevCg
  • symcg -cg TestCg moveall DevCg -rename
    Move all the devices from composite group TestCg to another coposite group called DevCg and assign new name from each ldev
  • symcg -cg TestCg not_ready DEV001
    Change the status of ldev DEV001 to Not Ready in composite group TestCg
  • symcg -cg TestCg read DEV001
    Change the status of ldev DEV001 to Ready in composite group TestCg
  • symcg -cg TestCg remove ld DEV002
    Remove ldev DEV002 from composite group TestCg
  • symcg -cg TestCg rename ld DEV001 DEV100
    Rename ldev DEV001 to DEV100 in composite group TestCg
  • symcg -cg TestCg rw_enable DEV001
    Read Write enable the ldev DEV001 in composite group TestCg
  • symcg -cg TestCg write_disable DEV001
    Write disable the ldev DEV001 in composite group TestCg
  • symcg create TestCg
    Create a regular composite group called TestCg
  • symcg create TestCg -type ANY
    Create a composite group called TestCg on which any types of devices can be included
  • symcg create TestCg -type R1
    Create a R1 composite group called TestCg
  • symcg create TestCg -type R2
    Create a R2 composite group called TestCg
  • symcg create TestCg -type R21
    Create a R21 composite group called TestCg
  • symcg create TestCg -type REGULAR
    Create a regular composite group called TestCg
  • symcg delete TestCg
    Delete the empty composite group TestCg
  • symcg delete TestCg -force
    Delete the composite group TestCg even it has some member devices
  • symcg export TestCg -file TestCgBackup.txt
    Export the contents of composite group TestCg to the text file TestCgBackup.txt , which can be later be used to import the composite group
  • symcg exportall TestCg -file AllCgsBackup.txt
    Export the contents of all the composite groups to the text file AllCgsBackup.txt , which can be later be used to import the composite groups
  • symcg import TestCg -file TestCgBackup.txt
    Import the contents of composite group TestCg from the text file TestCgBackup.txt , that was created earlier by export action
  • symcg importall TestCg -file AllCgsBackup.txt
    Imports all composite groups from the text file AllCgsBackup.txt , that was created earlier by exportall action
  • symcg list
    List all the composite groups defined
  • symcg list -v
    List the details of all composite groups defined
  • symcg rename OldCg NewCg
    Rename composite group OldCg to NewCg
  • symcg show TestCg
    Show detailed information about the composite group TestCg