适用于 Oracle Real Application Clusters 的 Oracle® Solaris Cluster 数据服务指南

退出打印视图

更新时间: 2014 年 7 月,E52258–01
 
 

如何删除 sun.resource 资源

  1. 承担 root 角色。
  2. 确保已删除依赖性(如如何删除依赖性中所述)并且已停止 sun.resource
    # Grid_home/bin/crsctl stop res sun.scal-dg1-rs
    CRS-2673: Attempting to stop 'sun.scal-dg1-rs' on 'pnsx3'
    CRS-2673: Attempting to stop 'sun.scal-dg1-rs' on 'pnsx1'
    CRS-2673: Attempting to stop 'sun.scal-dg1-rss' on 'pnsx2'
    CRS-2677: Stop of 'sun.scal-dg1-rs' on 'pnsx3' succeeded
    CRS-2677: Stop of 'sun.scal-dg1-rs' on 'pnsx1' succeeded
    CRS-2677: Stop of 'sun.scal-dg1-rs' on 'pnsx2' succeeded
  3. 删除 sun.resource
    # Grid_home/bin/crsctl delete res sun.scal-dg1-rs
  4. 检验是否已删除 sun.resource
    # Grid_home/bin/crsctl stat res sun.scal-dg1-rs -p
    CRS-210: Could not find resource 'sun.scal-dg1-rs'.