Buat kluster Elastic High Performance Computing (E-HPC) menggunakan metode bayar sesuai penggunaan atau langganan.
Deskripsi operasi
Setelah membuat kluster Elastic High Performance Computing (E-HPC), Anda akan dikenai biaya berdasarkan sumber daya kluster yang digunakan. Kami menyarankan agar Anda memahami terlebih dahulu metode penagihan E-HPC. Untuk informasi selengkapnya, lihat Ikhtisar penagihan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ehpc:CreateCluster |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ZoneId |
string |
No |
ID zona tempat resource berada. Anda dapat memanggil operasi ListRegions dan DescribeZones untuk mengkueri ID zona yang mendukung E-HPC. |
cn-hangzhou-b |
| Name |
string |
Yes |
Nama kluster E-HPC. Nama harus terdiri dari 2 hingga 64 karakter. |
test |
| Description |
string |
No |
Deskripsi kluster E-HPC. Deskripsi harus terdiri dari 2 hingga 256 karakter dan tidak boleh diawali dengan |
TestDescription |
| EhpcVersion |
string |
No |
Versi E-HPC. Secara default, parameter ini diatur ke nomor versi terbaru. |
1.0.0 |
| ClientVersion |
string |
No |
Versi klien E-HPC. Secara default, parameter ini diatur ke nomor versi terbaru. Anda dapat memanggil operasi ListCurrentClientVersion untuk mengkueri versi terbaru klien E-HPC. |
1.0.64 |
| OsTag |
string |
No |
Tag sistem operasi citra. |
CentOS_7.2_64 |
| AccountType |
string |
No |
Jenis layanan akun domain. Nilai yang valid:
Nilai default: nis. |
nis |
| Domain |
string |
No |
Nama domain kluster E-HPC on-premises. Parameter ini hanya berlaku ketika parameter AccountType diatur ke Idap. |
ldap |
| SchedulerType |
string |
No |
Jenis penjadwal. Nilai yang valid:
Nilai default: pbs. |
pbs |
| SecurityGroupId |
string |
No |
ID grup keamanan tempat kluster E-HPC berada. Anda dapat memanggil operasi DescribeSecurityGroups untuk mengkueri grup keamanan yang tersedia di wilayah saat ini. |
sg-bp13n61xsydodfyg**** |
| SecurityGroupName |
string |
No |
Jika Anda tidak menggunakan grup keamanan yang sudah ada, atur parameter ini ke nama grup keamanan baru. Kebijakan default akan diterapkan pada grup keamanan baru tersebut. |
ehpc-SecurityGroup |
| VpcId |
string |
No |
ID virtual private cloud (VPC) tempat kluster E-HPC berada. Anda dapat memanggil operasi DescribeVpcs untuk mengkueri VPC yang tersedia. |
vpc-b3f3edefefeep0760yju**** |
| VSwitchId |
string |
No |
ID vSwitch. E-HPC hanya mendukung jaringan VPC. Anda dapat memanggil operasi DescribeVSwitches untuk mengkueri vSwitch yang tersedia. |
vsw-bp1lfcjbfb099rrjn**** |
| VolumeType |
string |
No |
Jenis penyimpanan bersama. Atur nilainya ke |
nas |
| VolumeId |
string |
No |
ID sistem file NAS. Jika Anda mengosongkan parameter ini, sistem file NAS Performa akan dibuat secara default. Anda dapat memanggil operasi ListFileSystemWithMountTargets untuk mengkueri titik pemasangan yang tersedia. |
008b64**** |
| VolumeProtocol |
string |
No |
Jenis protokol yang digunakan oleh sistem file NAS. Nilai yang valid:
Nilai default: NFS. |
NFS |
| VolumeMountpoint |
string |
No |
Titik pemasangan sistem file NAS. Titik pemasangan bertipe VPC. Perhatikan hal berikut:
|
008b648bcb-s****.cn-hangzhou.nas.aliyuncs.com |
| VolumeMountOption |
string |
No |
Opsi pemasangan sistem file NFS yang ingin Anda pasang dengan menjalankan perintah mount. Untuk informasi selengkapnya, lihat Memasang sistem file NFS pada instance ECS Linux. |
-t nfs -o vers=4 |
| RemoteDirectory |
string |
No |
Direktori remote tempat sistem file NAS dipasang. |
NasMountpoint:/RemoteDirectory |
| DeployMode |
string |
No |
Mode penyebaran kluster E-HPC. Nilai yang valid:
Nilai default: Standard. |
Simple |
| HaEnable |
boolean |
No |
Menentukan apakah fitur ketersediaan tinggi diaktifkan. Nilai yang valid:
Nilai default: false. Catatan
Jika ketersediaan tinggi diaktifkan, akan digunakan node manajemen primer dan sekunder. |
true |
| EcsChargeType |
string |
No |
Metode penagihan node. Nilai yang valid:
Jika Anda mengatur parameter ini ke PrePaid, perpanjangan otomatis diaktifkan secara default. |
PostPaid |
| Password |
string |
No |
Kata sandi root node logon. Kata sandi harus terdiri dari 8 hingga 30 karakter dan mengandung minimal tiga dari item berikut: huruf kapital, huruf kecil, angka, dan karakter khusus. Karakter khusus meliputi:
Anda harus menentukan salah satu dari Password atau KeyPairName. Jika keduanya ditentukan, parameter Password yang berlaku. Catatan
Kami menyarankan agar Anda menggunakan HTTPS untuk memanggil operasi API guna mencegah kebocoran kata sandi. |
123**** |
| KeyPairName |
string |
No |
Nama pasangan kunci. Catatan
Untuk informasi selengkapnya, lihat Membuat pasangan kunci SSH. |
test |
| ImageOwnerAlias |
string |
No |
Jenis citra. Nilai yang valid:
Nilai default: system. |
self |
| ImageId |
string |
No |
ID citra. Anda dapat memanggil operasi ListImages dan ListCustomImages untuk mengkueri citra yang didukung oleh E-HPC. |
centos_7_02_64_20G_alibase_20170818**** |
| EcsOrder.Manager.Count |
integer |
No |
Jumlah node manajemen. Nilai yang valid: 1 dan 2. |
1 |
| EcsOrder.Manager.InstanceType |
string |
No |
Tipe instans node manajemen. Anda dapat memanggil operasi ListPreferredEcsTypes untuk mengkueri tipe instans yang direkomendasikan. |
ecs.n1.tiny |
| EcsOrder.Compute.Count |
integer |
No |
Jumlah node komputasi dalam kluster. Nilai yang valid: 0 hingga 99. |
1 |
| EcsOrder.Compute.InstanceType |
string |
No |
Tipe instans node komputasi. Anda dapat memanggil operasi ListPreferredEcsTypes untuk mengkueri tipe instans yang direkomendasikan. |
ecs.n1.tiny |
| EcsOrder.Login.Count |
integer |
No |
Jumlah node logon. Nilai yang valid: 1. |
1 |
| EcsOrder.Login.InstanceType |
string |
No |
Tipe instans node logon. Anda dapat memanggil operasi ListPreferredEcsTypes untuk mengkueri tipe instans yang direkomendasikan. |
ecs.n1.tiny |
| SccClusterId |
string |
No |
ID instans Super Computing Cluster (SCC). Jika Anda menentukan parameter ini, instans SCC akan dipindahkan ke kluster SCC baru. |
00b648b**** |
| ComputeSpotStrategy |
string |
No |
Metode penawaran node komputasi. Nilai yang valid:
Nilai default: NoSpot. |
NoSpot |
| ComputeSpotPriceLimit |
string |
No |
Harga maksimum per jam node komputasi. Maksimal tiga tempat desimal dapat digunakan dalam nilai parameter ini. Parameter ini hanya berlaku ketika parameter ComputeSpotStrategy diatur ke SpotWithPriceLimit. |
0.034 |
| ComputeEnableHt |
boolean |
No |
Menentukan apakah hyper-threading diaktifkan untuk node komputasi. Nilai yang valid:
Nilai default: true. |
true |
| Period |
integer |
No |
Durasi langganan. Satuan durasi ditentukan oleh parameter
Nilai default: 1. |
1 |
| PeriodUnit |
string |
No |
Satuan durasi langganan. Nilai yang valid:
Nilai default: Month. |
Year |
| AutoRenew |
string |
No |
Menentukan apakah perpanjangan otomatis diaktifkan. Nilai yang valid:
Nilai default: false. |
false |
| AutoRenewPeriod |
integer |
No |
Periode perpanjangan otomatis untuk node komputasi berlangganan. Parameter ini berlaku ketika AutoRenew diatur ke true. |
1 |
| InputFileUrl |
string |
No |
URL file pekerjaan yang diunggah ke bucket Object Storage Service (OSS). |
https://ehpc-tianshui.oss-cn-beijing.aliyuncs.com/test-u****/testlist_ehpc.sh |
| JobQueue |
string |
No |
Antrian tempat node komputasi ditambahkan. |
workq |
| SystemDiskType |
string |
No |
Jenis disk sistem. Nilai yang valid:
Nilai default: cloud_ssd. |
cloud_ssd |
| SystemDiskSize |
integer |
No |
Ukuran disk sistem. Satuan: GB. Nilai yang valid: 40 hingga 500. Nilai default: 40. |
40 |
| RemoteVisEnable |
string |
No |
Menentukan apakah Virtual Network Computing (VNC) diaktifkan. Nilai yang valid:
Nilai default: false. |
false |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. Anda dapat memanggil operasi ListResourceGroups untuk mendapatkan ID kelompok sumber daya. |
rg-acfmxazb4ph**** |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menghasilkan nilai ini dari klien, tetapi pastikan nilainya unik di antara permintaan yang berbeda. Token hanya boleh berisi karakter ASCII dan tidak boleh melebihi 64 karakter. Untuk informasi selengkapnya, lihat Cara memastikan idempotensi. |
123e4567-e89b-12d3-a456-426655440000 |
| WithoutElasticIp |
boolean |
No |
Menentukan apakah node logon menggunakan alamat IP elastis (EIP). Nilai default: false. Nilai yang valid:
|
true |
| SystemDiskLevel |
string |
No |
Tingkat kinerja ESSD yang digunakan sebagai disk sistem. Nilai default: PL1. Nilai yang valid:
Nilai default: PL1. Untuk informasi selengkapnya, lihat ESSD. |
PL0 |
| IsComputeEss |
boolean |
No |
Menentukan apakah auto scaling diaktifkan. Nilai yang valid:
Nilai default: false. |
false |
| ClusterVersion |
string |
No |
Versi kluster E-HPC. Nilai default: 1.0. |
1.0 |
| Application |
array<object> |
No |
Informasi aplikasi. |
|
|
object |
No |
|||
| Tag |
string |
No |
Tag perangkat lunak. Nilai N yang valid: 0 hingga 100. Anda dapat memanggil operasi ListSoftwares untuk mengkueri tag perangkat lunak. |
OpenMPI_11.1 |
| AdditionalVolumes |
array<object> |
No |
Informasi sistem file NAS. |
|
|
array<object> |
No |
|||
| JobQueue |
string |
No |
Antrian node tempat sistem file NAS disambungkan. Nilai N yang valid: 1 hingga 10. |
high |
| VolumeId |
string |
No |
ID sistem file NAS. Nilai N yang valid: 1 hingga 10. |
extreme-00b88**** |
| Roles |
array<object> |
No |
Informasi node tempat sistem file NAS disambungkan. |
|
|
object |
No |
|||
| Name |
string |
No |
Jenis node tempat sistem file NAS disambungkan. Nilai N yang valid di AdditionalVolumes.N.Roles: 1 hingga 10 Nilai N yang valid di Roles.N.Name: 0 hingga 8. |
["Compute"] |
| VolumeMountpoint |
string |
No |
Titik pemasangan sistem file NAS. Nilai N yang valid: 1 hingga 10. |
0088****-sihc.cn-hangzhou.extreme.nas.aliyuncs.com |
| VolumeMountOption |
string |
No |
Opsi pemasangan sistem file NAS. Anda dapat menentukan 1 hingga 10 vCPU. |
-t nfs -o vers=4.0 |
| RemoteDirectory |
string |
No |
Direktori remote tempat sistem file NAS dipasang. Nilai N yang valid: 1 hingga 10. |
/test |
| VolumeType |
string |
No |
Jenis penyimpanan bersama tambahan. Hanya sistem file NAS yang didukung. Nilai N yang valid: 1 hingga 10. |
nas |
| LocalDirectory |
string |
No |
Direktori lokal tempat sistem file NAS dipasang. Nilai N yang valid: 1 hingga 10. |
/ff |
| VolumeProtocol |
string |
No |
Jenis protokol yang digunakan oleh sistem file NAS. Nilai yang valid:
Nilai N yang valid: 1 hingga 10. Nilai default: NFS. |
NFS |
| Location |
string |
No |
Jenis kluster E-HPC. Atur nilainya ke PublicCloud. Nilai N yang valid: 1 hingga 10. |
PublicCloud |
| PostInstallScript |
array<object> |
No |
Informasi skrip pasca-instalasi. |
|
|
object |
No |
|||
| Args |
string |
No |
Parameter yang digunakan untuk menjalankan skrip setelah kluster dibuat. Nilai N yang valid: 0 hingga 16. |
bashfile.sh |
| Url |
string |
No |
URL yang digunakan untuk mengunduh skrip setelah kluster E-HPC dibuat. Nilai N yang valid: 0 hingga 16 |
/opt/job.sh |
| Plugin |
string |
No |
Konfigurasi mode plug-in. Parameter ini hanya berlaku ketika parameter SchedulerType diatur ke custom. Nilainya harus berupa string JSON. Parameter ini berisi parameter berikut: pluginMod, pluginLocalPath, dan pluginOssPath.
|
{"pluginMod": "oss","pluginLocalPath": "/opt/plugin","pluginOssPath": "https://bucket.oss-cn-hangzhou.aliyuncs.com/plugin/plugin.tgz"} |
| WithoutAgent |
boolean |
No |
Menentukan apakah agen tidak diinstal.
Nilai default: false. |
false |
| WithoutNas |
boolean |
No |
Menunjukkan apakah NAS digunakan sebagai penyimpanan bersama. Nilai yang valid:
Nilai default: false. |
false |
| RamRoleName |
string |
No |
Nama role Resource Access Management (RAM). Anda dapat memanggil operasi ListRoles yang disediakan oleh RAM untuk mengkueri role RAM instans yang telah Anda buat. |
testRamRoleName |
| NetworkInterfaceTrafficMode |
string |
No |
Model komunikasi ENI. Nilai yang valid:
|
Standard |
| DeploymentSetId |
string |
No |
ID set penyebaran tempat instans ditempatkan. Anda dapat memperoleh ID set penyebaran dengan memanggil operasi DescribeDeploymentSets. Hanya set penyebaran yang menggunakan kebijakan latensi rendah yang didukung. |
ds-bp1frxuzdg87zh4pzq**** |
| RamNodeTypes |
array |
No |
Node role RAM. |
Standard |
|
string |
No |
Node role RAM. Nilai N yang valid: 0 hingga 4
|
manager |
|
| Tag |
array<object> |
No |
Array tag. |
Standard |
|
object |
No |
Array tag. |
scheduler |
|
| Key |
string |
No |
Kunci tag. |
TestKey |
| Value |
string |
No |
Nilai tag. |
TestValue |
| AddOns |
array<object> |
No |
Layanan komponen kustom. |
|
|
object |
No |
|||
| Name |
string |
No |
Nama komponen. |
cromwell |
| Version |
string |
No |
Nomor versi komponen. |
85 |
| DeployMode |
string |
No |
Mode penyebaran. Nilai yang valid: local dan ecs. |
local |
| DBType |
string |
No |
Jenis mesin database. Nilai yang valid: Mysql, dan null. |
Mysql |
| ConfigFile |
string |
No |
Path ke file konfigurasi. |
/usr/local/addon/cromwell/cromwell.conf |
| Port |
number |
No |
Port akses komponen kustom. |
10000 |
| DefaultStart |
boolean |
No |
Menunjukkan apakah komponen kustom dijalankan secara otomatis. Nilai yang valid: true dan false. |
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
F6757FA4-8FED-4602-B7F5-3550C084**** |
| TaskId |
string |
ID tugas. Catatan
CreateCluster adalah operasi asinkron. Respons dikembalikan jika permintaan berhasil. Namun, ini tidak berarti bahwa kluster telah dibuat. Anda dapat memanggil operasi ListTasks untuk mengkueri hasil tugas tersebut. |
F6757FA4-8FED-4602-B7F5-3550C084**** |
| ClusterId |
string |
ID kluster. |
ehpc-hz-FYUr32**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "F6757FA4-8FED-4602-B7F5-3550C084****",
"TaskId": "F6757FA4-8FED-4602-B7F5-3550C084****",
"ClusterId": "ehpc-hz-FYUr32****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParams | The specified parameter %s is invalid. | The specified parameter %s is invalid. |
| 400 | NotEnabled | You have not enabled this service | You have not enabled this service |
| 400 | InDebt | Your account has overdue payments. | Your account has overdue payments. |
| 400 | OrderError.InsufficientBalance | The account balance is insufficient. Please add funds first and try again. | Your account has overdue payments. Add funds to your account and try again. |
| 400 | OrderError.InstHasUnpaidOrder | Your account has an unpaid order. | Your account has an unpaid order. Please pay the order and try again. |
| 400 | OrderError.Arrearage | Your account balance is less than CNY 100. Please add funds to your account and try again. | Your account balance is less than CNY 100. Add funds to your account and try again. |
| 400 | OrderError.NoCard | No credit card is bound to your account. | You have not bound a card. Please perform binding first. |
| 400 | OrderError.InvalidPayMethod | No valid default payment method is specified for your account. | No valid payment method is found. Please check again. |
| 400 | OrderError.NoRealNameAuthentication | You have not completed the real name authentication. | You must complete the real-name verification first. |
| 400 | OrderError.NoRealNameRegistration | Real name registration is required for instances launched in mainland China. | To purchase cloud services in mainland China regions on the international site, the user must first complete real-name registration. |
| 400 | OrderError.UserProfileIncomplete | You have not completed your user profile. | The user has not completed personal information on the international site. |
| 400 | InvalidVpc | The specified VPC is invalid. | The VPC information is invalid. |
| 400 | InvalidVolume | The specified volume is invalid. | The specified volume is invalid. |
| 400 | InvalidSoftware | The specified software is not supported. | The requested software is not supported. |
| 400 | InvalidVolumeProtocal | The specified volume protocol is invalid. | The storage protocol is invalid. |
| 400 | InvalidVolumeMountpoint | The specified volume mount point is invalid. | The specified volume mount point is invalid. |
| 400 | MissingParams | The %s parameter is required. | |
| 500 | UnknownError | An unknown error occurred. | An unknown error occurred. |
| 403 | TooManyClusters | The number of user clusters exceeds the quota. | The number of user clusters exceeds the quota. By default, the number of user clusters cannot exceed three. |
| 403 | TooManyComputes | The number of computing nodes exceeds the quota. | The number of computing nodes exceeds the quota. |
| 403 | TooManyLogins | The maximum number of logged on nodes is exceeded. | The maximum number of logged on nodes is exceeded. The default maximum value is 2. |
| 403 | TooManyScc | The maximum number of SCC instances is exceeded. | The maximum number of SCC instances is exceeded. The default maximum value is 15. |
| 403 | QuotaExceeded.PrivateIpAddress | Insufficient private IP addresses in vSwitch: %s. | Insufficient private IP addresses in vSwitch: %s. |
| 403 | ConflictOpt | A conflicting operation is running. | A conflicting operation is running. Please try again later. |
| 403 | ImageNotSupported | The specified image is not supported. | The specified image does not exist. Change the image and try again. |
| 404 | ImageNotFound | The specified image does not exist. | The specified image does not exist. Please verify the parameter. |
| 404 | VolumeNotFound | The specified volume does not exist. | The specified storage does not exist. Please verify the parameter. |
| 404 | VpcNotFound | The specified VPC does not exist. | The specified VPC does not exist. |
| 404 | KeyPairNotFound | The specified KeyPair does not exist. | |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | The request has failed due to a temporary failure of the server. |
| 406 | EcsError | An error occurred while calling the ECS API operation. | ECS API call error. %s |
| 406 | NasError | NAS API request failed. | Failed to request the NAS interface. |
| 406 | NasServiceNotOpen | The NAS service is not activated. | You have not activated NAS. |
| 406 | EipError | The EIP API request failed. | EIP API request failed. |
| 406 | OrderError | An order request error occurred. | An order request error occurred. |
| 406 | FailToGenId | Generating cluster ID failed. | |
| 406 | DbError | A database service error occurred. | Database request failed. |
| 406 | AliyunError | An Alibaba Cloud product error occurred. | Alibaba Cloud product error. %s |
| 406 | AckError | An error occurred while calling the ACK API operation. | |
| 407 | NotAuthorized | No authorization is granted. | No authorization is granted. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.