Správa účtů úložiště Azure Stack hubManage Azure Stack Hub storage accounts
Naučte se spravovat účty úložiště Azure Stack hub.Learn how to manage Azure Stack Hub storage accounts. Vyhledávejte, obnovujte a uvolňujte kapacitu úložiště na základě obchodních potřeb.Find, recover, and reclaim storage capacity based on business needs.
Najít účet úložištěFind a storage account
Seznam účtů úložiště v oblasti lze zobrazit v Azure Stack centru pomocí následujících kroků:The list of storage accounts in the region can be viewed in Azure Stack Hub by following these steps:
Přihlaste se k portálu pro správu
https://adminportal.local.azurestack.external
.Sign in to the administrator portalhttps://adminportal.local.azurestack.external
.Vyberte všechny služby > úložiště > účty úložiště.Select All services > Storage > Storage accounts.
Ve výchozím nastavení se zobrazí prvních 10 účtů.By default, the first 10 accounts are displayed. Další možnosti získáte tak, že kliknete na odkaz načíst další v dolní části seznamu.You can choose to fetch more by clicking the Load more link at the bottom of the list.
NEBOOR
Pokud vás zajímá konkrétní účet úložiště, můžete filtrovat a načíst jenom příslušné účty .If you're interested in a particular storage account - you can filter and fetch the relevant accounts only.
Filtrování účtů:To filter for accounts:
V horní části podokna vyberte Filtr .Select Filter at the top of the pane.
V podokně filtru můžete zadat název účtu, ID předplatného nebo stav , abyste mohli vyladit seznam účtů úložiště, které se mají zobrazit.On the Filter pane, it allows you to specify account name, subscription ID, or status to fine-tune the list of storage accounts to be displayed. Použijte je podle potřeby.Use them as appropriate.
Při psaní se v seznamu automaticky použije filtr.As you type, the list will automatically apply the filter.
Postup obnovení filtru: vyberte Filtr, zrušte výběr a aktualizujte.To reset the filter: select Filter, clear out the selections and update.
Textové pole Hledat (v horní části podokna Seznam účtů úložiště) umožňuje v seznamu účtů zvýraznit vybraný text.The search text box (on the top of the storage accounts list pane) lets you highlight the selected text in the list of accounts. Tuto možnost můžete použít, pokud není úplný název nebo ID snadno dostupné.You can use this when the full name or ID isn't easily available.
Zde můžete použít bezplatný text, který vám umožní najít účet, který vás zajímá.You can use free text here to help find the account you're interested in.
Podívejte se na podrobnosti účtu.Look at account details
Po vyhledání účtů, které vás zajímají, můžete vybrat konkrétní účet a zobrazit určité podrobnosti.Once you've located the accounts you're interested in viewing, you can select the particular account to view certain details. Otevře se nové podokno s podrobnostmi o účtu.A new pane opens with the account details. Mezi tyto podrobnosti patří druh účtu, čas vytvoření, umístění atd.These details include the kind of account, creation time, location, and so on.
Obnovení odstraněného účtuRecover a deleted account
Může se jednat o situaci, kdy potřebujete obnovit odstraněný účet.You may be in a situation where you need to recover a deleted account.
V centru Azure Stack existuje jednoduchý způsob, jak to provést:In Azure Stack Hub, there's a simple way to do that:
Přejděte do seznamu účty úložiště.Browse to the storage accounts list. Další informace najdete v tématu vyhledání účtu úložiště v horní části tohoto článku.For more information, see Find a storage account at the top of this article.
V seznamu vyhledejte příslušný účet.Locate that particular account in the list. Možná budete muset filtrovat.You may need to filter.
Ověřte stav účtu.Check the state of the account. Měl by se jednat o odstranění.It should say Deleted.
Vyberte účet, který otevře podokno Podrobnosti o účtu.Select the account, which opens the account details pane.
V horní části tohoto podokna najděte tlačítko obnovit a vyberte ho.On top of this pane, locate the Recover button and select it.
Akci potvrďte výběrem Ano.Select Yes to confirm.
Obnovení se nyní zpracovává.The recovery is now in process. Počkejte na indikaci, že byla úspěšná.Wait for an indication that it was successful. Můžete také vybrat ikonu zvonku v horní části portálu a zobrazit indikace průběhu.You can also select the "bell" icon at the top of the portal to view progress indications.
Po úspěšné synchronizaci obnoveného účtu ho můžete znovu použít.Once the recovered account is successfully synchronized, it can be used again.
Některé možná úskalíSome Gotchas
Váš odstraněný účet zobrazuje stav jako Neuchování.Your deleted account shows state as out of retention.
Neuchování znamená, že odstraněný účet překročil dobu uchování a nemusí být obnovitelný.Out of retention means that the deleted account has exceeded the retention period and may not be recoverable.
Odstraněný účet se nezobrazí v seznamu účty.Your deleted account doesn't show in the accounts list.
Účet se v seznamu účtů nemusí zobrazovat, pokud byl odstraněný účet už uvolněný z paměti.You account may not show in the account list when the deleted account has already been garbage collected. V takovém případě ho nelze obnovit.In this case, it can't be recovered. Další informace najdete v tématu nárok na kapacitu v tomto článku.For more information, see Reclaim capacity in this article.
Nastavení doby uchováváníSet the retention period
Nastavení doby uchovávání umožňuje operátorovi cloudu nastavit časové období ve dnech (od 0 do 9 999 dnů), během kterého je potenciálně možné obnovit jakýkoli odstraněný účet.The retention period setting allows a cloud operator to specify a time period in days (between 0 and 9999 days) during which any deleted account can potentially be recovered. Výchozí doba uchovávání je nastavená na 0 dnů.The default retention period is set to 0 days. Nastavení na hodnotu 0 znamená, že se všechny odstraněné účty okamžitě vyjmou z uchovávání a označí se pro pravidelné uvolňování paměti.Setting the value to "0" means that any deleted account is immediately out of retention and marked for periodic garbage collection.
Postup změny doby uchování:To change the retention period:
Přihlaste se k portálu pro správu
https://adminportal.local.azurestack.external
.Sign in to the administrator portalhttps://adminportal.local.azurestack.external
.V části Správa vyberte všechny služby > Správa oblastí . Select All services > Region management under Administration.
Vyberte prostředky > > Nastavení úložiště poskytovatelé.Select Resources providers > Storage > Settings. Vaše cesta je domovská > oblast – poskytovatelé prostředků > úložiště.Your path is Home > region - Resource providers > Storage.
Vyberte Konfigurace a pak upravte hodnotu Doba uchování.Select Configuration then edit the retention period value.
Nastavte počet dnů a pak ho uložte.Set the number of days and then save it.
Tato hodnota je okamžitě účinná a je nastavená pro celou oblast.This value is immediately effective and is set for your entire region.
Uvolnit kapacituReclaim capacity
Jedním z vedlejších účinků, které mají dobu uchování, je to, že odstraněný účet bude nadále spotřebovávat kapacitu, dokud nepřijde do doby uchování.One of the side effects of having a retention period is that a deleted account continues to consume capacity until it comes out of the retention period. Jako operátor cloudu budete možná potřebovat způsob, jak uvolnit odstraněné místo na účtu, i když doba uchování ještě nevypršela.As a cloud operator, you may need a way to reclaim the deleted account space even though the retention period hasn't yet expired.
Kapacitu můžete uvolnit buď pomocí portálu, nebo pomocí PowerShellu.You can reclaim capacity using either the portal or PowerShell.
Postup uvolnění kapacity pomocí portálu:To reclaim capacity using the portal:
Přejděte do podokna účty úložiště.Navigate to the storage accounts pane. Viz najít účet úložiště.See Find a storage account.
V horní části podokna vyberte uvolnit místo .Select Reclaim space at the top of the pane.
Přečtěte si zprávu a pak vyberte OK.Read the message and then select OK.
Počkejte na oznámení o úspěšném dokončení.Wait for success notification. Podívejte se na ikonu zvonku na portálu.See the bell icon on the portal.
Aktualizujte stránku účty úložiště.Refresh the Storage accounts page. Odstraněné účty již nejsou v seznamu zobrazeny, protože byly vymazány.The deleted accounts are no longer shown in the list because they've been purged.
Pomocí prostředí PowerShell můžete také explicitně přepsat dobu uchování a okamžitě uvolnit kapacitu.You can also use PowerShell to explicitly override the retention period and immediately reclaim capacity.
Postup uvolnění kapacity pomocí prostředí PowerShell:To reclaim capacity using PowerShell:
- Potvrďte, že máte nainstalovanou a nakonfigurovanou Azure PowerShell.Confirm that you have Azure PowerShell installed and configured. V takovém případě postupujte podle následujících pokynů:If not, use the following instructions:
- Pokud chcete nainstalovat nejnovější verzi Azure PowerShell a přidružit ji k předplatnému Azure, přečtěte si téma Jak nainstalovat a nakonfigurovat Azure PowerShell.To install the latest Azure PowerShell version and associate it with your Azure subscription, see How to install and configure Azure PowerShell. Další informace o rutinách Azure Resource Manager najdete v tématu použití Azure PowerShell s Azure Resource Manager.For more information about Azure Resource Manager cmdlets, see Using Azure PowerShell with Azure Resource Manager.
- Spusťte následující rutiny:Run the following cmdlets:
Poznámka
Pokud tyto rutiny spustíte, trvale odstraníte účet a jeho obsah.If you run these cmdlets, you permanently delete the account and its contents. Nedá se zotavit.It's not recoverable. Používejte s ním péči.Use this with care.
$farm_name = (Get-AzsStorageFarm)[0].name
Start-AzsReclaimStorageCapacity -FarmName $farm_name
Další informace najdete v dokumentaci k prostředí PowerShell centra Azure Stack.For more information, see Azure Stack Hub PowerShell documentation.
Další krokyNext steps
- Informace o správě oprávnění najdete v tématu Nastavení oprávnění k přístupu pomocí řízení přístupu na základě role.For information on managing permissions, see Set access permissions using role-based access control.
- Informace o správě kapacity úložiště pro centrum Azure Stack najdete v tématu Správa kapacity úložiště pro centrum Azure Stack.For information on managing storage capacity for Azure Stack Hub, see Manage storage capacity for Azure Stack Hub.