시작하기 전에
이 절차에서는 장문형 Oracle Solaris Cluster 명령을 제공합니다. 대부분의 명령에는 단문형도 있습니다. 명령 이름의 형태를 제외하면 명령은 동일합니다.
이 절차를 수행하려면 solaris.cluster.read 및 solaris.cluster.modify RBAC(역할 기반 액세스 제어) 권한 부여를 제공하는 root 역할을 수행합니다.
# clrg create -p RG_mode=Scalable \ -p Desired_primaries=num_active_primary \ -p Maximum_primaries=max_num_active_primary scalmp-rg
# clrt register SUNW.ScalMountPoint
# clrs create -g scalmp-rg -t SUNW.ScalMountPoint \ -p TargetFileSystem=nas_device:path \ -p FileSystemType=nas \ -p MountPointDir=fs_mountpoint scalmp-rs
# clrg online -eM scalmp-rg
# clrg create -p rg_affinities=++scalmp-rg app-fo-rg
페일오버 응용 프로그램 리소스 그룹은 Step 1에서 만든 리소스 그룹에 대해 강한 긍정적 유사성을 가져야 합니다.
# clrt register app_resource_type
# clrs create -g app-fo-rg -t app_resource_type \ -p Resource_dependencies_offline_restart=scalmp-rs \ ... app-fo-rs
페일오버 응용 프로그램 리소스는 Step 1에서 만든 ScalMountPoint 리소스에 대해 오프라인 다시 시작 종속성을 가져야 합니다.
# clrg online -eM app-fo-rg