Bagikan melalui


Tutorial: Mengonfigurasi kontainer profil dengan Cloud Cache

Dalam tutorial ini, Anda mempelajari cara mengonfigurasi kontainer profil dengan Cloud Cache.

Cloud Cache adalah jenis konfigurasi opsional untuk kontainer Profil atau Kontainer Data dan File Office (ODFC). Fungsi utama Cloud Cache adalah untuk mengurangi masalah konektivitas jangka pendek atau terputus-terputus dengan penyedia penyimpanan jarak jauh. Sebelum Anda mengikuti tutorial ini, pastikan untuk meninjau gambaran umum Cloud Cache bersama dengan berbagai pengaturan konfigurasi.

Tutorial ini menggambarkan konfigurasi Cloud Cache hanya untuk kontainer profil. Cloud Cache dengan kontainer ODFC didukung dan dikonfigurasi sama seperti yang ditunjukkan dalam tutorial ODFC. Ganti VHDLocations dengan CCDLocations karena Cloud Cache menggunakan alih-alih CCDLocationsVHDLocations. Jangan gunakan kedua pengaturan.

Di tutorial ini, Anda akan:

  • Aktifkan produk untuk profil.
  • Tentukan lokasi Cloud Cache untuk kontainer.
  • Verifikasi bahwa kontainer dilampirkan dan berfungsi.

Prasyarat

Mengonfigurasi kontainer profil dengan Cloud Cache

Semua data aplikasi Microsoft 365 disertakan, sehingga tidak perlu kontainer ODFC.

  1. Verifikasi penginstalan dan versi FSLogix.

  2. Masuk ke komputer virtual sebagai administrator lokal atau dengan akun yang memiliki hak istimewa administratif.

  3. Pilih Mulai.

  4. Masukkan editor registri di kotak pencarian menu Mulai .

  5. Pilih Editor Registri pada menu Mulai .

    Cuplikan layar yang memperlihatkan pemilihan Editor Registri dari menu Mulai.

    Gambar 1: Editor Registri pada menu Mulai

  6. Pergi ke HKEY_LOCAL_MACHINE\SOFTWARE\FSLogix\Profiles.

  7. Tambahkan pengaturan ini:

    Nama kunci Jenis data Nilai Deskripsi
    CCDLocations MULTI_SZ atau REG_SZ type=smb,name="WINDOWS SMB PROVIDER",connectionString=\\<server-name>\<share-name>;type=azure,name="AZURE PROVIDER",connectionString="|fslogix/<key-name>|" Contoh
    ClearCacheOnLogoff1 DWORD 1 Direkomendasikan
    Diaktifkan DWORD 1 DIPERLUKAN
    HapusProfilLokalKetikaVHDTerapkan2 DWORD 1 Direkomendasikan
    FlipFlopProfileDirectoryName3 DWORD 1 Direkomendasikan
    HealthyProvidersRequiredForRegister4 DWORD 1 Direkomendasikan
    LockedRetryCount5 DWORD 3 Direkomendasikan
    LockedRetryInterval5 DWORD 15 Direkomendasikan
    ProfileType6 DWORD 0 Bawaan
    ReAttachIntervalSeconds5 DWORD 15 Direkomendasikan
    ReAttachRetryCount5 DWORD 3 Direkomendasikan
    UkuranDalamMB DWORD 30000 Bawaan
    VolumeType7 REG_SZ VHDX Direkomendasikan

    1 Disarankan untuk menghemat ruang disk pada disk lokal dan risiko kehilangan data saat Anda menggunakan desktop terkumpul.
    2 Disarankan untuk memastikan bahwa pengguna tidak menggunakan profil lokal dan kehilangan data secara tak terduga.
    3 Menyediakan cara yang lebih mudah untuk menelusuri direktori kontainer.
    4 Mencegah pengguna membuat cache lokal jika setidaknya satu penyedia tidak sehat.
    5 Mengurangi waktu coba lagi untuk mengaktifkan skenario kegagalan yang lebih cepat.
    6 Koneksi tunggal mengurangi kompleksitas dan meningkatkan performa.
    7 VHDX lebih disukai daripada VHD karena ukurannya yang didukung dan skenario kerusakan yang berkurang.

    Cuplikan layar yang memperlihatkan pengaturan registri F S Logix.

    Gambar 2: Entri registri Cloud Cache

    $CCDLocations = 'type=smb,name="AZURE FILES PROVIDER",connectionString=\\<STORAGE-ACCOUNT-NAME>.file.core.windows.net\<SHARE-NAME>;type=azure,name="AZURE BLOB PROVIDER",connectionString="|fslogix/<KEY-NAME>|"'

    New-ItemProperty -Path HKLM:\SOFTWARE\FSLogix\Profiles\ -Name CCDLocations -PropertyType string -value $CCDLocations -Force
    New-ItemProperty -Path HKLM:\SOFTWARE\FSLogix\Profiles\ -Name ClearCacheOnLogoff -PropertyType dword -Value 1 -Force
    New-ItemProperty -Path HKLM:\SOFTWARE\FSLogix\Profiles\ -Name Enabled -PropertyType dword -Value 1 -Force
    New-ItemProperty -Path HKLM:\SOFTWARE\FSLogix\Profiles\ -Name DeleteLocalProfileWhenVHDShouldApply -PropertyType dword -Value 1 -Force
    New-ItemProperty -Path HKLM:\SOFTWARE\FSLogix\Profiles\ -Name FlipFlopProfileDirectoryName -PropertyType dword -Value 1 -Force
    New-ItemProperty -Path HKLM:\SOFTWARE\FSLogix\Profiles\ -Name HealthyProvidersRequiredForRegister -PropertyType dword -Value 1 -Force
    New-ItemProperty -Path HKLM:\SOFTWARE\FSLogix\Profiles\ -Name LockedRetryCount -PropertyType dword -Value 3 -Force
    New-ItemProperty -Path HKLM:\SOFTWARE\FSLogix\Profiles\ -Name LockedRetryInterval -PropertyType dword -Value 15 -Force
    New-ItemProperty -Path HKLM:\SOFTWARE\FSLogix\Profiles\ -Name ProfileType -PropertyType dword -Value 0 -Force
    New-ItemProperty -Path HKLM:\SOFTWARE\FSLogix\Profiles\ -Name ReAttachRetryCount -PropertyType dword -Value 3 -Force
    New-ItemProperty -Path HKLM:\SOFTWARE\FSLogix\Profiles\ -Name ReAttachIntervalSeconds -PropertyType dword -Value 15 -Force
    New-ItemProperty -Path HKLM:\SOFTWARE\FSLogix\Profiles\ -Name SizeInMBs -PropertyType dword -Value 30000 -Force
    New-ItemProperty -Path HKLM:\SOFTWARE\FSLogix\Profiles\ -Name VolumeType -PropertyType string -Value vhdx -Force

Memverifikasi konfigurasi kontainer profil Cloud Cache Anda

Cloud Cache membuat dan memasang kontainer lokal (cache lokal) untuk profil pengguna. Memverifikasi konfigurasi Cloud Cache Anda memerlukan peninjauan log profil Windows Event Viewer, File Explorer, atau FSLogix. Langkah-langkah dalam prosedur ini memperlihatkan Windows Event Viewer dan File Explorer.

  1. Pilih Mulai.

  2. Masukkan penampil peristiwa di kotak pencarian menu Mulai .

  3. Pilih Penampil Peristiwa pada menu Mulai .

    Cuplikan layar yang memperlihatkan Penampil Peristiwa pada menu Mulai.

    Gambar 3: Penampil Peristiwa pada menu Mulai

  4. Perluas Log Aplikasi dan Layanan.

  5. Perluas Microsoft.

  6. Perluas FSLogix.

  7. Perluas CloudCache.

  8. Pilih Operasional.

    Cuplikan layar yang memperlihatkan Penampil Peristiwa.

    Gambar 4: Penampil Peristiwa Windows

  9. Cari ID Peristiwa: 56 yang menunjukkan penyedia mana yang sedang online.

    Cuplikan layar yang memperlihatkan penyedia acara 1 online. Cuplikan layar yang memperlihatkan penyedia acara 2 online.

    Gambar 5: ID Peristiwa 56 - Penyedia online

  10. Cari ID Peristiwa: 5 yang menunjukkan penguncian pada file proksi.

    Cuplikan layar yang memperlihatkan kunci proksi.

    Gambar 6: ID Peristiwa 5 - Kunci proksi

  11. Pilih Mulai.

  12. Pilih File Explorer.

  13. Masuk ke C:\ProgramData\FSLogix\Cache%username%_%sid%.

    Cuplikan layar yang memperlihatkan File Explorer cache lokal.

    Gambar 7: File Explorer - cache lokal