Hp/3PAR

Aus SchnallIchNet
< Hp
Wechseln zu: Navigation, Suche

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"

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