Administer > SA Provisioning > Create new SA build plans > Should I use server scripts or OGFS scripts?

Should I use server scripts or OGFS scripts?

When creating new scripts, you must choose between a server script or an OGFS script. Both scripts can manipulate files and run commands on the target server. This overlapping functionality can make it difficult to decide which to use. Typically, Server scripts are preferable since distributing work across target servers, rather than doing the work from the SA Core, results in scalable and fast Build Plans since the resources of the target server are used and network round trips are minimized. Since OGFS scripts run on the SA Core, the load on the SA Core increases as the number of target servers increases, and you would need to scale the SA infrastructure in order to scale with OGFS scripts.

For example, if you find that you need more access to the UAPI than is allowed from a target server, you will need to use OGFS scripts.

Script types

Script Type

Run Location

Scalability

UAPI Access

OGFS Script

SA Core

Scales with SA infrastructure

Full: permissions inherited from the user that runs the Build Plan.

Server Script

Local Server

Scales with target servers

Limited: basic operations on the target server