Tuesday, April 3, 2012

Oracle 11g Release 2: SRVCTL commands PART 6 [SCAN]

SRVCTL command for SCAN(Single Client Access Name):

To Add a SCAN
  • srvctl add scan -n nodename
  • srvctl add scan -n linuxrac01
To Remove a SCAN
  • srvctl remove scan [-f]
Note: Below command is using ordinal_number parameter so An ordinal number is that identifies which SCAN VIP you want to start. The range of values you can specify for this option is 1 to 3.

To Start a SCAN
  • srvctl start scan [-i ordinal_number] [-n node_name]
  • srvctl start scan -i 1 -n linuxrac01
To Stop a SCAN
  • srvctl stop scan [-i ordinal_number] [-f]
  • srvctl stop scan -i 1
To Check status of SCAN
  • srvctl status scan [-i ordinal_number]
  • srvctl status scan -i 1
To Enable a SCAN
  • srvctl enable scan [-i ordinal_number]
  • srvctl enable scan -i 1
To Disable a SCAN
  • srvctl disable scan [-i ordinal_number]
  • srvctl disable scan -i 3
To Configure a SCAN
  • srvctl config scan [-i ordinal_number]
  • srvctl config scan -i 2
To Modify SCAN
  • srvctl modify scan -n scan_name
  • srvctl modify scan -n SCAN1
To Relocate a SCAN
  • srvctl relocate scan -i ordinal_number [-n node_name]
  • srvctl relocate scan -i 2 -n linuxrac02
Keep watching.. Still other parts of SRVCTL commands are yet to come

No comments:

Post a Comment