Deployment
Preparations
Provide a Huawei Cloud account, an AK/SK pair, and the region information.
Obtaining an Image
- Request an image that contains the plug-in from Huawei after-sales personnel.
- (Huawei Cloud after-sales personnel) Share the image.
- Log in to the Huawei Cloud management console and choose Compute > Image Management Service. Then, receive the image and copy it to a private one.
Purchasing an SFS Turbo System
The cockpit system depends on SFS Turbo, so purchase an SFS Turbo file system first.
Cockpit Master Node Deployment
Select the private image of the master node. Use the security group, subnet, and VPC that are same as the SFS Turbo file system. Choose the flavor with 16 vCPUs and 32 GB memory, set the system disk to 300 GB, and bind an EIP.
Under Advanced Settings, enter the following custom script, set SFS_ENDPOINT to an actual value, and click Buy.
#!/bin/bash cat >>/opt/cloud/services/intelligent-cockpit-agent/user_data.sh <<EOF CLUSTER_NAME=IntelligentCockpit DEPLOYMENT_MODE=SIMPLE USER_MANAGER_MODE=NIS NIS_DOMAIN=intelligentCockpitServer.com SFS_ENDPOINT=xxx EOF systemctl daemon-reload systemctl start CockpitStart.service systemctl enable CockpitStart.service
After the purchase is successful, configure the variables in the following script and set master-ip to the private IP address of the master node. Then, log in to the master node and execute the script. After the script is executed, the master node of the cockpit has been deployed.
#!/bin/bash cat >> /opt/cloud/services/intelligent-cockpit-agent/application.properties <<EOF cluster.master-ip=xxx cluster.intelligent-cockpit-master-ip=xxx cluster.slurm-rest-url=http://127.0.0.1:6688 cluster.regionId=cn-southwest-2 user.domainId=xxx user.ak=xxx user.sk=xxx user.project-id=xxx cluster.sfs-share-ids=xxx cluster.nis-domain-name=intelligentCockpitServer.com EOF systemctl daemon-reload systemctl start IntelligentCockpitAgent.service systemctl enable IntelligentCockpitAgent.service
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot