Method for realizing ChMC (Chassis Management Controller) and VMC (VPX Manager Controller) on VPX (Versatile Protocol Switch) platform veneer and VPX platform

The invention is suitable for the field of a computer and provides a method for realizing a ChMC (Chassis Management Controller) and a VMC (VPX Manager Controller) on a VPX (Versatile Protocol Switch) platform veneer and a VPX platform. The method comprises the following steps: configuring a mode parameter ChMCST.MCMode; when starting the VPX platform and initializing a system, initializing the mode parameter ChMCST.MCMode in a system initializing function VPXMangerInit (); and starting a mode starting sequence corresponding to the ChMCST.MCMode according to the ChMCST.MCMode and starting the corresponding mode, wherein the corresponding mode comprises ChMC_MODE or VMC_MODE. According to the technical scheme provided by the invention, the method has the advantage of convenience in software maintenance.