The Black Slave Warriors
The Abid al-Bukhari are both the elite guard of the Alaouite State and the core of their military. More available than the household guards of European States, they are peers to the Janissaries back in their heyday in numbers and role. While not excelling in marksmanship, their zealous loyalty unto death to the Sultan will make certain they fight till near oblivion, and as such are best used for shock-work.
The Bawakhir Militia form the larger part of the overall black guard, serving as garrison infantry in the citadels and cities of Morocco. While less possessive of the obedience-unto-worship found in the Abid al-Bukhari, these soldiers are undeserving of the negative conotations 'militia' supplies. Certainly they are more loyal and willing to die for the Sultan than the tribal contingents.
The Wadaya/Oudaya Arabs
If the Abid are the right hand of the Sultan, the Wadaya Arabs are the left. Related to the Alaouite dynasty by Moualy Ismail's mother, the Wadaya seems to have been a catch all to describe the numerous Arab tribes which settled in Southern Morocco, intermixing with pre-Arab Saharan nomads.
The Makhzani or Gish Tribes
Tribes could provide their allegiance to the Sultan and State through either military service or the payment of taxes. Those tribes which did respect the authority of the State were designated Gish (From the Arabic Jaysh, meaning Army) or Makhzani, and provided mounted tribesmen to the Sultan for his military campaigns. While their loyalty is as little as a feudal subject might be, they remain the crucial backbone of the Alaouite cavalry corps.
The Berbers
Not all Berbers were found in the bled al-siba, the lands of discord where authority of the Sultanate could not be found. But for those tribes within the al-Siba, most were Berber, and amongst these wild lands of Rif, Atlas, and Sahara were bred doughty warriors whom could fight with a wild fury. One cannot expect them to be willing to bleed too much for the Sultan, though.
The Levies of the land and Tribe
Like any state with something in the means of a regular and/or feudal army, levied troops of desperate need exist for the Alaouites. These are the Nouaib, a mounted yeomanry drawn from both Makhzani military tribes and non-military tribes of "Naiba" land that traditionally just pay taxes, and a militia of the Naiba's villages, cities and sedentary tribesmen.
Mercenaries
Available to all Muslims who invade North Africa are the "Barbary Corsairs", a motely crew of Janissaries, Kuloghlis (Janissary/Maghrebi offspring), and whatever mess of men cast themselves into the fortunes of piracy. [They may be given blunderbusses, tweaked down in effectiveness]