HPE 3PAR StoreServ Storage

3ParStoreServ: long queues in defragmentation sheduling task

 
Marrex
Occasional Visitor

3ParStoreServ: long queues in defragmentation sheduling task

Hello, guys! 
I have 3ParStoreServ8400-5CF
CPG Raid 6, 10 SAS drive x 900 GB, Size 8 data 2 parity

CPG have 1 Virtual Drive only. 

My Zabbix server show to long queues (10-40) on a disk connected to the host. 
This coincides in time with running defragmentation tasks that run every 2 hours. 

Can I change the task schedule to run defragmentation at night only?

Thank you and sorry for my english 8-(.

4 REPLIES 4
sbhat09
HPE Pro

Re: 3ParStoreServ: long queues in defragmentation sheduling task

Hi @Marrex,

The defragmentation task on server has nothing much to do with 3PAR. Are you referring to 3PAR 'compactcpg' when you say defragmentation?

Anyway, defragmentatio/compactcpg for every 2 hours is too frequent. You can change the schedule to night only. Whenever it runs (every 2 hours or night only) it will compact the same amount of data. So, there will not be much difference in the amount of space it will compact.

Regards,
Srinivas Bhat

If you feel this was helpful please click the KUDOS! thumb below!
Note: All of my comments are my own and are not any official representation of HPE.


I am an HPE Employee

Accept or Kudo

Marrex
Occasional Visitor

Re: 3ParStoreServ: long queues in defragmentation sheduling task

Thank you, sbhat09!
Defragmentation does not take place on the server. Defragmentation runs on 3par.
showtask command from 3par:

15551 defragmentation xxx-ksh-srv-057-SAS done --- --- 2021-07-19 13:35:04 xxx 2021-07-19 13:35:55 xxx n/a sys:3parsys
15564 defragmentation xxx-ksh-srv-057-SAS done --- --- 2021-07-19 15:40:01 xxx 2021-07-19 15:40:52 xxx n/a sys:3parsys
15577 defragmentation xxx-ksh-srv-057-SAS done --- --- 2021-07-19 17:40:03 xxx 2021-07-19 17:40:54 xxx n/a sys:3parsys
15591 defragmentation xxx-ksh-srv-057-SAS done --- --- 2021-07-19 19:45:00 xxx 2021-07-19 19:45:51 xxx n/a sys:3parsys
15604 defragmentation xxx-ksh-srv-057-SAS done --- --- 2021-07-19 21:45:02 xxx 2021-07-19 21:45:56 xxx n/a sys:3parsys
15616 defragmentation xxx-ksh-srv-057-SAS done --- --- 2021-07-19 23:35:04 xxx 2021-07-19 23:40:50 xxx n/a sys:3parsys
15629 defragmentation xxx-ksh-srv-057-SAS done --- --- 2021-07-20 01:40:01 xxx 2021-07-20 01:41:23 xxx n/a sys:3parsys
15643 defragmentation xxx-ksh-srv-057-SAS done --- --- 2021-07-20 03:40:03 xxx 2021-07-20 03:40:55 xxx n/a sys:3parsys
15658 defragmentation xxx-ksh-srv-057-SAS done --- --- 2021-07-20 05:45:00 xxx 2021-07-20 05:45:52 xxx n/a sys:3parsys
15671 defragmentation xxx-ksh-srv-057-SAS done --- --- 2021-07-20 07:50:02 xxx 2021-07-20 07:50:54 xxx n/a sys:3parsys
15684 defragmentation xxx-ksh-srv-057-SAS done --- --- 2021-07-20 09:50:04 xxx 2021-07-20 09:50:57 xxx n/a sys:3parsys
15697 defragmentation xxx-ksh-srv-057-SAS done --- --- 2021-07-20 11:55:01 xxx 2021-07-20 11:55:53 xxx n/a sys:3parsys

How i can change sheduler for this task?

 

Cali
Honored Contributor

Re: 3ParStoreServ: long queues in defragmentation sheduling task

To show, use:

showsched -all

To change use:

To change the name of a scheduled task or change when the task is initiated, issue the setsched
-s <new_schedule> -name <new_name> <schedule_name> command, where:
• <new_schedule> is a crontab-style argument that changes when the schedule is initiated.
You can use the minute, hour, day-of-month, month, and day-of-week format, or use one of
the special entries to schedule when the CLI command is initiated.
• <new_name> is new name to be applied to the existing schedule name.
• <schedule_name> is the existing schedule name.

Cali


======================
I'm not an HPE employee, so I can be wrong.
Marrex
Occasional Visitor

Re: 3ParStoreServ: long queues in defragmentation sheduling task

Thanks 2 much, Cali!

But i cant see defragmentation task 8-(
3par8400-5CF cli% showsched -all
---------- Schedule ----------
SchedName File/Command Min Hour DOM Month DOW CreatedBy Status Alert NextRunTime
remove_expired_vvs removevv -f -expired -matchbulkobjs 27 * * * * 3parsvc active N 2021-07-20 19:27:00 
move_back_chunklet moverelocpd -f -partial -p -tc_gt 0 17 2 * * 0 3parsvc active N 2021-07-25 02:17:00 
check_cabling check_cabling_script 13,28,43,58 * * * * 3parsvc active N 2021-07-20 18:58:00 
coremanagement coremanman 47 4 * * * 3parsvc active N 2021-07-21 04:47:00 
sample sample 365 37 3 * * * 3parsvc active N 2021-07-21 03:37:00 
checkiperfserver checkstopserver 15 * * * * 3parsvc active N 2021-07-20 19:15:00 

there i can find this task?