Data Domain: After Headswap, DD is showing in limited session

           

   Article Number:     531225                                   Article Version: 4     Article Type:    Break Fix 
   

 


Product:

 

Data Domain

 

Issue:

 

 

Issue: After Headswap, DD is showing in limited session, unable to login in DD GUI and DD CLI.   
   
           
    System is in Limited session **** Error connecting to management service at "localhost".   
   
    log in as sysadmin and see the following:   
    (limited session)#   
    (limited session) # net show hardware   
    **** Error connecting to management service at "localhost".   
    (limited session) # df   
    **** Error retrieving information (**** Error connecting to management service at "localhost".).   
    (limited session) #   
   
    Check in sms.info logs:   
   
    grep -A10 -i license /ddr/var/log/debug/sm/sms.info   
   
    02/16 05:21:49.099 (tid 0xe8c3960): Initializing module: SMS_LICENSE   
    02/16 05:21:49.099 (tid 0xe8c3960): Initializing module: SMS_LOG   
    02/16 05:21:49.099 (tid 0xe8c3960): Initializing module: SMS_MDDR   
    02/16 05:21:49.099 (tid 0xe8c3960): Initializing module: SMS_NET   
    02/16 05:21:49.100 (tid 0xe8c3960): INFO: sms_net_route_lock_init: Initializing routing mutex   
    02/16 05:21:49.384 (tid 0xe8c3960): INFO: _sms_net_filterop_add_restricted_rules: adding rule  -I dd_res_in 1 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT -m comment --comment "Func 0"   
    02/16 05:21:49.471 (tid 0xe8c3960): INFO: Invoking side-fx for setting key with prefix config_master   
    02/16 05:21:49.547 (tid 0xe8c3960): INFO: _sms_net_filterop_add_restricted_rules: adding rule  -I dd_res_in 2 -i lo -j ACCEPT -m comment --comment "Func 0 allow loopback"   
    02/16 05:21:49.617 (tid 0xe8c3960): INFO: Invoking side-fx for setting key with prefix config_master   
    02/16 05:21:49.679 (tid 0xe8c3960): INFO: _sms_net_filterop_add_restricted_rules: adding rule  -I dd_res_in 3 -i ethMa -p tcp -m multiport --dport 22,443 -j ACCEPT -m comment --comment "Func 0 admin-IF"   
    02/16 05:21:49.752 (tid 0xe8c3960): INFO: Invoking side-fx for setting key with prefix config_master
                                                           

 

 

Cause:

 

 

After the head-swap, the details for the new head-unit has not updated which is not allowing the sms service to run. Need to update the new license file for the head unit by applying the license file.                                                           

 

 

Resolution:

 

 

Workaround:   
   
    1. Check if the new license has applied on the DD (License file with the correct head unit details need to be updated)   
    2. Check the existing license file in /ddr/etc/license.lic   
   
    #cd /ddr/etc/licenses   
    #ls -haltr   
    #view license.lic    
   
    #############################################################   
    # EMC License File   
    # Activation Date:  Jun 22, 2018 08:36:16 AM   
    # Activated By:  XXXXXX   
    # Type:UNSERVED   
    #############################################################   
    INCREMENT DD_CAPACITY_ACTIVE EMCLM 1 permanent uncounted \   
            VENDOR_STRING="LOCKING_ID=APMXXXXXXX;CAPACITY=315;CAPACITY_UNIT=TB;SHELF_MODEL=ES30;PRODUCT_LINE=Data \   
            Domain \   
            OS;FEATURE_NAME=CAPACITY-ACTIVE;UOM_CODE=CB;UOM_NAME=Raw \   
            Capacity in TB;PLC=DDOS" HOSTID=ANY dist_info="ACTIVATED TO \   
            8112599 CUSTOMER_NAME \   
            MILWAUKEE WI US 53202" ISSUER=EMC ISSUED=22-Jun-2018 \   
            NOTICE="ACTIVATED TO License Site Number: XXXXXX" \   
            SN=XXXXXX SIGN="003D 6464 63A0 F358 298B D749 D83C 5F00 A0A1 \   
            F6DA 2B6B 8D6B 2435 810E C4C5"   
   
    Note: (If it is having the old serial number of the head-unit, then we need to update the new license file with the correct head-unit details)   
   
    3. Replace it with the one in /ddr/etc/licenses/license.lic   
          
        # mv /ddr/etc/licenses/license.lic /ddr/etc/licenses/license.lic_orig   
        # touch /ddr/etc/licenses/license.lic   
        # vi /ddr/etc/licenses/license.lic and paste the new license and save it.   
           
        Alternate method:   
           
        Update the license file with the below commands as well.   
           
        # mv /ddr/etc/licenses/license.lic /ddr/etc/licenses/license.lic_orig   (Rename the existing file)   
           
        Copy the content from the license file using CTRL+C from the notepad   
   
        #elicense update    
           
        SE@XXXXX## elicense  update   
           
    SE@XXXXX## elicense update   
    Enter the content of license file and then press Control-D, or press Control-C to cancel.   
    #############################################################   
    # EMC License File   
    # Activation Date:  Feb 27, 2019 06:15:07 PM   
    # Activated By:  System Admin   
    # Type:UNSERVED   
    #############################################################   
    INCREMENT DD_CLOUDTIER_CAPACITY EMCLM 1 permanent uncounted \   
            VENDOR_STRING="LOCKING_ID=APMXXXXXXX;CAPACITY=300;CAPACITY_UNIT=TB;PRODUCT_LINE=Data \   
            Domain \   
            OS;FEATURE_NAME=CLOUDTIER-CAPACITY;UOM_CODE=CC;UOM_NAME=Usable \   
            Capacity in TB;PLC=DDOS" HOSTID=ANY dist_info="ACTIVATED TO \   
            5385327 CUSTOMER_NAME AND LOCATION \   
            LOCATION" ISSUER=EMC ISSUED=27-Feb-2019 \   
            NOTICE="ACTIVATED TO License Site Number: XXXXXX" \   
            SN=XXXXXX SIGN="00C3 7526 47DA 7BFD D1F3 A81A 6D1E FF00 0965 \   
            28AC 7357 0FE6 1554 C108 94F7"   
               
        Press CTRL+D (To paste the content from the license file)   
           
        ** New license(s) will overwrite all existing license(s).   
   
            Do you want to proceed? (yes|no) [yes]: ^D   
   
    eLicense(s) updated.   
           
        Once the license updated you can view the file by running the command   
   
        #elicense show   
           
   
    4. After renaming the license file from bash, you can also update the new license file from the DD GUI also   

         
  •          Go to Administration     
  •      
  •         Click on the tab Licenses     
  •      
  •         Click on Replace the license     
  •      
  •         Browse the new license file and update it.     
  •    
    5. After applying the license file, restart the sms service by running the below command   
   
        #se sms restart   
           
    6. View the newly updated license file, it should have the information for the correct DD Serial number after the headswap.   
   
       #elicense show   
          
       From /ddr/etc/license/license.lic   
   
    INCREMENT DD_CLOUDTIER_CAPACITY EMCLM 1 permanent uncounted \   
            VENDOR_STRING="LOCKING_ID=APMXXXXXX;CAPACITY=300;CAPACITY_UNIT=TB;PRODUCT_LINE=Data \   
            Domain \   
            OS;FEATURE_NAME=CLOUDTIER-CAPACITY;UOM_CODE=CC;UOM_NAME=Usable \   
            Capacity in TB;PLC=DDOS" HOSTID=ANY dist_info="ACTIVATED TO \   
            5385327 COMPANY NAME AND LOCATION \   
            LOCATION" ISSUER=EMC ISSUED=27-Feb-2019 \   
            NOTICE="ACTIVATED TO License Site Number: XXXXXX" \   
            SN=XXXXXX SIGN="00C3 7526 47DA 7BFD D1F3 A81A 6D1E FF00 0965 \   
            28AC 7357 0FE6 1554 C108 94F7"   
          
          
    Note: If in case the DD is showing in limited session after applying the correct license file, contact the technical support.