I successfully generated the SMU analysis report on the metadata server using the following command:
./launchsmu.sh -analyze -sasconfigdir /proj/sas/config/Lev1 -sasproductdir /proj/sas/programs -outputdir /tmp/smuoutput -metadatahost hostname -metadataport 8561 -user sasadm@saspw -password ******
However, when executing the same command on the middle-tier server, the utility fails to proceed. Could someone advise on what might be missing or misconfigured for the mid-tier execution
Error:
/proj/sas/programs/SASFoundation/9.4/sas -sysin "/tmp/smuoutput/getVersion.sas" -log "/tmp/smuoutput/getVersion.log"
14:34:40,709 [WARN ] com.sas.services.connection (f2,r0) A connection was returned to the factory by the garbage collector (f2,c0)
14:34:41,481 [INFO ] SMU Not metadata tier because server address : hostaname (masked actual hostname)!= this host address: hostname(masked actual hostname)
14:34:41,483 [ERROR ] SMU The migration utility had an error:
14:34:41,483 [ERROR ] SMU The metadata server tier has to be migrated before any other tier.
14:34:41,487 [ERROR ] ERRLOG The migration utility exited with error:
com.sas.apps.migration.smu.FrameworkException: The metadata server tier has to be migrated before any other tier.
at com.sas.apps.migration.smu.Framework.manageOutputDirectory(Framework.java:777)
at com.sas.apps.migration.smu.Main.init(Main.java:116)
at com.sas.apps.migration.smu.Main.main(Main.java:57)