要为故障转移应用程序服务器注册和配置 Sun Cluster HA for SAP,请执行以下步骤:
成为运行应用程序服务器的群集中的某个节点上的超级用户。
为故障转移应用程序服务器注册资源类型。
# scrgadm -a -t SUNW.sap_as | SUNW.sap_as_v2 |
在故障转移资源组中创建 SAP 应用程序服务器资源。
# scrgadm -a -j sap-as-resource -g sap-as-fo-resource-group \ -t SUNW.sap_as | SUNW.sap_as_v2 \ -x SAPSID=SAPSID \ -x As_instance_id=as-instance-id \ -x As_startup_script=as-startup-script \ -x As_shutdown_script=as-shutdown-script |
有关扩展特性的列表,请参阅"配置 Sun Cluster HA for SAP 扩展特性"。
启用当前包含 SAP 应用程序服务器资源的故障转移资源组。
# scswitch -Z -g sap-as-fo-resource-group |