ScaleXtreme Support Forum/Documentation/Library

The Script Library

ScaleXtreme Support
posted this on December 28, 2011 03:22 pm

Contents

The Script Library

The Script Library is the center of ScaleXtreme's script management environment. Here is where you access, view, and perform actions (edit, run, publish, delete, etc.) on scripts available for use across your system. The Script Library consists of several folders containing your scripts and categorized as follows:

  • My Scripts: The My Scripts folder contains scripts that you have created inside the Library or uploaded to the system. It also contains identical copies of all scripts downloaded from the Scalextreme App Store, which are also stored in the Purchased Scripts folder.
  • Org Scripts: The Org Scripts folder contains scripts uploaded by other members of the same "organization" (i.e., users who have permission to access and manage servers through the same account).
  • Shared Scripts: The Shared Scripts folder contains scripts that have been shared by other ScaleXtreme users.
  • Purchased Scripts: The Purchased folder contains scripts downloaded from the ScaleXtreme App Store.
  • My Templates: The My Templates folder contains templates you have created that launch pre-configured instances on cloud provider accounts with scripts included that execute on the instance when it is launched.
  • Purchased Templates: The Purchased Templates folder contains all server templates that you download from the Templates section of the App Store. You can download a variety of pre-configured server templates  that deploy a ready-to-use LAMP server on your cloud provider account -- EC2, Rackspace, etc.
  • App Store: The ScaleXtreme App Store contains a wide variety of scripts that you can purchase for popular open source applications, stacks, and libraries. Scripts are available for both Linux and Windows platforms. Scripts downloaded from the App Store appear in both the Purchased Scripts folder and My Scripts folder.

 

screenshot-script_library_new.png

 

Viewing Script Details

To view script details, click on the script in the Script Library. This opens the Script Details window, which displays the script's code, along with information about the script, including name, type, tags, and a description.

screenshot-scriptdetails2.png

 

Performing Actions on Scripts

The Script Details window also includes a set of function buttons in the upper right corner which you can use to perform various actions on your scripts, including Edit, Run Script, Publish, and Delete, as follows: 

  • Edit: The Edit button brings up the Edit Script window, where you can modify and save new version of your scripts. Note that ScaleXtreme has full versioning support, thus, when you edit and save a script, a new version of the script is created. You can access all previous versions of a script via the Version pull-down menu.
  • Run Script: The Run Script button brings up the Run Script wizard, where you can select target machines and automate your scripts to run on a recurring basis at regular intervals.
  • Publish: The Publish button lets you publish you scripts to the App Store. When you publish a script, ScaleXtreme prompts you for a category (i.e., Linux or Windows) for you script. Note that currently all scripts published to the App Store are available for free download. 
  • Delete: The Delete button permanently deletes a script from your system. Deleting a script deletes any and all saved versions of the script as well. Note however that anyone who has purchased a deleted script from the App Store will retain a valid copy of the script.