In production, use /dev/disk/by-path/ or /dev/disk/by-id/ for the virtual device, but the megaraid,N stays the same because PD IDs are stable until drives are replaced or reordered.
/dev/sda -d megaraid,0 -a -o on -S on -m admin@example.com /dev/sda -d megaraid,1 -a -o on -S on -m admin@example.com ...
If you found this article helpful, share it with fellow sysadmins struggling with RAID and S.M.A.R.T. on Dell or MegaRAID controllers.