public void doInitiatorAliasSet(StorageSystem storage,Initiator initiator,String initiatorAlias) throws Exception {
  try {
    checkIfProviderSupportsAliasOperations(storage);
    CIMObjectPath hwManagementIDSvcPath=_cimPath.getStorageHardwareIDManagementService(storage);
    CIMObjectPath shidPath=getSHIDPathForAliasOperation(storage,hwManagementIDSvcPath,initiator);
    CIMArgument[] inArgs=_helper.getEMCInitiatorAliasSetArgs(shidPath,initiatorAlias);
    CIMArgument[] outArgs=new CIMArgument[5];
    _helper.invokeMethod(storage,hwManagementIDSvcPath,SmisConstants.INITIATOR_ALIAS_SET,inArgs,outArgs);
  }
 catch (  WBEMException e) {
    _log.error("Problem making SMI-S call: ",e);
    throw e;
  }
catch (  Exception e) {
    _log.error("Unexpected error: EMCInitiatorAliasSet failed.",e);
    throw e;
  }
}

public void doInitiatorAliasSet ( StorageSystem storage , Initiator initiator , String initiatorAlias ) throws Exception { try { checkIfProviderSupportsAliasOperations ( storage ) ; CIMObjectPath hwManagementIDSvcPath = _cimPath . getStorageHardwareIDManagementService ( storage ) ; CIMObjectPath shidPath = getSHIDPathForAliasOperation ( storage , hwManagementIDSvcPath , initiator ) ; CIMArgument [ ] inArgs = _helper . getEMCInitiatorAliasSetArgs ( shidPath , initiatorAlias ) ; CIMArgument [ ] outArgs = new CIMArgument [ 5 ] ; _helper . invokeMethod ( storage , hwManagementIDSvcPath , SmisConstants . INITIATOR_ALIAS_SET , inArgs , outArgs ) ; } catch ( WBEMException e ) { _log . error ( "Problem making SMI-S call: " , e ) ; throw e ; } catch ( Exception e ) { _log . error ( "Unexpected error: EMCInitiatorAliasSet failed." , e ) ; throw e ; } }
this method will be used to set the initiator alias for a given initiator . the smi - s version that supports this operation is version 8 . 2 onwards . the initiator must be part of the an initiator group for the value to be set
