The SetGenerationalGuid method assigns a new GUID value to the information in the initiator HBA's caches.
发起方 HBA 通常缓存身份验证信息,例如与特定发起程序标识符关联的预共享密钥、默认情况下与没有密钥的发起程序标识符和 CHAP 机密关联的组密钥。 发起程序维护一个 GUID,用于标识当前在其缓存中的信息的版本。
更新发起程序缓存信息的服务(如 iSCSI 发现服务和管理应用程序)应更改此 GUID 以指示缓存已修改。 当 iSCSI 服务或管理应用程序重启时,它可以检查发起程序 HBA 的 GUID,以验证其缓存的信息是否与发起程序上的缓存信息同步。
应用程序和服务可以使用以下 iSCSI WMI 方法来管理发起者的缓存配置数据:
The SetGenerationalGuid method belongs to the unpublished MSiSCSI_SecurityConfigOperations WMI class. For a description of the parameters of the SetGenerationalGuid method, see the member descriptions for the SetGenerationalGuid_IN and SetGenerationalGuid_OUT structures. 如果 HBA 缓存信息,则实现 MSiSCSI_SecurityConfigOperations WMI 类的微型端口驱动程序必须支持此方法。