Automated O&M - Script Library

ZStack Cloud 5.2.0 introduces a new script library feature, which supports centralized management of script files and script execution on VMs with one-click.

New Script Library Page for Centralized Storage and Management of Automation Scripts

On the main menu of ZStack Cloud, choose Platform O&M > Automated O&M > Script O&M > Script Library. Then, the Script Library page appears. This page centrally stores automation script files and supporting script lifecycle managements, such as creating, modifying, and deleting scripts.

You can write script content in a visual manner and pass custom parameters flexibly. Currently, the following script types are supported:
  • Linux: Shell, Python, Perl
  • Windows: Bat, PowerShell
Figure 1. Script Library Page


Figure 2. Create a Script


Supports Script Execution on VMs for Automated O&M

You can execute the created scripts on VM instances with one click. By running the commands in the scripts, VMs can automate complex operations and maintenance tasks, reducing the need for manual intervention. A single script can be executed simultaneously across multiple VMs without interference, significantly enhancing operational efficiency in large-scale scenarios.

Additionally, ZStack Cloud provides detailed script execution records, helping you in operation trace and ensuring the platform security.

Figure 3. Execute Script on VM (Script Action List)


Figure 4. Execute Script on VM (VM Action List)


Figure 5. Script Execution Record



Automated O&M - XML Hook

ZStack Cloud 5.2.0 introduces a new XML Hook feature. The XML Hook can flexibly insert or modify parameters in the VM XML files, thus achieving customized configurations and functional extensions.

New XML Hook Page for Centralized Storage and Management of XML Hook Files

On the main menu of ZStack Cloud, choose Platform O&M > Automated O&M > Script O&M > XML Hook. Then, the XML Hook page appears. This page supports lifecycle managements of XML Hooks, such as creating, modifying, and deleting XML Hooks.

ZStack Cloud provides XML Hook samples and detailed writing methods for your reference. You can combine the provided methods with your specific needs to write your XML Hook.

Figure 1. XML Hook Page


Figure 2. Create an XML Hook


Figure 3. XML Hook Sample and Writing Method


Attach XML Hook to VMs for Customized Configuration and Capability Extension

By attaching an XML Hook to a VM instance, you can modify the VM configurations and implement the functionality defined in the XML Hook. Detaching the XML Hook restores the configurations to previous states. This attachment/detachment mechanism allows for simple and flexible configuration adjustments without affecting the core code of program.

A single XML Hook can be attached to multiple VMs simultaneously. Using XML Hooks for batch configurations can help enhance operational efficiency in large-scale scenarios.

Figure 4. Attach XML Hook to VM (XML Hook Action List)


Figure 5. Attach XML Hook to VM (VM Action List)



Scheduled O&M Menu Entry Relocation

Starting from ZStack Cloud 5.2.0, the original Scheduled O&M menu has been relocated under the Platform O&M > Automated O&M menu. All functionalities previously included in scheduled O&M remain unchanged.
Figure 1. Scheduled O&M Menu



Archives

Download Document Archives

Back to Top

Download

Already filled the basic info?Click here.

Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

An email with a verification code will be sent to you. Make sure the address you provided is valid and correct.

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Download

Not filled the basic info yet? Click here.

Invalid email address or mobile number.
同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io
ZStack Training and Certification
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io
Request Trial
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder. After receiving the email, click the URL to download the documentation.

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder.
Or click on the URL below. (For Internet Explorer, right-click the URL and save it.)

Thank you for using ZStack products and services.

Submit successfully.

We'll connect soon.

Thank you for using ZStack products and services.