US 11,720,292 B1
Causing a network storage device having dual storage controllers to use a new ISCSI qualified name
Vinay Bapat, Bangalore (IN); Mohammed Arakkal Kunju Yasser, Bangaluru (IN); and Hari Om Sharma, Bangalore (IN)
Assigned to LENOVO GLOBAL TECHNOLOGY (UNITED STATES) INC., Morrisville, NC (US)
Filed by Lenovo Global Technology (United States) Inc., Morrisville, NC (US)
Filed on Mar. 29, 2022, as Appl. No. 17/706,662.
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0664 (2013.01) [G06F 3/0604 (2013.01); G06F 3/067 (2013.01); G06F 3/0632 (2013.01); G06F 3/0659 (2013.01); G06F 3/0683 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer program product comprising a non-transitory computer readable medium and program instructions embodied therein, the program instructions being configured to be executable by a processor to cause the processor to perform operations comprising:
identifying a network storage device having first and second storage controllers operating in an active-passive mode and disk media shared by the first and second storage controllers;
causing the first storage controller operating as a passive storage controller to enter, for each of a plurality of virtual disks on the disk media, a new iSCSI qualified name (IQN) for the virtual disk into a first iSCSI target configuration file and maintain an old IQN for the virtual disk in the first iSCSI target configuration file, wherein the first iSCSI target configuration file maps both the old and new IQNs to the virtual disks for the first storage controller;
causing the first storage controller to begin operating as the active storage controller and the second storage controller to begin operating as the passive storage controller; and
causing the second storage controller operating as the passive storage controller to enter, for each of the plurality of virtual disks on the disk media, the new IQN for the virtual disk into a second iSCSI target configuration file and maintain the old IQN for the virtual disk in the second iSCSI target configuration file, wherein the second iSCSI target configuration file maps both the old and new IQNs to the virtual disks for the second storage controller.