Hp/3PAR: Unterschied zwischen den Versionen
Aus SchnallIchNet
< Hp
Cbs (Diskussion | Beiträge) (→Show Virtual Volumes) |
Cbs (Diskussion | Beiträge) (→Diag) |
||
(8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
+ | |||
+ | == Diag == | ||
+ | |||
+ | === Infos for HP (creating Case) === | ||
+ | |||
+ | > showsys | ||
+ | |||
+ | (System Information inclusing serial) | ||
+ | |||
+ | |||
+ | > servicemag status | ||
+ | |||
+ | (shows if any drive was already evacuated) | ||
+ | |||
+ | |||
+ | > showpd -s | ||
+ | |||
+ | (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]) | ||
+ | |||
+ | |||
+ | === IOPS Stats === | ||
+ | |||
+ | statvlun -ni -iter 1 -hostsum | ||
+ | |||
+ | Output: | ||
+ | <pre> | ||
+ | 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 | ||
+ | ... | ||
+ | </pre> | ||
== Virtual Volumes == | == Virtual Volumes == | ||
Zeile 7: | Zeile 48: | ||
=== Show Virtual Volumes === | === Show Virtual Volumes === | ||
− | showvv | + | showvv -listcols |
showvv -showcols Name,VV_WWN,SnpCPG | showvv -showcols Name,VV_WWN,SnpCPG | ||
Zeile 22: | Zeile 63: | ||
4194304 Size: This is the number to 4tb | 4194304 Size: This is the number to 4tb | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | |||
+ | == Auth LDAP == | ||
+ | |||
+ | yadda | ||
+ | |||
+ | |||
+ | === Set LDAP auth === | ||
+ | |||
+ | <pre> | ||
+ | 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" | ||
+ | </pre> | ||
+ | |||
+ | Check that it works for you: | ||
+ | |||
+ | checkpassword <LDAP-Username> | ||
+ | ... | ||
+ | ... | ||
+ | user <LDAP-Username> is authenticated and authorized | ||
+ | |||
+ | === Get LDAP auth config === | ||
+ | |||
+ | <pre> | ||
+ | % showauthparam | ||
+ | Param --------------------------------------Value--------------------------------------- | ||
+ | ldap-server 10.30.111.106 | ||
+ | ldap-server-hn DC05.<DOMAIN>.<TLD> | ||
+ | kerberos-realm <DOMAIN>.<TLD> | ||
+ | binding sasl | ||
+ | sasl-mechanism GSSAPI | ||
+ | [...] | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | == Network == | ||
+ | |||
+ | yadda | ||
+ | |||
+ | |||
+ | === get network settings === | ||
+ | |||
+ | <pre> | ||
+ | % 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 | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | === set DNS server === | ||
+ | |||
+ | Add: | ||
+ | |||
+ | setnet dns -add 10.30.111.111 | ||
+ | |||
+ | Remove: | ||
+ | |||
+ | setnet dns -remove 10.30.111.111 |
Version vom 6. November 2019, 10:06 Uhr
Inhaltsverzeichnis
Diag
Infos for HP (creating Case)
> showsys
(System Information inclusing serial)
> servicemag status
(shows if any drive was already evacuated)
> showpd -s
(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])
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
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