Partager via


hpcpack view

Displays the attributes for a package that has been uploaded to a Windows Azure storage account. Attributes include the date it was uploaded, description (optionally defined during upload), and the target directory that you can use to access the files after they are deployed to the Windows Azure nodes.

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 view <packageName> /nodetemplate:<nodeTemplateName> [/container:<containerName>]   
[/usehttp]  
  
hpcpack view <packageName> /scheduler:<headNodeName> /nodetemplate:<nodeTemplateName>   
[/container:<containerName>] [/usehttp]  
  
hpcpack view <packageName> /account:<storageAccountName> (/key:<storageKey>|/sas:<sasToken>)   
[/container:<containerName>] [/usehttp]  
  
hpcPack view {/? | /help}  

Parameters

Parameter Description
<packageName> Specifies the name of the package that you want to view.

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 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 view the files in. If you do not specify this parameter, hpcpack will list the files in the default location: a container named hpcpackages in the storage account.
/usehttp Specifies that you want to override the default https channel over port 443 and force the communication to http over port 80. Note: This parameter was introduced in HPC Pack 2008 R2 with Service Pack 3 (SP3) and is not supported in previous versions.
/? Displays Help at the command prompt.
/help Displays Help at the command prompt.

Examples

hpcpack view myPackage.zip /account:accountName /key:storageKey  
hpcpack view myPackage.zip /account:accountName /sas:sasToken  
HpcPack view myPackage.zip /scheduler:headnode /nodetemplate:"node template"  
hpcPack view myXLL.zip /nodetemplate:”Azure Worker” /scheduler:headnode  

To properly display UTF-8 encoded characters in file names, run chcp 65001 to change the console encoding to UTF-8.