检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
~/tools/obsutil/obsutil_linux_amd64_5.4.6/obsutil cp test.txt obs://{OBS bucket name} Replace {OBS bucket name} with the name of the OBS bucket to be used. In this example, the bucket name is cae-obs.
Log in to OBS and check whether the software package has been uploaded to the OBS bucket. Figure 9 Viewing an OBS bucket Creating a Pipeline to Upgrade CAE Components Using the OBS Software Package Create a CodeArts pipeline. Go to the CodeArts homepage.
Interconnects with Object Storage Service (OBS) for specified functions. CAE enables users to create and query buckets in OBS, and upload, query, and delete object files in buckets. They also can use CAE to create and query parallel file systems in OBS.
to the CodeArts Pipeline to Automatically Upgrade CAE Components Overview Upgrading a CAE Component After Uploading a Software Package Built Using the Pipeline to a CodeArts Release Repo Upgrading a CAE Component After Uploading a Software Package Built Using the Pipeline to the OBS
Example: Figure 1 Mounting information Figure 2 No test folder or file in the parallel file system Figure 3 Error event Solution Log in to the OBS console. Select Parallel File Systems and click the authorized parallel file system (example: cae-obs).
The format is obs://{Bucket name}{Directory for storing the JAR package in the OBS bucket}. bucket_address="obs://$bucket_name$bucket_dir" # Link of the JAR package uploaded to OBS. The format is https://{Bucket name}.obs.
For example, if the index.html file is stored in the OBS bucket test-nginx, enter index.html to reference the file. NOTE: Do not mount the data storage to a system directory, such as / or /var/run. Otherwise, an exception occurs.
You are advised to mount an OBS parallel file system. For details, see Parallel File System Overview.
Currently, you can build an image in CodeArts and then deploy it to CAE, or build a software package in CodeArts, upload it to the CodeArts release repo or OBS, and then deploy it to CAE. Prerequisites You have enabled CodeArts, created a project, and hosted code.
Overview Background After code development, you need to package the code into an image or software package on Jenkins before each rollout, upload the image to SWR or upload the software package to OBS, and then upgrade the component in CAE. This process is complex.
System-defined policy Must be used together with these permissions: ServiceStage ReadOnlyAccess LTS ReadOnlyAccess obs:bucket:GetBucketLocation obs:bucket:GetBucketStorage obs:bucket:GetBucketStoragePolicy Read-only permissions for CAE. OBS Administrator OBS administrator.
Table 1 Cloud storage comparison Dimension OBS Parallel File System OBS Bucket SFS Turbo Definition Parallel File System (PFS) is a high-performance system with access latency in milliseconds.
If you select OBS, upload the software package to the OBS bucket in advance. For details, see Uploading an Object. Language/Runtime System: Select a language of the software package from the drop-down list. For details, see Component Description.
Prerequisites You have uploaded all files in the application path to be mounted to the OBS parallel file system. For details, see Uploading an Object. Procedure Log in to CAE. Choose Component Configurations.
If you select OBS, upload the software package to the OBS bucket in advance. For details, see Uploading an Object. Language/Runtime System: Select a language of the software package from the drop-down list. For details, see Component Description.
Response Parameters None Example Request Authorize cloud storage: Set resource_type to obs and resources to test-bucket.
For details, see OBS Billing Items.
Querying Traces Transferred to OBS If you enable Transfer to OBS when configuring the tracker, traces will be periodically transferred to a specified OBS bucket as trace files for long-term storage. Log in to the management console.
For long-term storage, transfer logs to OBS buckets. For details, see Log Transfer. Prerequisites You have created an application. For details, see Creating an Application. You have created a component. For details, see Creating a Component. Procedure Log in to CAE.
If you select OBS, upload the software package to the OBS bucket in advance. For details, see Uploading an Object. Language/Runtime System: Select a language of the software package from the drop-down list. For details, see Component Description.