Antispam in cloud cosa aspettarsi

Negli ultimi anni si sente sempre di più parlare di cloud e di servizi in cloud. In questo post non voglio entrare nel dettaglio di cos’è  il cloud e se esistono veramente dei servizi che si posso definire in cloud, voglio solamente focalizzarmi su un di quei servizi, che con l’avvento del cloud e quindi del suo utilizzo in cloud  aumenta la sua efficacia e aumentano le sue potenzialità.
Stiamo parlando dell’antispam.
L’utilizzo  di un antispam nella nuvola ci permette di parlare non solo di blocco delle mail indesiderate ma anche di
  • Riduzione del traffico in ingresso
  • Mail continuity
  • Backup mail o archive mail
Riduzione del traffico in ingresso
Spostando il servizio di antispam dalla propria infrastruttura al cloud il traffico delle mail viene filtrato prima che raggiunga il nostro server di posta,  e quindi la banda occupata in ingresso  diminuisce annullando quasi del tutto quel traffico indesiderato generato dalla mail di spam. Quindi solo le mail puilite arrivano in ingresso al nostro server interno
Mail continuity (A volte già incluso in altri casi da pagare in aggiunta al servizio di antispam)
Quante volte ci è capitato di avere il server di posta offline (Aggiornamento, crash del sistema operativo etc.. ) e dover rispondere  al nostro amministratore delegato che la mail che sta aspettando  non  può arrivare e  non sappiamo quando arriverà. Con la mail continuity nel  caso  di offline del nostro mail server interno, la posta rimane sul nostro antispam in cloud, e quindi  può essere consultata dall’amministratore di sistema e con alcuni mail security cloud provider  ogni nostro singolo utente può accedere a una web mail e vedere la propria posta (Si può passare da un minimo di 3/4 giorni di “capacità” del servizio in cloud anche a due e piu’ settimane)
Mail Backup o Archive (Servizio che in alcuni casi può essere compreso  oppure  puo’ essere in  aggiunto coma add-on a pagamento)
Il passo di  avere in un datacenter  di altro livello, quindi in un posto “al sicuro”, un contenitore che ci controlla lo spam e ci pemrmette una sorta di HA della mail  ci porta  anche a valutare la possibilità di poter archiviare/salvare la mail  temporaneamente o all’infinito nel cloud. Altro plus, in alcune versioni, la possibilità di delegare al nostro utente finale la visione  e il recupero  delle  mail.
 
Non ho citato, ma ovviamente è da considerare come vantaggio  la diminuzione dell’attivita’ dell’amministratore IT nella gestione del servizio.
 CLOUD = no server da mantenere (che sia fisico o virtuale), no servizio antispam da mantenre (aggiornamento o upgrade di versione)
Mantenendo ovviamente le caratteristiche di base in un classico antispam:
Controllo delle mail in ingresso e in uscita
Controllo antivirus (in molti casi anche con piu’ di un motore)
Gestione personalizzate di blacklist e del livello di filtro dello spam
Gestione della quarantena a livello dell’amministratore ma anche dell’utente finale.
Quindi il cloud è sicuramente per il servizio di antispam un valore aggiunto.
Antispam in cloud cosa aspettarsi

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

ANR3619W The user limit for open files is below the recommended minimum value of 4096

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 session speed real time TSM

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

 
How to mange controller raid with MegaCli over vmware esxi

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

Find serial number P2000 G3 HP

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)

Show configuration and status HP raid esxi 5.1