HP StorageWorks 8000 - NAS Скачать руководство пользователя страница 38

Command Reference

38

HP StorageWorks NAS 8000 Command Reference

outParam[0] = Raw device file

getStorageDasdScsiLunGenericDeviceFile

Returns the generic device file used to access a SCSI LUN. Generic device files are most 
commonly used to send raw SCSI commands to devices. 

inParam[0] = SCSI LUN name 

outParam[0] = Generic device file 

getStorageDasdScsiLunRedundancygroup 

Returns the redundancy group number that this DASD LUN is on. This command should only 
be used on LUNs that are on an HP VA7xxx storage array. 

inParam[0] = SCSI LUN name 

outParam[0] = Redundancy group number

getStorageDasdScsiLunNumber

Returns the number of the specified LUN.

inParam[0] = SCSI LUN name 

outParam[0] = LUN number 

getStorageDasdScsiLunCapacity

Returns the capacity of the specified LUN.

inParam[0] = SCSI LUN name 

inParam[1] = Units (B,MB,GB) 

outParam[0] = LUN capacity (MB - unless overridden by inParam[1]) 

getStorageDasdScsiLunInUse

Informs whether the specified LUN is in use, that is, whether it is part of a volume group.

inParam[0] = SCSI LUN name 

outParam[0] = T (in use) or F (Not in use) 

getStorageDasdScsiLunDasd

Returns the name of the specified LUN.

inParam[0] = SCSI LUN name 

outParam[0:N] = DASD name 

Volume Group Settings

A volume group is the aggregation of one or more LUNs. Volume groups combine the space 
from LUNs and make the space accessible to the file system for creating file volumes and 
directories, which can then be made accessible to users. The following text commands are 
used to create and manage volume groups.

getStorageVolumegroupSystemList

Returns a list of existing system-data volume group names. 

outParam[0:N] = Volume group name list

Содержание StorageWorks 8000 - NAS

Страница 1: ...command reference hp StorageWorks nas 8000 command reference NAS OS version 1 6 0 Edition March 2003 Part Number A7418 96025 ...

Страница 2: ...paq Computer Corporation is a wholly owned subsidiary of Hewlett Packard Company Java and all Java based marks are trademarks or registered trademarks of Sun Microsystems Inc Microsoft Windows and Windows NT are trademarks of Microsoft Corporation UNIX is a registered trademark of The Open Group All other product names mentioned herein may be trademarks of their respective companies Hewlett Packar...

Страница 3: ...etworkCardGatewayAddress 20 setNetworkCardGatewayAddress 20 getNetworkCardInterfaceName 20 getNetworkCardIpAddress 20 setNetworkCardIpAddress 20 getNetworkCardMacAddress 21 getNetworkCardMtu 21 setNetworkCardMtu 21 getNetworkCardReceiveErrors 21 getNetworkCardReceivePackets 21 getNetworkCardSpeed 21 getNetworkCardSubnetMask 21 setNetworkCardSubnetMask 21 getNetworkCardTransmitBytes 22 getNetworkCa...

Страница 4: ...bled 26 setNetworkNisEnabled 26 getNetworkNisCurrentServerName 26 getNetworkNisServerName 26 setNetworkNisServerName 26 Network SNMP Settings 26 getNetworkSnmpTrapDestVersion 26 getNetworkSnmpCommunityString 26 setNetworkSnmpCommunityString 27 getNetworkSnmpTrapDestVersion 27 setNetworkSnmpTrapDestVersion 27 getNetworkSnmpTrapDestCommunity 27 setNetworkSnmpTrapDestCommunity 27 getNetworkSnmpTrapDe...

Страница 5: ...eRunning 32 getStorageDasdScsiVa7xxxAlias 32 setStorageDasdScsiVa7xxxAlias 33 getStorageDasdScsiVa7xxxUniqueName 33 getStorageDasdScsiVa7xxxHealth 33 getStorageDasdScsiVa7xxxRebuilding 33 getStorageDasdScsiVa7xxxRebuildPercentComplete 33 getStorageDasdScsiVa7xxxCapacities 33 getStorageDasdScsiVa7xxxRedundancygroupMinimumNumber 33 getStorageDasdScsiVa7xxxRedundancygroupMaximumNumber 34 getStorageDa...

Страница 6: ...acity 38 getStorageDasdScsiLunInUse 38 getStorageDasdScsiLunDasd 38 Volume Group Settings 38 getStorageVolumegroupSystemList 38 getStorageVolumegroupUserList 39 getStorageVolumegroupExists 39 getStorageVolumegroupActivated 39 addStorageVolumegroupUser 39 getStorageVolumegroupList 39 addStorageVolumegroup 39 addStorageVolumegroupLuns 39 deleteStorageVolumegroup 39 deleteStorageVolumegroupLuns 39 se...

Страница 7: ...rageVolumeSnapshotVolumeFile 44 getStorageVolumeSnapshotExpiration 45 setStorageVolumeSnapshotExpiration 45 getStorageVolumeSnapshotAutogrowEnabled 45 setStorageVolumeSnapshotAutogrowEnabled 45 Storage Quota Settings 45 getStorageQuotaEnabled 46 setStorageQuotaEnabled 46 Share Settings 47 getStorageShareList 47 getStorageShareCount 47 addStorageShare 47 removeStorageShare 47 getStorageSharePath 47...

Страница 8: ...st 54 getNetworkNfsMaxConnections 54 setNetworkNfsMaxConnections 54 Admin Settings 55 importSystemPasswdFile 55 importSystemGroupFile 55 setSystemReservedDomainRange 55 getSystemReservedDomainRange 55 getSystemAdminDebugLevel 55 setSystemAdminDebugLevel 55 getSystemAdminPassword 55 setSystemAdminPassword 55 Local Admin Settings 56 getSystemLocalAdminAssetNumber 56 setSystemLocalAdminAssetNumber 56...

Страница 9: ...etSystemTime 60 getSystemTimezoneCurrentGmt 61 getSystemTimezoneEnabled 61 setSystemTimezoneEnabled 61 getSystemTimezoneCurrentDescription 61 getSystemTimezoneCurrentCountry 61 getSystemTimezoneList 61 getSystemTimezoneCurrentName 61 getSystemTimezoneCurrentGmt 61 System NTP Settings 61 addSystemNtpServer 61 getSystemNtpEnabled 62 getSystemNtpServerList 62 setSystemNtpEnabled 62 Email Settings 62 ...

Страница 10: ...emShortProductName 66 getSystemUptime 66 doSystemReboot 66 doSystemShutdown 67 invokeSystemTool command flags args 67 Software Module Settings 68 getSystemPackageAuthorized 68 getSystemPackageDescription 68 getSystemPackageEnabled 68 setSystemPackageEnabled 68 getSystemPackageList 68 getSystemPackageName 68 getSystemPackageVersion 68 getSystemPackageWebpage 69 setSystemPackageWebpage 69 installSys...

Страница 11: ...lusterNode 74 stopClusterNode 74 getClusterName 75 setClusterName 75 getClusterStatus 75 getClusterQsHost 75 setClusterQsHost 75 getClusterAutoStartEnabled 75 setClusterAutoStartEnabled 75 getClusterNodeNameList 75 setClusterNodeNameList 75 getClusterHeartbeatNetworkCardList 75 setClusterHeartbeatNetworkCardList 75 getClusterQsPollingInterval 76 setClusterQsPollingInterval 76 getClusterHeartbeatIn...

Страница 12: ...AutoRun 80 setClusterPackageAutoRun 80 getClusterPackageNodeFailFastEnabled 80 setClusterPackageNodeFailFastEnabled 80 getClusterPackageServiceFailFastEnabled 81 setClusterPackageServiceFailFastEnabled 81 getClusterPackageServiceHaltTimeout 81 setClusterPackageServiceHaltTimeout 81 Cluster Operation 81 setClusterSystemReservedDomainRange 81 mapClusterSystemWindowsUserNameToUnixUserName 81 mapClust...

Страница 13: ...SystemLocalAdminContactEmail 85 setClusterSystemLocalAdminLocation 85 setClusterSystemLocalAdminRackId 85 setClusterSystemLocalAdminRackPosition 85 setClusterSystemSyslogServerName 85 setClusterSystemUidEmailAddress 85 setClusterSystemUidEmailAddress 85 Disaster Recovery 86 recoverSystemStorageDedicatedAttachConfig 86 recoverSystemStorageSanConfig 86 recoverSystemStorageRegistryConfig 87 recoverSy...

Страница 14: ...Contents 14 HP StorageWorks NAS 8000 Command Reference ...

Страница 15: ...he HP NAS 8000 administrative tasks can be accomplished with the Command View NAS web interface the HP NAS 8000 also includes a command line interface that allows you to manually enter commands or to run batch commands and scripts using either a serial connection or telnet ...

Страница 16: ...llowing settings Bits per second 9600 Data bits 8 Parity None Stop bits 1 Flow control None To connect using telnet enter the following command on a remote computer telnet xxx xxx xxx xxx where xxx xxx xxx xxx is the IP address of the HP NAS 8000 system To log in to the system Press enter until you see the system name and login prompt Log in as admin No password is required until you set one using...

Страница 17: ...mmand to be entered Input parameters inParam are entered at the end of the command and are separated by spaces Output parameters outParam are displayed on screen or returned to the command script Table 1 Sample Command Syntax getNetworkCardList bond0 bond1 eth0 command outParam 0 outParam 1 outParam 2 getNetworkCardIpAddress eth0 10 1 1 1 command inParam 0 outParam 0 setNetworkCardIpAddress eth0 1...

Страница 18: ...g commands such as the following example Table 2 Example Command Script for each i getNetworkCardList puts Network Card Info i puts ip address getNetworkCardIpAddress i puts subnet mask getNetworkCardSubnetMask i Network Card Info bond0 ip address 0 0 0 0 subnet mask 0 0 0 0 Network Card Info bond1 ip address 0 0 0 0 subnet mask 0 0 0 0 Network Card Info eth0 ip address 10 10 0 1 subnet mask 255 2...

Страница 19: ... the NIC assigned for accessing the Command View NAS web interface outParam 0 Network card name setSystemManagementNetworkCard Sets the NIC assigned for accessing the Command View NAS web interface The default is the on board network port eth0 If you change the port designated as the management port be sure to note to new IP configuration as this is only way to re establish communication with your...

Страница 20: ...Identifies whether the specified NIC is enabled inParam 0 Network card name outParam 0 T Enabled or F Disabled getNetworkCardGatewayAddress Returns the gateway address for the specified NIC inParam 0 Network card name outParam 0 Gateway address setNetworkCardGatewayAddress Sets the gateway address for the specified NIC inParam 0 Network card name inParam 1 Gateway address getNetworkCardInterfaceNa...

Страница 21: ...twork card name inParam 1 MTU getNetworkCardReceiveErrors Returns the number of errors received by the specified NIC since any NIC configuration changes were made inParam 0 Network card name outParam 0 Receive Error Count getNetworkCardReceivePackets Returns the number of packets received by the specified NIC since any NIC configuration changes were made inParam 0 Network card name outParam 0 Rece...

Страница 22: ...abling bonding a failover mechanism that automatically switches a specific NIC port to a standby network upon the failure or abnormal termination of the currently active system By default the lowest numbered NIC provides the addresses of the bond channel but you can change the addresses manually Note Enabling DHCP disables NIC bonding and enabling NIC bonding disables DHCP Enabling DHCP or NIC bon...

Страница 23: ...nd link up inParam 0 Network card name outParam 0 Bond up delay setNetworkCardBondUpDelay Sets the time in milliseconds for the specified NIC to delay after bondEnslave before bringing the bond link up inParam 0 Network card name inParam 1 Bond up delay getNetworkCardBondDownDelay Returns the time in milliseconds for the specified NIC to delay after bondRelease before taking the bond link down inP...

Страница 24: ...t is their bond master has failed inParam 0 Bond master NIC handle outParam 0 N Slave network card names getNetworkCardBondSlaveList Returns a list of network cards that are bond slaves inParam 0 Bond master NIC handle outParam 0 N Slave network card names getNetworkCardBondMasterList Returns a list of network cards that are bond masters outParam 0 N Network card names ...

Страница 25: ...NS Server Addresses can be specified These should be entered in the appropriate search order In other words enter the IP address of the Primary DNS first followed by the IP address of the secondary DNS and so on until all of your Domain Name Servers have been identified inParam 0 N DNS address list Values must be separated by spaces for example setNetworkDnsAddressList 10 1 1 1 10 1 1 2 10 1 1 3 N...

Страница 26: ...o at boot outParam 0 NIS server name setNetworkNisServerName Sets the NIS server the HP NAS 8000 system will attempt to connect to at boot inParam 0 NIS server name Network SNMP Settings If you are using a Simple Network Management Protocol SNMP tool you can define the names or IP addresses of hosts to receive notification in case of an event This information is optional and does not affect the fu...

Страница 27: ...ty Returns the SNMP community name for this Trap Destination default public inParam 0 Destination number outParam 0 Value setNetworkSnmpTrapDestCommunity Sets the SNMP community name for this Trap Destination default public inParam 0 Destination number inParam 1 Value getNetworkSnmpTrapDestDomain Returns the Domain for this Trap Destination currently only UDP is supported inParam 0 Destination num...

Страница 28: ...aram 0 Value getNetworkSnmpTrapDestList Returns the complete list of Trap Destination Addresses outParam 0 N List of trap destination hostnames or IP addresses setNetworkSnmpTrapDestList Sets the complete list of Trap Destination Addresses Deletes all current Trap Destinations and creates new ones based on this list of addresses Status is set to active all other parameters are not created and will...

Страница 29: ...he specified client that is what part of the storage are they using inParam 0 Network client ID outParam 0 Path used by client if applicable getNetworkClientInfoVolume Returns the name of the file volume being used by the specified client inParam 0 Network client ID outParam 0 Volume used by client if applicable getNetworkClientInfoVolumeDir Returns the name of the sub directory being used by the ...

Страница 30: ...ed States specific format getNetworkClientInfoComment Returns the comment associated with the specified network client inParam 0 Network client ID outParam 0 Extra information about network client if applicable Misc Network Settings getNetworkConfigured Identifies whether or not the network is configured outParam 0 T configured or F not configured ...

Страница 31: ...or array getStorageDasdSerialNumber Returns the serial number of the specified storage device inParam 0 DASD name outParam 0 DASD serial number getStorageDasdVendor Returns the vendor name of the specified DASD as returned by SCSI inquiry inParam 0 DASD name outParam 0 DASD vendor getStorageDasdProduct Returns the product IS of the specified DASD as returned by SCSI inquiry inParam 0 DASD name out...

Страница 32: ...ASD name outParam 0 SCSI DASD target ID getStorageDasdScsiMaxNumberLuns Returns the maximum number of LUNs supported by the system outParam 0 Maximum number of user data LUNs getStorageDasdScsiVa71xxList Returns a list of the storage arrays connected to the HP NAS 8000 system outParam 0 N SCSI DASD Va71xx name list getStorageDasdScsiVa74xxList Returns a list of VA74xx disk arrays attached to the s...

Страница 33: ...m 0 SCSI VA7xxx DASD name outParam 0 T rebuilding or F not rebuilding getStorageDasdScsiVa7xxxRebuildPercentComplete When a storage array is rebuilding data Returns the percent complete inParam 0 SCSI VA7xxx DASD name outParam 0 Rebuilding percentage 0 99 getStorageDasdScsiVa7xxxCapacities Returns the capacity and other configurations of the specified storage array inParam 0 SCSI VA7xxx DASD name ...

Страница 34: ... overridden by inParam 1 getStorageDasdScsiVa7xxxAllocatedCapacity Returns the allocated capacity that is space included in volume groups for the specified storage array inParam 0 SCSI VA7xxx DASD name inParam 1 Units B MB GB outParam 0 Device capacity MB unless overridden by inParam 1 getStorageDasdScsiVa7xxxActiveSpareCapacity Returns the capacity of the active spare on the specified storage arr...

Страница 35: ...tdownStorageDasdScsiVa7xxx Shuts down the specified storage array inParam 0 SCSI VA7xxx DASD name restartStorageDasdScsiVa7xxx Restarts the specified storage array inParam 0 SCSI VA7xxx DASD name getStorageDasdScsiVa7xxxLunList Returns a list of LUNs on the specified storage array inParam 0 SCSI VA7xxx DASD name outParam 0 N LUN number list getStorageDasdScsiVa7xxxLunMinimumCapacity Returns the mi...

Страница 36: ... the specified LUN on the specified storage array inParam 0 SCSI VA7xxx DASD name inParam 1 LUN number inParam 2 Units B MB GB outParam 0 Device capacity MB unless overridden by inParam 1 getStorageDasdScsiVa7xxxLun Returns the name of the specified LUN on the specified storage array inParam 0 SCSI VA7xxx DASD name inParam 1 LUN number outParam 0 SCSI LUN name getStorageDasdScsiVa7xxxLunRedundancy...

Страница 37: ...ups outParam 0 N SCSI LUN name list getStorageDasdScsiInternalLunList Returns a list of SCSI DASD LUNs that are on internally mounted DASDs Internal DASD LUNs are used for system functions They are never used to store user data outParam 0 N SCSI LUN name list getStorageDasdScsiExternalLunList Returns a list of SCSI LUNs that are part of externally attached usually through a Fibre channel connectio...

Страница 38: ...unCapacity Returns the capacity of the specified LUN inParam 0 SCSI LUN name inParam 1 Units B MB GB outParam 0 LUN capacity MB unless overridden by inParam 1 getStorageDasdScsiLunInUse Informs whether the specified LUN is in use that is whether it is part of a volume group inParam 0 SCSI LUN name outParam 0 T in use or F Not in use getStorageDasdScsiLunDasd Returns the name of the specified LUN i...

Страница 39: ...t of DASD LUNs This command is exactly equivalent to the addStorageVolumegroup command inParam 0 Volume group name inParam 1 N DASD LUN names getStorageVolumegroupList Returns a list of volume groups that have been created on the HP NAS 8000 system outParam 0 N Volume group name list addStorageVolumegroup Creates a new volume group containing the space from the specified LUNs inParam 0 Volume grou...

Страница 40: ...hat can be used to create a file volume or snapshot on the specified volume group inParam 0 Volume group name inParam 1 Units B MB GB outParam 0 Minimum Volume Capacity MB unless overridden by inParam 1 getStorageVolumegroupVolumeMaximumCapacity Returns the maximum size that can be used to create a file volume or snapshot on the specified volume group inParam 0 Volume group name inParam 1 Units B ...

Страница 41: ...HP NAS 8000 File volumes can be further subdivided into individual directories The following commands are used to create and manage file volumes getStorageVolumeType Returns the type of the specified volume group file volume or snapshot InParam 0 Volume name outParam 0 Volume Type getStorageVolumeList Returns a list of file volumes that exist on the storage arrays in the HP NAS 8000 solution outPa...

Страница 42: ...m 1 Units B MB GB outParam 0 Total Capacity MB unless overridden by inParam 1 getStorageVolumeAtMaximumNumberVolumes Identifies whether the maximum number of file volumes exist on the HP NAS 8000 solution outParam 0 T max reached or F below max getStorageVolumeMountPath Returns the mount path if any that is defined for UNIX sharing of the specified file volume inParam 0 Volume name outParam 0 Volu...

Страница 43: ...o increment must be equal to 0 inParam 0 Volume name inParam 1 Units B MB GB outParam 0 Minimum volume capacity MB unless overridden by inParam 1 getStorageVolumeFileList Returns a list of file volumes that exist on the HP NAS 8000 system outParam 0 N Volume name list getStorageVolumeFileSystemList Returns a list of file volumes outParam 0 N Volume name list getStorageVolumeFileUserList Returns a ...

Страница 44: ...pires the system automatically deletes it Consider your overall backup strategy in light of the snapshot expiration date For example you may want to take a snapshot of your data for a specified amount of time then when you are certain that you have a backup of your system delete the snapshot and begin the snapshot process again The system treats snapshots as part of a regular file volume The follo...

Страница 45: ... snapshot will expire inParam 0 Snapshot name inParam 1 Date mm dd yyyy or NOW inParam 2 Time 24hh mm ss or NOW OR sets the amount of time the specified snapshot will exist before expiring inParam 1 hours days weeks months years inParam 2 Count getStorageVolumeSnapshotAutogrowEnabled Identifies whether the specified snapshot will automatically grow when it nears full capacity inParam 0 Volume name...

Страница 46: ...eQuotaEnabled Identifies whether quotas are enabled for the specified file volume inParam 0 Volume name outParam 0 T Enabled or F Disabled setStorageQuotaEnabled Enables or disables quotas for the specified file volume inParam 0 Volume name inParam 0 T Enabled or F Disabled ...

Страница 47: ...o the system User level restrictions also apply to all of the files and directories on the volume Unix specific commands are covered in NFS settings Shares and exports let you control which data clients can access Host access allows you to control which client machines are allowed access to the HP NAS 8000 regardless of the user getStorageShareList Returns a list of shares and exports that exist f...

Страница 48: ...nParam 2 N Host allow list for this share OR see getStorageShareList This facilitates webFilter usage inParam 0 Volume name _ _ Share path inParam 1 N Host allow list for this share SMB Settings SMB CIFS the Windows protocol for sharing files lets client applications read and write to files CIFS is a proposed standard protocol that lets programs request files and services on remote computers on th...

Страница 49: ...bName Returns the Windows SMB name of the specified share inParam 0 Volume name inParam 1 Share path outParam 0 SMB name OR see getStorageShareList This facilitates webFilter usage inParam 0 Volume name _ _ Share path outParam 0 SMB name getStorageShareSmbComment Returns the Windows SMB comment associated with the specified share inParam 0 Volume name inParam 1 Share path outParam 0 Comment OR see...

Страница 50: ...e path inParam 2 Read Write password OR see getStorageShareList This facilitates webFilter usage inParam 0 Volume name _ _ Share path inParam 1 Read write password getStorageShareSmbRoPassword Returns the Windows SMB read only password for the specified share inParam 0 Volume name inParam 1 Share path outParam 0 Read only password OR see getStorageShareList This facilitates webFilter usage inParam...

Страница 51: ...limit your access read only and or read write to data You may define a password when you create the share User Level Security A domain controller is used to authenticate users when they access the HP NAS 8000 This requires specifying the domain name Returns the current SMB security mode outParam 0 SHARE or DOMAIN setNetworkSmbSecurityMode Sets the SMB Windows sharing security mode inParam 0 SHARE ...

Страница 52: ...domain controller is valid outParam 0 T or F Commands for Mapping Multi Byte Character Sets The following commands are used to determine how incoming multi byte characters are mapped from the incoming client code page used by the client into file names in the UNIX file system This is only useful if the client s code page and the coding system are set to supported code as listed on the smb conf man...

Страница 53: ...StorageShareNfsEnabled Enables or disables UNIX NFS sharing for the specified share inParam 0 Volume name inParam 1 Share path inParam 2 T Enable or F Disable inParam 3 NFS name Only if enabling OR see getStorageShareList This facilitates webFilter usage inParam 0 Volume name _ _ Share path inParam 1 T Enable or F Disable inParam 2 NFS name Only if enabling getStorageShareNfsName Returns the UNIX ...

Страница 54: ... allowed access to the system outParam 0 N Trusted host list for NFS setNetworkNfsTrustedHostList Sets the IP address and host name of any trusted hosts Root users on trusted hosts are given root user privileges on the HP NAS 8000 inParam 0 N Trusted host list for NFS getNetworkNfsMaxConnections Returns the maximum allowed number of simultaneous Network File System Daemons NFSD processes Maximum a...

Страница 55: ...to the system for the first time and is not a recognized user they are given a UID GID from this range of numbers This range should be outside of the range of numbers normally issued to users on the network inParam 0 Min inParam 1 Max getSystemReservedDomainRange Returns the range of UID and GID numbers that are used by the system for automatic user creation outParam 0 Min max getSystemAdminDebugL...

Страница 56: ...for the HP NAS 8000 inParam 0 Contact name getSystemLocalAdminContactPhone Lists the phone number of the primary IT contact responsible for the HP NAS 8000 outParam 0 Contact phone setSystemLocalAdminContactPhone Defines the phone number of the primary IT contact responsible for the HP NAS 8000 inParam 0 Contact phone getSystemLocalAdminContactEmail Lists the email address of the primary IT contac...

Страница 57: ...location of the HP NAS 8000 system inParam 0 Location getSystemLocalAdminRackId Returns the rack ID for the HP NAS 8000 system outParam 0 Rack ID setSystemLocalAdminRackId Defines the rack ID for the HP NAS 8000 system inParam 0 Rack ID getSystemLocalAdminRackPosition Returns the rack position for the HP NAS 8000 system outParam 0 Rack position setSystemLocalAdminRackPosition Defines the rack posi...

Страница 58: ...ns the Management URL for this SEMI compatible device outParam 0 Management URL getNetworkSnmpActiveTrapDestList Returns the complete list of active Trap Destinations outParam 0 n Management URL System Events getSystemHealth Returns the current overall Health status for the system outParam 0 Health status numeric outParam 1 Health status string Status messages include OK Warning Critical setSystem...

Страница 59: ...n about the peak load on the specified CPU inParam 0 CPU number outParam 0 Peak load percent getSystemCpuAverageLoadPercent Returns information about the average load on the specified CPU inParam 0 CPU number outParam 0 Average load percent Time and Date Settings The HP NAS 8000 uses the information on this screen to keep track of the date and time for operations such as time stamps for file gener...

Страница 60: ...lt format is m d Y T c TIME DATE for locale x DATE for locale X TIME for locale r Time am pm exact format may change with locale R H M T H M S 24 hour D m d y United States specific format setSystemDate Sets the system date inParam 0 Date MM DD YYYY or NOW getSystemTime Displays the current system time inParam 0 optional format string outParam 0 Time according to format default is T Common formats...

Страница 61: ...ption getSystemTimezoneCurrentCountry Displays the current time zone country inParam 0 Time zone name outParam 0 Time zone country getSystemTimezoneList Displays the available time zone names outParam 0 N Time zone names getSystemTimezoneCurrentName Displays the current system time zone inParam 0 Time zone name getSystemTimezoneCurrentGmt Displays the offset from GMT for the current system time zo...

Страница 62: ...In the event of a hardware failure or system alert messages are sent through the network management tool or they are logged in the system log getSystemEmailRecipientAddressList Returns a list of the email addresses for the recipients of any system alert messages that may be sent outParam 0 N Email recipient address list setSystemEmailRecipientAddressList Sets the email addresses for the recipients...

Страница 63: ...ets the email address for the user with the specified ID inParam 0 UID inParam 1 Email address Log Settings You can redirect a copy of the system log to a server you choose This allows you to manage a central location for the event log instead of working with different interfaces or systems Note Check your syslog server s documentation for instructions on enabling syslog event reception from netwo...

Страница 64: ... Info U Unknown getSystemLogEntryTimestamp Returns the time that the event triggering the specified log entry occurred inParam 0 Log entry handle inParam 1 Optional format string outParam 0 Log entry date time Default format is m d Y T c TIME DATE for locale x DATE for locale X TIME for locale r Time am pm exact format may change with locale R H M T H M S 24 hour D m d y United States specific for...

Страница 65: ...d UPS outParam 0 Status outParam 0 Status Values normal UPS support is currently disabled APC UPS is normal UPS support is enabled for APC and is functioning normally APC UPS fail to attach UPS support is enabled for APC but the system cannot communicate with the UPS APC UPS comm is pending UPS support is enabled for APC The system is in the process of establishing communications APC UPS unknown e...

Страница 66: ...etSystemProductAssetTag Returns the asset tag assigned to the HP NAS 8000 system outParam 0 Asset tag getSystemProductName Returns the product name outParam 0 Product name getSystemProductNumber Returns the product number outParam 0 Product number getSystemNasSerialNumber Returns the HP NAS 8000 solution s serial number outParam 0 Serial number getSystemMotherboardSerialNumber Returns the serial n...

Страница 67: ...It is intended for use only by trained HP Storage Specialists and must be used with extreme caution invokeSystemTool works with the following commands For more information on individual commands type the following invokeSystemTool command help armbld armcfg armcopy armdiscover armdownload armdsp armfeature armfmt armhost armlog armmgr armperf armrecover armsecure arp flags v n H cat dmesg domainna...

Страница 68: ...SystemPackageDescription Returns the description of the specified add on software module inParam 0 Package name outParam 0 Package description getSystemPackageEnabled Informs whether the specified add on software module inParam 0 Package name outParam 0 Package enable setSystemPackageEnabled Enables or disables the specified add on software module inParam 0 Package name inParam 1 Enable getSystemP...

Страница 69: ...page setSystemPackageWebpage Sets the URL for accessing the web page with information about the specified add on software module inParam 0 Package name inParam 1 Web page installSystemPackage Installs the specified add on software module from the specified URL inParam 0 Package URL inParam 1 Proxy name optional inParam 2 Proxy number optional uninstallSystemPackage Uninstalls the specified add on ...

Страница 70: ...p lets you save the map for later use or for disaster recovery Note User mapping is available only when you select user level security on the Windows Security screen User mapping using names is most useful when NIS is enabled getSystemUnixUserNamesList Returns a list of UNIX users on the system outParam 0 1 UNIX user name getSystemUnixGroupNamesList Returns a list of UNIX groups on the system outP...

Страница 71: ...temWindowsGroupNameFromUnixGroupName Unmaps the specified Windows group name from the specified UNIX domain and user name inParam 0 Windows group name inParam 1 UNIX name DOMAIN unixuser User and Group Quota Settings Quotas allow you to restrict the space usage on the HP NAS 8000 for both users and groups You also can enable default quotas for users and or groups The default quota applies to all u...

Страница 72: ... setSystemUserQuota Sets the quota settings for the specified user on the specified file volume inParam 0 User name inParam 1 Volume name inParam 2 Soft limit inParam 3 Hard limit getSystemUserQuotaList Returns a list of user quotas for the specified file volume inParam 0 Volume name outParam 0 N Quota getSystemGroupQuotaList Returns a list of group quotas for the specified file volume inParam 0 V...

Страница 73: ...olume name inParam 1 Grace period in seconds getSystemGroupGracePeriod Displays the grace period that is the amount of time groups will have access to the space after their quota is reached for the specified file volume inParam 0 Volume name outParam 0 Grace period in seconds setSystemGroupGracePeriod Sets the grace period that is the amount of time groups will have access to the space after their...

Страница 74: ...ster deleteClusterConfiguration Deletes the cluster configuration including package configurations and restores the registry to default values Nodes are now running as separate NAS servers startCluster Starts a cluster after it has been created with the applyClusterConfiguration command Starting a cluster causes three things to happen Synchronizes the registries of all nodes using the node on whic...

Страница 75: ...onfiguration InParam 0 Cluster name getClusterAutoStartEnabled Gets the AutoStartEnabled value from the registry OutParam 0 T enabled or F disabled setClusterAutoStartEnabled Stores the value in the registry and also updates the cluster configuration to reflect the change If enabled each node will attempt to join the cluster at boot time If disabled the cluster must be started manually using start...

Страница 76: ...sending heartbeats getClusterNodeTimeout Gets the timeout from the registry OutParam 0 Time period in seconds before a node is considered gone from the cluster setClusterNodeTimeout Stores the timeout in the registry how long to wait in seconds before considering a node gone from the cluster InParam 0 Interval getClusterAutoStartTimeout Gets the timeout from the registry OutParam 0 Time period in ...

Страница 77: ...ram 0 Cluster node name InParam 1 Cluster node IP address getClusterCallTimeout Returns the value from the registry OutParam 0 Timeout in seconds restartClusterAntivirus Executes restartClusterNodeAntivirus on all cluster nodes restartClusterNodeAntivirus Restarts the antivirus software Cluster Package Commands The following commands let you configure and control failover packages addClusterPackag...

Страница 78: ...ed They are deactivated but still exist InParam 0 Package name relocateClusterPackage Stops the package on the current node and starts it up on the given node Sets the value of PrimaryOwner to the new given node and applies the updated configuration InParam 0 Package name InParam 1 Node name failoverClusterPackage Stops the package on the current node and starts it up on the given node InParam 0 P...

Страница 79: ...llowed to run the package in a failover situation InParam 0 Package name OutParam 0 N Node name list getClusterPackageVirtualIpAddressList Gets from the registry the VirtualIpAddress Subnet values served by this package InParam 0 Package name OutParam 0 N VirtualIPAddress Subnet list setClusterPackageVirtualIpAddressList Required Sets the given VirtualIpAddress Subnet list for the given package In...

Страница 80: ...name OutParam 0 MANUAL or AUTOMATIC setClusterPackageFailbackPolicy Sets in the registry the failover policy for the given package The default is MANUAL InParam 0 Package name InParam 1 MANUAL or AUTOMATIC getClusterPackageAutoRun Gets from the registry value of AutoRun for this package InParam 0 Package name OutParam 0 T or F setClusterPackageAutoRun Sets in the registry the AutoRun value for the...

Страница 81: ...or the given package The default is 30 seconds InParam 0 Package name InParam 1 Time in seconds Cluster Operation The following text commands are available for cluster operations These operations are largely a simple wrapping of the basic text command but allow administration to be done from one machine and the operations mirrored on other nodes in the cluster setClusterSystemReservedDomainRange E...

Страница 82: ... all cluster nodes If no address is provided the current WINS server address is cleared InParam 0 WINS server name WINS server IP address setClusterNetworkSmbSecurityMode Executes setNetworkSmbSecurityMode on all cluster nodes InParam 0 SHARE or DOMAIN setClusterNetworkSmbDomainControllerList Executes setNetworkSmbDomainControllerList on all cluster nodes inParam 0 N Domain controller WINS names j...

Страница 83: ...ter nodes InParam 0 T enabled or F disabled setClusterNetworkNisServerName Executes setNetworkNisServerName on all cluster nodes InParam 0 NIS server name setClusterNetworkNfsTrustedHostList Executes setNetworkNfsTrustedHostList on all cluster nodes inParam 0 N List of rusted host names or IP addresses for NFS OutParam 0 None setClusterNetworkNfsMaxConnections Executes setNetworkNfsMaxConnections ...

Страница 84: ...tClusterSystemUserMapList Executes importSystemUserMapList on all cluster nodes The import file on the execution machine is rsync d to other cluster nodes and imported locally on all nodes InParam 0 Local pathname of import file importClusterSystemGroupMapList Executes importSystemGroupMapList on all cluster nodes The import file on the execution machine is rsync d to other cluster nodes and impor...

Страница 85: ...AdminLocation Executes setClusterSystemLocalAdminLocation on all cluster nodes InParam 0 Administrator contact location setClusterSystemLocalAdminRackId Executes setSystemLocalAdminRackId all cluster nodes InParam 0 Rack ID setClusterSystemLocalAdminRackPosition Executes setSystemLocalAdminRackPosition all cluster nodes InParam 0 Rack position setClusterSystemSyslogServerName Executes setSystemSys...

Страница 86: ...tachConfig a second time to complete the recovery process A hard reboot can be accomplished by cycling the power on the NAS 8000 server or by entering ALT SYREQ B from the NAS 8000 console keyboard After the storage configuration is recovered you will get a message Storage recovery operation complete At this point the NAS 8000 can be used normally However you may still have some work to do such as...

Страница 87: ...curately reflects the contents of that storage In order for the second phase of this command to work properly the storage devices must be non corrupted and contain LUNs volume groups and volumes that are compatible with the NAS 8000 operating system When recovering the volume groups and volumes the text command will attempt to determine the user assigned names of the volume groups and volumes by l...

Страница 88: ... the NAS 8000 server restoreSystemDrfFromFloppy Restores a disaster recovery file that had previously been stored on a floppy disk To restore the DRF the floppy disk must be DOS formatted and contain the file drf tar resetNasHeadToFactoryDefaultSettings Recovers the NAS server s original configuration if the server gets in a corrupt state and there is no other DRF file to recover When you first bo...

Страница 89: ... Boot partition name outParam 0 Partition active setSystemBootPartitionActive Sets the specified partition as the active boot partition inParam 0 Boot partition name inParam 1 Partition active getSystemBootPartitionList Returns a list of boot partition names outParam 0 N Partition names getSystemBootPartitionOsBuildnumber Returns the build number of the operating system inParam 0 Boot partition na...

Страница 90: ...Command Reference 90 HP StorageWorks NAS 8000 Command Reference ...

Страница 91: ...stem log 63 TCP IP 19 UNIX 25 Windows 51 copySystemDrfToFloppy 88 Creating shares 47 D Date settings 59 deleteClusterConfiguration 74 deleteClusterPackage 78 deleteStorageVolume 41 deleteStorageVolumegroup 39 deleteStorageVolumegroupLuns 39 deleteSystemHostsFileEntry 74 DHCP 19 DNS 25 Domain Name Service 25 doSystemReboot 66 doSystemShutdown 67 Dynamic Host Configuration Protocol DHCP 19 E Email n...

Страница 92: ...nfoProtocol 29 getNetworkClientInfoVolume 29 getNetworkClientInfoVolumeDir 29 getNetworkConfigured 30 getNetworkDnsAddressList 25 getNetworkDnsDomainName 25 getNetworkHostName 25 getNetworkNfsMaxConnections 54 getNetworkNfsTrustedHostList 54 getNetworkNisCurrentServerName 26 getNetworkNisDomainName 26 getNetworkNisEnabled 26 getNetworkNisServerName 26 getNetworkSmbCodePage 52 getNetworkSmbComment ...

Страница 93: ...olumeExists 41 getStorageVolumeFileList 43 getStorageVolumeFileSystemList 43 getStorageVolumeFileType 43 getStorageVolumeFileUserList 43 getStorageVolumeFileVolumeSnapshotCount 44 getStorageVolumeFileVolumeSnapshotList 44 getStorageVolumegroupActivated 39 getStorageVolumegroupAvailableCapacity 40 getStorageVolumegroupExists 39 getStorageVolumegroupList 39 getStorageVolumegroupLunList 40 getStorage...

Страница 94: ...zoneCurrentGmt 61 getSystemTimezoneCurrentName 61 getSystemTimezoneEnabled 61 getSystemTimezoneList 61 getSystemUIDEmailAddress 63 getSystemUnixGroupNamesList 70 getSystemUnixUserNamesList 70 getSystemUpsEnabled 65 getSystemUpsList 65 getSystemUpsStatus 65 getSystemUpsTitle 65 getSystemUptime 66 getSystemUserGracePeriod 72 getSystemUserMapList 70 getSystemUserQuota 72 getSystemUserQuotaList 72 get...

Страница 95: ...Timeout 81 setClusterPackageVirtualIpAddressList 79 setClusterPackageVolumegroupList 79 80 setClusterQsHost 75 setClusterQsPollingInterval 76 setClusterSystemAdminDebugLevel 83 setClusterSystemAdminPassword 83 setClusterSystemEmailRecipientAddressList 84 setClusterSystemEmailServerName 84 setClusterSystemLocalAdminAssetNumber 84 setClusterSystemLocalAdminContactEmail 85 setClusterSystemLocalAdminC...

Страница 96: ...alAdminRackPosition 57 85 setSystemManagementNetworkCard 19 setSystemNameEmailAddress 63 setSystemNtpEnabled 62 82 setSystemPackageEnabled 68 setSystemPackageWebpage 69 setSystemReservedDomainRange 55 81 setSystemSyslogServerName 65 85 setSystemTime 60 setSystemTimestamp 60 83 setSystemTimezoneEnabled 61 84 setSystemUidEmailAddress 63 85 setSystemUpsEnabled 65 84 setSystemUserGracePeriod 73 setSys...

Отзывы: