-ary

1.
a suffix occurring originally in loanwords from Classical and Medieval Latin, on adjectives (elementary; honorary; stationary; tributary), personal nouns (actuary; notary; secretary), or nouns denoting objects, especially receptacles or places (library; rosary; glossary). The suffix has the general sense “pertaining to, connected with” the referent named by the base; it is productive in English, sometimes with the additional senses “contributing to,” “for the purpose of,” and usually forming adjectives:
complimentary; visionary; revolutionary; inflationary.
Origin
Middle English -arie < Latin -ārius, -a, -um; E personal nouns reflect -ārius, objects and places -ārium or -āria; inherited and adopted French forms of this suffix are -er2, -eer, -ier2, -aire; cf. -er1
British Dictionary definitions for -ary

-ary

suffix
1.
(forming adjectives) of; related to; belonging to: cautionary, rudimentary
2.
(forming nouns)
  1. a person connected with or engaged in: missionary
  2. a thing relating to; a place for: commentary, aviary
Word Origin
from Latin -ārius,-āria,-ārium
Word Origin and History for -ary

adjective and noun suffix, in most cases from Latin -arius, -aria, -arium "connected with, pertaining to; the man engaged in," from PIE relational adjective suffix *-yo- "of or belonging to." It appears in words borrowed from Latin in Middle English. In later borrowings from Latin to French, it became -aire and passed into Middle English as -arie, subsequently -ary.