Displays information about providers.
Syntax
|
Parameters
–system system
Specifies the storage system name and selects the provider(s) managing the respective storage system(s). This parameter supports wildcards (*). If the parameter system is not specified, all providers in the StorMan repository are displayed, unless a special provider is selected by -ip.
–ip ip
Selects the provider by it's IP address. If parameter ip and system are not specified, all providers in the StorMan repository are displayed.
–showsystems
additionally lists all storage systems managed by the selected provider.
–format format
Specifies the output format. Refer to the description of the "Format parameter".
Return codes
Error Code | Name | Error Type |
0 |
| Function successful |
3 |
| Version not supported |
7 |
| Specified parameters invalid |
13 |
| Error in StorMan communication between client and server |
16 |
| Unexpected error in function |
18 |
| Specified host was not found |
22 |
| Provider or database not available |
36 |
| User / password for StorMan not valid |
Examples
Output for provider with
–format std
(default)storcfg provider –show
provider 172.17.67.121 hostname IP 172.17.67.121 user root connection OK interface SMI-S storage ETERNUS_DX/AF vendor FUJITSU version V05L86-0000
Output for provider with
–format medium
storcfg provider –show –format medium
192.1.0.0 connection=Ok version=V05L00-0000
Output for provider with
–format=xmlp
storcfg provider –show –format xmlp
<Response> <ReturnCode> <Code>STORMAN_OK</Code> <CodeNumber>0</CodeNumber> <Text>successful</Text> <SubCode>0</SubCode> <SubCodeText>STORMAN_SUB_NONE</SubCodeText> <AdditionalInformation/> <MessageID>1</MessageID> <ConnectionID>58F0AC3DB7650</ConnectionID> </ReturnCode> <Result> <Providers> <Provider> <HostName/> <IP>172.17.67.121</IP> <OwnIP/> <PortHttp/> <PortHttps>5989</PortHttps> <User>root</User> <SnmpCommunity/> <InteropNamespace>interop</InteropNamespace> <CliRefreshTime/> <AuthorizationType>2</AuthorizationType> <CliInitSuccessful>false</CliInitSuccessful> <ConnectStatusValue>4</ConnectStatusValue> <ConnectStatus>STORMAN_PROVIDER_CONNECT_OK</ConnectStatus> <InterfaceType>STORMAN_INTERFACE_TYPE_SMIS</InterfaceType> <StorageModel>ETERNUS_DX/AF</StorageModel> <Vendor>FUJITSU</Vendor> <VersionString>V05L86-0000</VersionString> <IsProxyProvider>no</IsProxyProvider> <DiscoverPending>false</DiscoverPending> <StorageSystems> </StorageSystems> </Provider> </Providers> </Result> </Response>