hpcpack remove
Applies To: Microsoft HPC Pack 2008 R2, Microsoft HPC Pack 2012, Microsoft HPC Pack 2012 R2
Removes a package from a Windows Azure storage account. You can specify an account by using the node template name, the head node and node template name, or the Windows Azure storage account name and its storage key or Shared Access Signature (SAS) token.
Note
This subcommand was introduced in HPC Pack 2008 R2 with Service Pack 1 (SP1) and is not supported in previous versions.
Syntax
hpcPack remove <packageName> /nodetemplate:<nodeTemplateName> [/container:<containerName>]
[/usehttp] [/folder]
hpcPack remove <packageName> /scheduler:<headNodeName> </nodetemplate:<nodeTemplateName>>
[/container:<containerName>] [/usehttp] [/folder]
hpcPack remove <packageName> /account:<storageAccountName> (/key:<storageKey>|/sas:<sasToken>) >
[/container:<containerName>] [/usehttp] [/folder]
hpcPack remove {/? | /help}
Parameters
Parameter | Description |
---|---|
<packageName> |
Specifies the name of the package that you want to remove from the Windows Azure storage account. For example: myPackage.zip. |
/nodetemplate |
Specifies a Windows Azure node template. hpcpack uses the Windows Azure account name and storage key that is associated with the node template. |
/sas |
Specifies a Shared Access Signature (SAS) token. Note This parameter was introduced in Microsoft® HPC Pack 2012 and is not supported in previous versions. |
/scheduler |
Specifies the head node of the cluster. You can use this parameter along with the /nodetemplate parameter if there is no default head node specified on your computer. |
/account |
Specifies the public name of the Windows Azure storage account (the same storage name that you specify in the Windows Azure Node Template). This is the value of <storageAccountName> in the public URL of the account: https://<storageAccountName>.blob.core.windows.net. If you specify /account, you must also specify /key. |
/key |
Specifies the access key for the Windows Azure storage account. If you specify /key, you must also specify /account. |
/container |
Specifies the name of the container in the Windows Azure storage account that you want to remove the file from. If you do not specify this parameter, hpcpack will look for the file in the default location: a container named hpcpackages in the storage account. |
/usehttp |
Specifies that you want to override the default https channel and force the communication to http over port 80. Note This parameter was introduced in with Service Pack 3 (SP3) and is not supported in previous versions. |
/folder |
Specifies the name of the folder in the container that you want to remove the files in. If you do not specify this parameter hpcpack remove will remove the files from the container root. |
/? |
Displays Help at the command prompt. |
/help |
Displays Help at the command prompt. |
Remarks
Removing a package from storage ensures that the package will not be deployed to Windows Azure nodes when hpcsync runs. Hpcsync runs automatically when Windows Azure nodes are deployed or when a node instance is reprovisioned by the Windows Azure system. You can also run Hpcsync manually.
hpcpack remove does not remove files from currently deployed Windows Azure nodes.
Examples
hpcPack remove lizard.zip /nodetemplate:AzureWorker
hpcPack remove myXLL.zip /nodetemplate:”Azure Worker” /scheduler:headnode