1. You'll come in Qatar with a visit visa arranged by your employer (sponsor) - the company that you'll be working for.

2. After you've come in Qatar your sponsor will proceed your RP (Resident Permit) and once you got it you'll get your qatari ID, driving license, bank account and so on.

3. Later on your family will join you with a visit visa also arranged by your sponsor based on your RP. It'll be good to have with you the authenticated copies of your mariage license (certificate) and birth certificates.

4. Once your family has come in Qatar again your sponsor will proceed with your family members RPs.

You should better discuss this matter with your sponsor in advance.

regards