What is difference in OIR (Online Insertion and Removal) & Hot Swap?

Online insertion and removal (OIR) allow you to replace faulty modules without affecting system operation, which is similar to hot-swapping. OIR commands are issued before removing a module and after installing a module.