Hp/3PAR: Unterschied zwischen den Versionen
Aus SchnallIchNet
< Hp
Cbs (Diskussion | Beiträge) (→Show Virtual Volumes) |
Cbs (Diskussion | Beiträge) |
||
Zeile 71: | Zeile 71: | ||
setauthparam -f browse-map "CN=SAN_ReadOnly,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> | </pre> | ||
+ | |||
=== Get LDAP auth config === | === Get LDAP auth config === | ||
<pre> | <pre> | ||
− | showauthparam | + | % showauthparam |
Param --------------------------------------Value--------------------------------------- | Param --------------------------------------Value--------------------------------------- | ||
ldap-server 10.30.111.106 | ldap-server 10.30.111.106 | ||
Zeile 84: | Zeile 85: | ||
[...] | [...] | ||
</pre> | </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 11. Juli 2018, 11:34 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)
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"
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