Sync Service
From UGP-Wiki
The Sync Service syncronizes the databases between the Campus Grid Portals and the higher-level Grid Portal in real time. Basically, when the administrator of one of the Campus Grid Portals adds a cluster resource to the Campus Grid or changes other information, the Sync Service updates the database in the higher-level Grid Portal, in this case the UC Grid Portal, accordingly.
In order to connect the Campus Grid Portal to the Sync Service at the higher-level Grid, you need to do the following:
- Install the sync Service on the same machine as the CA at the higher-level Grid Portal.
-
Add the hostnames of all the Campus Grid Portals to the file:
RegisterService/queryPDP/src/org/ucla/sync/hostlist.properties
- Have the central CA issue a host certificate for each of the Campus Grid Portals. The administrator of each Campus Grid Portal will install the certificate there in /etc/grid-security. In addition, the Campus Grid Portals have to trust the central CA. See the INSTALL instructions.
[edit] Sync Service actions
- updateUser
- Update user information such as Username, full name, email Address, organization. Disable or enable.
- deleteGridsphereUser
- Delete GridSphere account for that user from the higher-level Grid Portal.
- addTrustedCluster
- Add a trusted cluster.
- deleteTrustedCluster
- Delete a trusted cluster.
- modifyTrustedCluster
- Modify trusted cluster information.
- addClusterAccess
- Add cluster access to a user.
- deleteClusterAccess
- Delete a user's access to a specific cluster.
- addApplication
- Add an application to the Grid Portal's database and associate it with a cluster.
- deleteApplication
- Delete an application from a cluster.
- modifyApplication
- Modify application properties.
- addApplicationPool
- Add an applicaiton/pool association.
- deleteApplicaitonPool
- Delete an applicaiton/pool association.
- addPoolInfo
- Add pool information.
- deletePoolInfo
- Delete pool information.
- modifyPoolInfo
- Modify pool information.
- addPoolAccess
- Add pool access for a user.
- deletePoolAccess
- Delete pool access for a user.

