[root@xxx usr]# ls
servers shared
[root@xxx usr]# du -csh servers shared
2.0G servers
16K shared
2.0G total
Author: fabio
ANR3619W The user limit for open files is below the recommended minimum value of 4096
OS : Linux Redhat
Software : TSM 6.3.3.100
Error: ANR3619W The user limit for open files is below the recommended minimum value of 4096
[root@omer ~]# ps -ef | grep dsmserv
tsminst1 12003 1 20 Oct25 ? 3-11:59:24 /opt/tivoli/tsm/server/bin/dsmserv -u tsminst1 -i /home/tsminst1/tsminst1 -q
root 29357 27628 0 18:03 pts/1 00:00:00 grep dsmserv
[root@omer ~]# cat /proc/12003/limits
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 10485760 unlimited bytes
Max core file size unlimited unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 212992 212992 processes
Max open files 1024 1024 files
Max locked memory 32768 32768 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 212992 212992 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Stop TSM SERVER
Set new limit for open file
[root@omer tsmdb]# ulimit -n 65535
Start TSM SERVER
[root@omer tsmdb]# ps -ef | grep dsmserv
tsminst1 29562 1 0 18:08 pts/1 00:00:00 /opt/tivoli/tsm/server/bin/dsmserv -u tsminst1 -i /home/tsminst1/tsminst1 -q
root 29810 27628 0 18:08 pts/1 00:00:00 grep dsmserv
[root@omer tsmdb]# cat /proc/29562/limits
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 10485760 unlimited bytes
Max core file size unlimited unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 212992 212992 processes
Max open files 65535 65535 files
Max locked memory 32768 32768 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 212992 212992 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Show session speed real time TSM
I find with google search this query :
select char(client_name,10) as “Sess”,CAST(CAST(bytes_received/1024/1024 as decimal(15,0))/CAST((current_timestamp-start_time)seconds as decimal(15,0)) as decimal(10,2)) as “Receive [MB/s]”,CAST(CAST(bytes_sent/1024/1024 as decimal(15,0))/CAST((current_timestamp-start_time)seconds as decimal(15,0)) as decimal(10,2)) as “Sent [MB/s]” from sessions where session_type=’Node’
output:
Sess Receive [MB/s] Sent [MB/s]
———– ————— ————-
KELLY 4193.64 0.00
KELLY 0.00 0.00
Show model, cpu and core of power 740
root@nim02:/# lsattr -El sys0 -a modelname
modelname IBM,8205-E6B Machine name False
root@nim02:/# lparstat -i|grep ^Active Phys
Active Physical CPUs in system : 6
root@nim02:/# lscfg -vp|grep WAY
6-WAY PROC CUOD:
How to mange controller raid with MegaCli over vmware esxi
xseries 2350 M4 + vmware esxi 5.1
Donwload megacli software from ibm site
How to install?
You need have active ssh connection to the esxi server
Install to esxi server :
esxcli software vib install /tmp/vmware-esx-MegaCli-8.04.07.vib –no-sig-check
(The installation probably need put the host in manintenece mode and reboot server)
How to use?
Go to /opt/lsi/MegaCli/ and run ./MegaCli with option :
Check the status all of HD:
./MegaCli -PDList -aALL
or single HD
./MegaCli -PDInfo -PhysDrv [E:S] -aALL (E is the enclosure and is the slot)
Download the log of controller:
./MegaCli -AdpEventLog -GetEvents -f events.log -aALL && cat event.log
Show info configuration:
./MegaCli -AdpAllInfo -aALL
Show controller configuration:
./MegaCli -CfgDsply -aALL
Battery status:
./MegaCli -AdpBbuCmd -aALL
Show rebuild status:
./MegaCli -PDRbld -ShowProg -PhysDrv [E:S] -aALL
And more info:
./MegaCli -h
Find serial number P2000 G3 HP
Use telnet or serial cable to connect
xxx.xxx.xxx.xxx login: admin
Password:
HP StorageWorks MSA Storage P2000 G3 iSCSI
System Name: SANxxx01
System Location: xxxxxxxx
Version: TS240P004-02
# show enclosure-status
Chassis Vendor Product ID CPLD EMP A CH:ID Rev EMP B CH:ID Rev WWPN
Status
—————————————————————————————————————————–
2S6249C294 HP SPS-CHASSIS 22 00:031 2018 01:031 2018 500c0ff015fa2e3c
OK
—————————————————————————————————————————–
Type # Status FRU P/N FRU S/N Add’l Data
——————————————————————————-
FAN 01 OK 592267-002 CN8245T302 —
FAN 02 OK 592267-002 CN8245T303 —
PSU 01 OK 592267-002 CN8245T302 —
PSU 02 OK 592267-002 CN8245T303 —
Temp 01 OK BK829B CN8243M044 temp=41 C
Show configuration and status HP raid esxi 5.1
Use iso esxi 5.1 customized HP
~ # /opt/hp/hpacucli/bin/hpacucli
HP Array Configuration Utility CLI 9.40.12.0
Detecting Controllers…Done.
Type “help” for a list of supported commands.
Type “exit” to close the console.
=> ctrl all show config
Smart Array E200i in Slot 0 (Embedded) (sn: QT7AMV7298 )
array A (SAS, Unused Space: 0 MB)
logicaldrive 1 (558.7 GB, RAID 5, OK)
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 300 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 300 GB, OK)
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, OK)
Unable to connect to the MKS Error connecting to /bin/vmx process
For resolve the problem:
I logged to esxi server via ssh
I find the WorldNumber of virtual machine with thi command:
Hardware configuration ESXi form command line
rename volume group AIX
I need to rename appoggiovg volumegroup
root@paul:/#lsvg
hpsanvg
rootvg
oraexpvg
dati2vg
dati3vg
dati4vg
dati5vg
appoggiovg
Appoggiovg is create over hdisk7
I need:
varyoffvg appoggiovg
exportvg appoggiovg
root@paul:/#lspv
hdisk2 00c655c40fab3811 rootvg active
hdisk0 00c7662d78e1b21f hpsanvg active
hdisk1 00c655c4d544cca6 oraexpvg active
hdisk3 00c655c444918136 dati2vg active
hdisk4 00c655c4db40e342 dati3vg active
hdisk5 00c655c428a07b90 dati4vg active
hdisk6 00c655c428a0de52 dati5vg active
hdisk7 00c655c4ae67c723 None
root@paul:/#importvg -y dati6vg hdisk7
root@paul:/#lspv
hdisk2 00c655c40fab3811 rootvg active
hdisk0 00c7662d78e1b21f hpsanvg active
hdisk1 00c655c4d544cca6 oraexpvg active
hdisk3 00c655c444918136 dati2vg active
hdisk4 00c655c4db40e342 dati3vg active
hdisk5 00c655c428a07b90 dati4vg active
hdisk6 00c655c428a0de52 dati5vg active
hdisk7 00c655c4ae67c723 dati6vg active