Mengubah konfigurasi disk untuk Kerangka Kerja Otomatisasi Penyebaran SAP
Secara default, Kerangka Kerja Otomatisasi Penyebaran SAP menentukan konfigurasi disk untuk sistem SAP. Sesuai kebutuhan, Anda dapat mengubah konfigurasi default dengan menyediakan file JSON konfigurasi disk kustom.
Tip
Jika memungkinkan, ini adalah praktik terbaik untuk menambah ukuran disk daripada menambahkan lebih banyak disk.
Database HANA
Tabel menunjukkan konfigurasi disk default untuk sistem HANA.
Ukuran | VM SKU | Disk OS | Disk data | Disk log | HANA bersama | Pengguna SAP | Cadangan |
---|---|---|---|---|---|---|---|
Default | Standard_D8s_v3 | E6 (64 GB) | P20 (512 GB) | P20 (512 GB) | E20 (512 GB) | E6 (64 GB) | E20 (512 GB) |
S4DEMO | Standard_E32ds_v4 | P10 (128 GB) | P10x4 (128 GB) | P10x3 (128 GB) | P20 (512 GB) | P20 (512 GB) | |
M32ts | Standard_M32ts | P6 (64 GB) | P6x4 (64 GB) | P10x3 (128 GB) | P20 (512 GB) | P6 (64 GB) | P20 (512 GB) |
M32ls | Standard_M32ls | P6 (64 GB) | P6x4 (64 GB) | P10x3 (128 GB) | P20 (512 GB) | P6 (64 GB) | P20 (512 GB) |
M64ls | Standard_M64ls | P6 (64 GB) | P10x4 (128 GB) | P10x3 (128 GB) | P20 (512 GB) | P6 (64 GB) | P30 (1024 GB) |
M64s | Standard_M64s | P10 (128 GB) | P15x4 (256 GB) | P15x3 (256 GB) | P30 (1024 GB) | P6 (64 GB) | P30 (1024 GB) |
M64ms | Standard_M64ms | P6 (64 GB) | P20x4 (512 GB) | P15x3 (256 GB) | P30 (1024 GB) | P6 (64 GB) | P30x2 (1024 GB) |
M128ms | Standard_M128s | P10 (128 GB) | P20x4 (512 GB) | P15x3 (256 GB) | P30 (1024 GB) | P6 (64 GB) | P30x2 (1024 GB) |
M128ms | Standard_M128m | P10 (128 GB) | P30x4 (1024 GB) | P15x3 (256 GB) | P30 (1024 GB) | P6 (64 GB) | P30x4 (1024 GB) |
M208s_v2 | Standard_M208s_v2 | P10 (128 GB) | P30x4 (1024 GB) | P15x3 (256 GB) | P30 (1024 GB) | P6 (64 GB) | P40x3 (2048 GB) |
M208ms_v2 | Standard_M208ms_v2 | P10 (128 GB) | P40x4 (2048 GB) | P15x3 (256 GB) | P30 (1024 GB) | P6 (64 GB) | P40x3 (2048 GB) |
M416s_v2 | Standard_M416s_v2 | P10 (128 GB) | P40x4 (2048 GB) | P15x3 (256 GB) | P30 (1024 GB) | P6 (64 GB) | P40x3 (2048 GB) |
M416ms_v2 | Standard_M416m_v2 | P10 (128 GB) | P50x4 (4096 GB) | P15x3 (256 GB) | P30 (1024 GB) | P6 (64 GB) | P50x4 (4096 GB) |
E20ds_v4 | Standard_E20ds_v4 | P6 (64 GB) | P10x3 (128 GB) | Ultra (80 GB) | P15 (256 GB) | P6 (64 GB) | P15 (256 GB) |
E20ds_v5 | Standard_E20ds_v5 | P6 (64 GB) | P10x3 (128 GB) | Ultra (80 GB) | P15 (256 GB) | P6 (64 GB) | P15 (256 GB) |
E32ds_v4 | Standard_E32ds_v4 | P6 (64 GB) | P10x3 (128 GB) | Ultra (128 GB) | P15 (256 GB) | P6 (64 GB) | P15 (256 GB) |
E32ds_v5 | Standard_E32ds_v5 | P6 (64 GB) | P10x3 (128 GB) | Ultra (128 GB) | P15 (256 GB) | P6 (64 GB) | P15 (256 GB) |
E48ds_v4 | Standard_E48ds_v4 | P6 (64 GB) | P15x3 (256 GB) | Ultra (192 GB) | P20 (512 GB) | P6 (64 GB) | P15 (256 GB) |
E48ds_v5 | Standard_E48ds_v4 | P6 (64 GB) | P15x3 (256 GB) | Ultra (192 GB) | P20 (512 GB) | P6 (64 GB) | P15 (256 GB) |
E64ds_v3 | Standard_E64ds_v3 | P6 (64 GB) | P15x3 (256 GB) | Ultra (220 GB) | P20 (512 GB) | P6 (64 GB) | P15 (256 GB) |
E64ds_v4 | Standard_E64ds_v4 | P6 (64 GB) | P15x3 (256 GB) | Ultra (256 GB) | P20 (512 GB) | P6 (64 GB) | P15 (256 GB) |
E64ds_v5 | Standard_E64ds_v5 | P6 (64 GB) | P15x3 (256 GB) | Ultra (256 GB) | P20 (512 GB) | P6 (64 GB) | P15 (256 GB) |
E96ds_v5 | Standard_E96ds_v4 | P6 (64 GB) | P15x3 (256 GB) | Ultra (256 GB) | P20 (512 GB) | P6 (64 GB) | P15 (256 GB) |
Database AnyDB
Tabel menunjukkan konfigurasi disk default untuk sistem AnyDB.
Ukuran | VM SKU | Disk OS | Disk data | Disk log |
---|---|---|---|---|
Default | Standard_E4s_v3 | P6 (64 GB) | P15 (256 GB) | P10 (128 GB) |
200 GB | Standard_E4s_v3 | P6 (64 GB) | P15 (256 GB) | P10 (128 GB) |
500 GB | Standard_E8s_v3 | P6 (64 GB) | P20 (512 GB) | P15 (256 GB) |
1 TB | Standard_E16s_v3 | P10 (128 GB) | P20x2 (512 GB) | P15x2 (256 GB) |
2 TB | Standard_E32s_v3 | P10 (128 GB) | P30x2 (1024 GB) | P20x2 (512 GB) |
5 TB | Standard_M64ls | P10 (128 GB) | P30x5 (1024 GB) | P20x2 (512 GB) |
10 TB | Standard_M64s | P10 (128 GB) | P40x5 (2048 GB) | P20x2 (512 GB) |
15 TB | Standard_M64s | P10 (128 GB) | P50x4 (4096 GB) | P20x2 (512 GB) |
20 TB | Standard_M64s | P10 (128 GB) | P50x5 (4096 GB) | P20x2 (512 GB) |
30 TB | Standard_M128s | P10 (128 GB) | P50x8 (4096 GB) | P40x2 (2048 GB) |
40 TB | Standard_M128s | P10 (128 GB) | P50x10 (4096 GB) | P40x2 (2048 GB) |
50 TB | Standard_M128s | P10 (128 GB) | P50x13 (4096 GB) | P40x2 (2048 GB) |
File ukuran kustom
Anda dapat menentukan ukuran disk untuk sistem SAP dengan menggunakan file JSON ukuran kustom. File dikelompokkan dalam empat bagian: db
, , app
scs
, dan web
. Setiap bagian berisi daftar nama konfigurasi disk. Misalnya, untuk tingkat database, nama mungkin M32ts
atau M64s
.
Bagian ini berisi informasi untuk ukuran komputer virtual default dan daftar disk yang akan disebarkan untuk setiap tingkatan.
Buat file dengan menggunakan struktur yang diperlihatkan dalam sampel kode berikut. Simpan file di folder yang sama dengan file parameter untuk sistem. Misalnya, gunakan XO1_sizes.json
. Kemudian tentukan parameter custom_disk_sizes_filename
dalam file parameter. Misalnya, gunakan custom_disk_sizes_filename = "XO1_db_sizes.json"
.
Tip
Jalur ke konfigurasi disk harus relatif terhadap folder yang berisi tfvars
file.
Kode sampel berikut adalah contoh file konfigurasi. Ini mendefinisikan tiga disk data (LUN 0, 1, dan 2), disk log (LUN 9, menggunakan Ultra SKU), dan disk cadangan (LUN 13). Server tingkat aplikasi (aplikasi, layanan pusat, dan dispatcher web) disebarkan hanya dengan satu sap
disk data.
Ketiga disk data digaris dengan menggunakan LVM. Disk log dan disk cadangan masing-masing dipasang sebagai satu disk.
{
"db" : {
"Default": {
"compute": {
"vm_size" : "Standard_E20ds_v4",
"swap_size_gb" : 2
},
"storage": [
{
"name" : "os",
"count" : 1,
"disk_type" : "Premium_LRS",
"size_gb" : 128,
"caching" : "ReadWrite"
},
{
"name" : "data",
"count" : 3,
"disk_type" : "Premium_LRS",
"size_gb" : 256,
"caching" : "ReadWrite",
"write_accelerator" : false,
"lun_start" : 0
},
{
"name" : "log",
"count" : 1,
"disk_type" : "UltraSSD_LRS",
"size_gb": 512,
"disk-iops-read-write" : 2048,
"disk-mbps-read-write" : 8,
"caching" : "None",
"write_accelerator" : false,
"lun_start" : 9
},
{
"name" : "backup",
"count" : 1,
"disk_type" : "Premium_LRS",
"size_gb" : 256,
"caching" : "ReadWrite",
"write_accelerator" : false,
"lun_start" : 13
}
]
}
},
"app" : {
"Default": {
"compute": {
"vm_size" : "Standard_D4s_v3"
},
"storage": [
{
"name" : "os",
"count" : 1,
"disk_type" : "Premium_LRS",
"size_gb" : 128,
"caching" : "ReadWrite"
},
{
"name" : "sap",
"count" : 1,
"disk_type" : "Premium_LRS",
"size_gb" : 128,
"caching" : "ReadWrite",
"write_accelerator" : false,
"lun_start" : 0
}
]
}
},
"scs" : {
"Default": {
"compute": {
"vm_size" : "Standard_D4s_v3"
},
"storage": [
{
"name" : "os",
"count" : 1,
"disk_type" : "Premium_LRS",
"size_gb" : 128,
"caching" : "ReadWrite"
},
{
"name" : "sap",
"count" : 1,
"disk_type" : "Premium_LRS",
"size_gb" : 128,
"caching" : "ReadWrite",
"write_accelerator" : false,
"lun_start" : 0
}
]
}
},
"web" : {
"Default": {
"compute": {
"vm_size" : "Standard_D4s_v3"
},
"storage": [
{
"name" : "os",
"count" : 1,
"disk_type" : "Premium_LRS",
"size_gb" : 128,
"caching" : "ReadWrite"
},
{
"name" : "sap",
"count" : 1,
"disk_type" : "Premium_LRS",
"size_gb" : 128,
"caching" : "ReadWrite",
"write_accelerator" : false,
"lun_start" : 0
}
]
}
}
}
Menambahkan disk tambahan ke sistem yang ada
Jika Anda perlu menambahkan disk ke sistem yang sudah disebarkan, Anda dapat menambahkan blok baru ke struktur JSON Anda. Sertakan atribut append
di blok ini, dan atur nilainya ke true
. Misalnya, dalam kode sampel berikut, blok terakhir berisi atribut "append" : true,
. Blok terakhir menambahkan disk baru ke tingkat database, yang sudah dikonfigurasikan di blok "data"
pertama dalam kode.
{
"db" : {
"Default": {
"compute": {
"vm_size" : "Standard_D4s_v3",
"swap_size_gb" : 2
},
"storage": [
{
"name" : "os",
"count" : 1,
"disk_type" : "Premium_LRS",
"size_gb" : 128,
"caching" : "ReadWrite"
},
{
"name" : "data",
"count" : 3,
"disk_type" : "Premium_LRS",
"size_gb" : 256,
"caching" : "ReadWrite",
"write_accelerator" : false,
"start_lun" : 0
},
{
"name" : "log",
"count" : 1,
"disk_type" : "UltraSSD_LRS",
"size_gb": 512,
"disk-iops-read-write" : 2048,
"disk-mbps-read-write" : 8,
"caching" : "None",
"write_accelerator" : false,
"start_lun" : 9
},
{
"name" : "backup",
"count" : 1,
"disk_type" : "Premium_LRS",
"size_gb" : 256,
"caching" : "ReadWrite",
"write_accelerator" : false,
"start_lun" : 13
}
,
{
"name" : "data",
"count" : 1,
"disk_type" : "Premium_LRS",
"size_gb" : 256,
"caching" : "ReadWrite",
"write_accelerator" : false,
"append" : true,
"start_lun" : 4
}
]
}
}
}