OceanBase Admin Toolkit (OAT) allows you to install services or components in the OceanBase ecosystem by using image files or packages. This topic describes how to manage image files and packages in the OAT console.
Prerequisites
Before you manage images or packages, make sure that you have installed and logged in to OAT as a super administrator or an O&M engineer. For more information, see Install OAT.
Add an image
To add an image, perform the following steps:
In the left-side navigation pane, choose Systems and Security > Installation Package.
In the upper-right corner of the page that appears, click Add Mirror. You can upload service images to the
/data_dir/imagesdirectory of the OAT server, and then click Local Scan to add an image file.In the dialog box that appears, select Local Scan or Remote Connection. If you select Local Scan, OAT automatically scans your local image files and adds them to the image list. If you select Remote Connection, you need to configure parameters on the Remote Connection Image page. The following table describes the parameters.
Parameter Required Description Image Name Yes The name of the image to be added. Image Registry Yes The URL of the registry to which the image is to be added. Image Tag No The tag used for pulling the image from the image registry. Architecture Yes The image architecture. Click OK.
Remove an image
You can remove images based on your business requirements. To remove an image, perform the following steps:
Log in to the OAT console as a super administrator or an O&M engineer.
In the left-side navigation pane, choose Systems and Security > Installation Package.
In the Image Files list, find the image file that you want to remove and click Delete in the Actions column.
You can also search for the image by name at the top of the page.
In the message that appears, click OK.
Add a package
To add a package, perform the following steps:
In the left-side navigation pane, choose Systems and Security > Installation Package.
Click the Packages tab.
In the upper-right corner of the page, click Add Package. You can upload service installation packages to the
/data_dir/binary_packagesdirectory of the OAT server, and then click Local Scan to add an image file.In the dialog box that appears, select Local Scan.
If you select Local Scan, OAT automatically scans your local packages and adds them to the package list.
Click OK.
Remove a package
You can remove packages based on your business requirements. To remove a package, perform the following steps:
Log in to the OAT console as a super administrator or an O&M engineer.
In the left-side navigation pane, choose Systems and Security > Installation Package.
In the Packages list, find the package that you want to remove and click Delete in the Actions column.
You can also search for the package by name at the top of the page.
In the message that appears, click OK.