Hp/3PAR: Unterschied zwischen den Versionen
Cbs (Diskussion | Beiträge) (→Infos for HP (creating Case)) |
Cbs (Diskussion | Beiträge) |
||
Zeile 148: | Zeile 148: | ||
> showsys -space | > showsys -space | ||
+ | |||
+ | |||
+ | === Chech Hardware === | ||
+ | |||
+ | > admithw | ||
+ | |||
+ | Check Hardware and try to fix issues. Initialize new disks | ||
Version vom 20. November 2020, 08:02 Uhr
Inhaltsverzeichnis
Diag
Infos for HP (creating Case)
> showsys > showsys -d
(System Information inclusing serial)
> servicemag status
(shows if any drive was already evacuated)
> showpd -s > showpd -state
(show the state of all drives)
> showpd -i
(show the drive inventory including type and serial)
> showport -sfp [-d]
(show the SFP ports and their status [detailed list])
showsys (System info)
Help page
showsys - Show system information. SYNTAX showsys [options] DESCRIPTION The showsys command displays the HP 3PAR Storage system properties such as a system name, serial number, and system capacity information. AUTHORITY Any role in the system OPTIONS -d Specifies that more detailed information about the system is displayed. -param Specifies that the system parameters are displayed. -fan Displays the system fan information. -space Displays the system capacity information in MB (1024^2 bytes). -domainspace Displays the system capacity information broken down by domain in MB (1024^2 bytes). -desc Displays the system descriptor properties. -devtype FC|NL|SSD Displays the system capacity information where the disks must have a device type string matching the specified device type; either Fast Class (FC), Nearline (NL), Solid State Drive (SSD). This option can only be issued with the -space option. SPECIFIERS None. NOTES See setsys command for information on setting the threshold parameters indicated by the Value column in the output for showsys -param. In the output for showsys -param, (from configured settings) indicates that the system parameters displayed have been successfully read from the Persistent Repository (PR). If the PR is not available (most likely because of problems with the admin volume), the output reads (from default settings) and the values displayed would indicate the system defaults. When (from default settings) is displayed, system parameters cannot be updated. If the VVRetentionTimeMax is 0, then the volume retention time in the system is disabled. For the system capacity information, there might be some overlaps among Volumes, System, and Failed Capacities. EXAMPLES The following example displays the system descriptor properties of a HP 3PAR storage system: cli% showsys -desc ------------System s36------------ System Name : s36 Location : Your Facility Address Owner : Your Company Name Contact : Joe Admin Comment : Your Notes The following example displays more detailed (-d option) information about the same storage server: cli% showsys -d ------------General------------- System Name : S424 System Model : HP_3PAR 7200 Serial Number : 1600424 System ID : 424 Number of Nodes : 2 Master Node : 0 Nodes Online : 0,1 Nodes in Cluster : 0,1 -----System Capacity (MB)----- Total Capacity : 6277120 Allocated Capacity : 687872 Free Capacity : 5589248 Failed Capacity : 0 ---------System Fan--------- Primary Node ID : 0 Secondary Node ID : 1 State : OK LED : Green Speed : Normal Primary Node ID : 1 Secondary Node ID : 0 State : OK LED : Green Speed : Normal --------System Descriptors-------- Location : Owner : Contact : Comment :
Space details
> showsys -space
Chech Hardware
> admithw
Check Hardware and try to fix issues. Initialize new disks
IOPS Stats
statvlun -ni -iter 1 -hostsum
Output:
14:09:22 10/13/2018 r/w I/O per second KBytes per sec Svt ms IOSz KB Hostname Cur Avg Max Cur Avg Max Cur Avg Cur Avg Qlen FF1EPPINFVMH02 t 105 105 105 2278 2278 2278 0.42 0.42 21.7 21.7 0 ...
Virtual Volumes
yadda
Show Virtual Volumes
showvv -listcols
showvv -showcols Name,VV_WWN,SnpCPG
Create Virtual Volume
createvv -tpvv -pol zero_detect -snp_cpg FC_Snap FC_r6 FF3_VMW_AO_03 4194304
-Tpvv Thin provisions Virtual Volume -pol zero_detect I believe it is needed to thin luns -snp_cfg FC_Snap Where the writes will go for snapshots. HP refers to this as snap or copy space FF3_VMW_AO_03 Name: this is the lun name 4194304 Size: This is the number to 4tb
Move volume to another CPG using tunevv
Assuming I want to move a virtual volume (VV12_AO) to another new CPG (FC_r6):
tunevv usr_cpg FC_r6 VV12_AO
The logical disks used for user space are moved to CPG FC_r6 for virtual volume VV12_AO If you want to move the VV regions only use:
tunevv usr_cpg FC_r6 -src_cpg FC_r5 VV12_AO
Assuming I want to move a virtual volume (VV12_AO) to another new SnapCPG (FC_Snap):
tunevv snp_cpg FC_Snap VV12_AO
Unfortunatly you will have to run both commands seperatly. As of the documentation they can't be combined.
Auth LDAP
yadda
Set LDAP auth
setauthparam -f -clearall setauthparam -f ldap-server 10.30.111.112 setauthparam -f ldap-server-hn STGWPVEURDC02.<DOMAIN>.<DOMAIN>.com setauthparam -f kerberos-realm <DOMAIN>.<DOMAIN>.com setauthparam -f binding sasl setauthparam -f sasl-mechanism GSSAPI setauthparam -f accounts-dn "OU=PrivilegedAccounts,OU=Accounts,DC=<DOMAIN>,DC=<DOMAIN>,DC=com" setauthparam -f account-obj user setauthparam -f account-name-attr sAMAccountName setauthparam -f memberof-attr memberOf setauthparam -f super-map "CN=SAN_Admins,OU=PrivilegedRoles,OU=Groups,DC=<DOMAIN>,DC=<DOMAIN>,DC=com" setauthparam -f browse-map "CN=SAN_ReadOnly,OU=PrivilegedRoles,OU=Groups,DC=<DOMAIN>,DC=<DOMAIN>,DC=com"
Check that it works for you:
checkpassword <LDAP-Username> ... ... user <LDAP-Username> is authenticated and authorized
Get LDAP auth config
% showauthparam Param --------------------------------------Value--------------------------------------- ldap-server 10.30.111.106 ldap-server-hn DC05.<DOMAIN>.<TLD> kerberos-realm <DOMAIN>.<TLD> binding sasl sasl-mechanism GSSAPI [...]
Network
yadda
get network settings
% shownet IP Address Netmask/PrefixLen Nodes Active Speed Duplex AutoNeg Status 10.11.12.100 255.255.255.0 01 0 1000 Full Yes Active Default route : 10.11.12.1 NTP server : 10.30.111.111 DNS server : 10.11.12.42
set DNS server
Add:
setnet dns -add 10.30.111.111
Remove:
setnet dns -remove 10.30.111.111
re-new expired certificates
Show the actual cert:
% showcert Service Commonname Type Enddate Fingerprint unified-server* HP_3PAR 8200-CZ3740W5MD cert Oct 16 15:36:12 2020 GMT bdae8ff911a32e50a65a81dbae656b46112fa992
Renew the cert:
createcert unified-server -selfsigned -CN 3par.yadda.com -SAN DNS:3par-alias.yadda.com,DNS:10.12.13.14 The following services will be restarted if currently running: cim: manages communications with SMI-S clients wsapi: Web Services API server Continue creating self-signed certificate (yes/no)? yes Self-signed certificate created. cimserver restarted The Web Services API server stopped successfully. The Web Services API Server will start shortly.
Done!