Registering the Recipe Scripts
The Big Data Protector provides the following recipe scripts:
BDP_Pre-Service-Deployment_Recipe_<BDP_version>.sh- downloads the Big Data Protector CSD and parcels from the S3 bucket to the Cloudera Manager local CSD and Parcel repository before the Cloudera Manager server starts.BDP_Post-Cloudera-Manager-Start_Recipe_<BDP_version>.sh- runs after the Cloudera Manager Server starts. It creates and executes the secondary scripts as background processes for each available Protegrity Parcel. The background processes will check when the Cloudera Manager Server API endpoint would be open and then sends the requests to distribute and activate thePTY_BDP,PTY_CERT, andPTY_LOGFORWARDER_CONF(if present) parcels.
By default, the execution logs for the Recipe scripts can be found in the /var/log/recipes/ directory. The execution logs of the secondary scripts (executing in the background) can be found in the /tmp/protegrity/ directory.
To register each recipe script:
- Log in to the Cloudera Management Console.
- Navigate to Shared Resources > Recipes. The Recipes page appears.
- Click Register Recipe. The Register Recipe page appears.
- In the Name box, enter a name to identify the recipe script.
- From the Type list, select the required recipe script type. Note: You must register both the pre-service-deployment-recipe and post-cloudera-manager-start recipe scripts.
- Enter the optional recipe description.
- Select the File option to upload the file, to the Cloudera manager UI, that contains the recipe script.
Note: To upload the pre-service-deployment-recipe script, select theBDP_Pre-Service-Deployment_Recipe_<BDP_version>.shscript. To upload the post-cloudera-manager-start recipe script, select theBDP_Post-Cloudera-Manager-Start_Recipe_<BDP_version>.shscript. - Click Register.
Feedback
Was this page helpful?