In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you what the CLI parameters of the moving cloud tool are, I believe most people do not know much about it, so share this article for your reference. I hope you will learn a lot after reading this article. Let's learn about it together.
CLI parameter
The cloud migration tool has supported command line (Command line interface,CLI) parameters since version 1.2.8, and runs in the path where the cloud migration tool is located-help can view the parameter list. The CLI parameter has the advantages of configuring cloud migration tools, adjusting custom usage habits and clearing client_data with one click without opening various JSON files.
If you are using an old version of the cloud migration tool, please download the package again for more features. The CLI parameter requires you to know how to use the cloud migration tool. For more information, please see using the Cloud Migration tool.
Windows version parameter list
The following is the complete CLI parameter list of the cloud migration tool for Windows.
Usage: go2aliyun_client.exe [options] options:-- help show usage. -- version show version. -- nocheckversion nocheck for new version. -- noenterkey noenterkey to exit. -- progressfile set progressfile path. -- cleardata clear client data and server ecs. -- accesssid= set access id. -- secretkey= set secret key. -- regionid= set region id. -- imagename= set image name. -- systemdisksize= set systemdisk size. -- platform= set platform. -- architecture= set architecture. -- datadisks= set data disks. Data_disks=data_disk_index | data_disk_size | src_path; e.g.-- data_disks=1 | 100 | Drangter2 | 150 | E:-- bandwidthlimit= set bandwidth limit. -- netmode= set net mode. -- vpcid= set vpc id. -- vswitchid= set vswitch id. -- zoneid= set zone id. -- securegroupid= set securegroup id.
Linux version parameter list
The following is the complete CLI parameter list of the cloud migration tool for Linux.
Usage:. / go2aliyun_client [options] options:-- help show usage. -- version show version. -- nocheckversion nocheck for new version. -- noenterkey noenterkey to exit. -- progressfile set progressfile path. -- cleardata clear client data and server ecs. -- accesssid= set access id. -- secretkey= set secret key. -- regionid= set region id. -- imagename= set image name. -- systemdisksize= set systemdisk size. -- platform= set platform. -- architecture= set architecture. -- datadisks= set data disks. Data_disks=data_disk_index | data_disk_size | src_path; e.g.-- data_disks=1 | 100 | / mnt/disk1;2 | 150 | / mnt/disk2-- bandwidthlimit= set bandwidth limit. -- netmode= set net mode. -- vpcid= set vpc id. -- vswitchid= set vswitch id. -- zoneid= set zone id. -- securegroupid= set securegroup id.
Parameter introduction
General parameter
The following are the common parameters of Windows and Linux cloud migration tools. General parameters do not affect the configuration of cloud migration tools and have no impact on cloud migration work. They are often used to adjust the usage habits and interface of cloud migration tools.
Note: before your cloud migration work is completed, please use the cleardata parameter carefully. Otherwise, the cloud migration will be interrupted and the progress of the migration will be invalidated.
User_config parameter
The following are the relevant CLI parameters for configuring user_config. For more information about user_config, please see using Cloud Migration tool.
Note: after you specify the configuration of user_config using the CLI parameter, the cloud migration tool will follow the CLI parameter and ignore the configuration file.
-- accesssid= # set AccessKey ID--secretkey= in user_config # set AccessKey Secret--regionid= # in user_config set region configuration in user_config-- imagename= # set custom image name in user_config-- systemdisksize= # set system disk capacity in user_config-- platform= # set image release platform in user_config-- architecture= # set the mirror system architecture in user_config-- datadisks= # set the data disk list in user_config By | and Separate different data disk values, such as data_disk_index | data_disk_size | src_path;--bandwidthlimit= # set the upper limit of public network outbound bandwidth in user_config
Client_data parameter
The following parameters are used to specify the migration of VPC private network. For more information, please see VPC Private Network Migration Cloud.
-- netmode= # sets the cloud migration method in client_data. Values can be 0, 1 and 2. Set VPC--vswitchid= in client_data configured with high-speed tunnel or VPN gateway. # set virtual switch under VPC in client_data-- securegroupid= # set security group under VPC in client_data. All the above are the CLI parameters of cloud migration tool. Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.