Chronicles II 8:14

14 And he established, according to the order of his father David, the courses of the priests, and according to their public ministrations: and the Levites over their charges, to praise and minister before the priests according to the daily order: and the porters were appointed according to their courses to the different gates: for thus the commandments of David the man of God.

Chronicles II 8:14 Meaning and Commentary

2 Chronicles 8:14

And he appointed, according to the order of David his father,
the courses of the priests to their service
The twenty four courses which served weekly in their turns, ( 1 Chronicles 24:1-31 )

and the Levites to their charges, to praise and minister before the
priests, as duty of every day required;
who also had their courses by lot, to sing the praises of God, when the priests sacrificed, or blew the trumpets, ( 1 Chronicles 25:1-31 ) ,

the porters also by their courses at every gate;
from hence Dr. Lightfoot concludes that these were divided into twenty four classes, as the priests and Levite singers were:

for so had David the man of God commanded,
( 1 Chronicles 26:1-32 ) , who in all these affairs acted as a prophet, under the inspiration and direction of the Holy Spirit of God.

Chronicles II 8:14 In-Context

12 Then Solomon offered up to the Lord whole-burnt-offerings on the altar which he had built to the Lord before the temple,
13 according to the daily rate, to offer up according to the commandments of Moses, on the sabbaths, and at the new moons, and at the feasts, three times in the year, at the feast of unleavened bread, and at the feast of weeks, and at the feast of tabernacles.
14 And he established, according to the order of his father David, the courses of the priests, and according to their public ministrations: and the Levites over their charges, to praise and minister before the priests according to the daily order: and the porters were appointed according to their courses to the different gates: for thus the commandments of David the man of God.
15 They transgressed not the commandments of the king concerning the priests and the Levites with regard to everything else, and with regard to the treasures.
16 Now all the work had been prepared from the day when the foundation was laid, until Solomon finished the house of the Lord.

The Brenton translation of the Septuagint is in the public domain.