A non-transitory computer-readable recording medium having stored therein a storage controlling program which causes a processor of a storage controller provided to a first storage device communicably connected to a host device and a second storage device to carry out a process comprising:
- confirming a communication state between a redundant storage controller having a redundant configuration with the storage controller and the second storage device before the maintenance controller disconnects a connection from the second storage device and carries out an active program replacement;
- and
- prohibiting, in a case where an abnormality is detected in the communication state between the redundant storage controller and the second storage device, the active program replacement of the storage controller.