Creating a scheduled Sync Remote User & Roles job using the OCCLI
It's a bit annoying that the "Sync Remote User and Roles" action in Ops Center isn't something that can be scheduled via the BUI, like the Library, Firmware and OCDoctor jobs. However, there is a way to do it using a crontab and a command available in the OCCLI.
1) Login to the EC where you need the Remote Sync to the Directory Server to occur and get to the OCCLI prompt. You'll use one of the OCCLI cmds to get the ds name as Ops Center reports it.
# /opt/SUNWoccli/bin/oc
xvmSh > connect
localhost > user
localhost/user > get_directory_servers
1) Login to the EC where you need the Remote Sync to the Directory Server to occur and get to the OCCLI prompt. You'll use one of the OCCLI cmds to get the ds name as Ops Center reports it.
# /opt/SUNWoccli/bin/oc
xvmSh > connect
localhost > user
localhost/user > get_directory_servers
0