User Tools

Site Tools


aix:aix_suma

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
aix:aix_suma [2025/02/20 10:44]
manu
aix:aix_suma [2025/03/27 17:32] (current)
manu
Line 9: Line 9:
  
 {{:​aix:​suma001.png?​600|}} {{:​aix:​suma001.png?​600|}}
 +
 +
 +**NOTE**
 +  * IP addresses for the esupport.ibm.com server are changed from the 2023 version of the esupport.ibm.com server.
 +  * Add firewall rules for all new IP addresses. However, do not change or remove the existing firewall rules.
 +  * The port numbers of the fix distribution website can be either 80 for HTTP or 443 for HTTPS.
 +
 +===== IBM registration =====
 +
 +<color #​ed1c24>​**Requirements**</​color>​
 +
 +If Suma cannot identify proper entitlement for the server, then you need to go to the ESS website, login and go to "My Entitled Software"​ to download the required software from the website.
 +
 +If you cannot see the required product, you may need to register using the "​Register IBM Customer Number"​ option.
 +
 +Else report this directly to the FixCentral/​SUMA entitlement team via the FixCentral website using the blue "​Contact and feedback"​ button at the right side of the screen. ​
 +
 +The country code suma must be register for the machine serial where suma is hosted ! 
 +
 ===== Suma config ===== ===== Suma config =====
  
Line 53: Line 72:
  
 <cli prompt='#'>​ <cli prompt='#'>​
 +[root@aix01]/#​ suma -c -a DOWNLOAD_PROTOCOL=https
 +[root@aix01]/#​ suma -c -a FRAMEWORK=ECC
 +
 +[root@aix01]/#​ cat /​var/​suma/​data/​config.suma
 +DOWNLOAD_PROTOCOL = https
 +FRAMEWORK = ECC
 +LOGFILE_VERBOSE = 4
 +COUNTRY_CODE = DE
 +
 [root@aix01]/#​ suma -c -a DOWNLOAD_PROTOCOL=https [root@aix01]/#​ suma -c -a DOWNLOAD_PROTOCOL=https
  
Line 73: Line 101:
         TMPDIR=/​var/​suma/​tmp         TMPDIR=/​var/​suma/​tmp
         WEB_IDENTITY_FILE=         WEB_IDENTITY_FILE=
 +        FRAMEWORK=ECC
 +        ​
 +[root@aix01]/#​ suma -D
 +        DisplayName=
 +        Action=Download
 +        RqType=Latest
 +        RqName=
 +        Repeats=y
 +        DLTarget=/​usr/​sys/​inst.images
 +        NotifyEmail=root
 +        FilterDir=/​usr/​sys/​inst.images
 +        FilterML=7300-02
 +        MaxDLSize=-1
 +        Extend=y
 +        MaxFSSize=-1
 +</​cli>​
 +
 +Change the localization (country code)
 +<cli prompt='#'>​
 +# echo "​COUNTRY_CODE = DE" >> /​var/​suma/​data/​config.suma
 +# export SUMA_COUNTRY_CODE=DE"​
 </​cli>​ </​cli>​
  
Line 88: Line 137:
 [root@aix01]/#​ suma -x -a RqType=SP -a Action=Download -a FilterML=7200-05 -a RqName=7200-05-04-2220 -a DLTarget=/​suma/​tmp [root@aix01]/#​ suma -x -a RqType=SP -a Action=Download -a FilterML=7200-05 -a RqName=7200-05-04-2220 -a DLTarget=/​suma/​tmp
 </​cli>​ </​cli>​
 +
 +Examples:
 +<​code>​
 +# suma -x -a Action=Metadata -a RqType=Latest -a FilterML=7100-02 -a DLTarget=/​export/​eznim/​SUMA
 +# suma -x -a DisplayName=Test -a Action=Preview -a RqType=Latest
 +</​code>​
 +
 +Action: Preview, Download, Clean, Metadata\\
 +RqType: TL, PTF, SP, Latest\\
 +RqType for Metadata: TL, SP, Latest\\
 +DLTarget: Contains the directory location where the downloaded files are stored.
 +
  
 **Debug** **Debug**
Line 118: Line 179:
 ===== Errors ===== ===== Errors =====
  
-==== Java ====+==== Proxy troubles ==== 
 + 
 +SUMA was integrated with IBM Cloud Service since **AIX 7.3 TL2**, it's changed to use the FRAMEWORK CHCC ( Call-Home Connect Cloud ) 
 + 
 +Suma using CHCC doesn'​t support use of proxy server.It was solved by setting the framework to ECC as mentioned earlier as below : 
 +<​cli>​ 
 +# suma -c -a FRAMEWORK=ECC 
 +</​cli>​ 
 + 
 +==== Java in suma ====
  
 By default SUMA requires Java7, so change the version to Java8 By default SUMA requires Java7, so change the version to Java8
Line 174: Line 244:
  
     Change the default java search path to Java 8     Change the default java search path to Java 8
 +
 +==== Java in ECC ====
 +
 +<cli prompt='>'>​
 +[root@suma001p] /root> /​usr/​ecc/​bin/​config_conn_path -c '​PRIMARY'​ -y '​HTTP_PROXY'​ -t '​YES'​ -a  '​10.10.10.10'​ -x '​2233'​
 +###########################################################​
 +
 +Testing HTTP Proxy Service Configuration
 +
 +Performing HTTP Proxy Connectivity Test ... open2: exec of /​usr/​java6/​jre/​bin/​java -Djava.net.preferIPv6Addresses=true -cp :/​usr/​ecc/​lib/​CITProvider.jar:/​usr/​ecc/​lib/​com.ibm.ws.webservices.thinclient_8.5.0.jar:/​usr/​ecc/​lib/​commons-codec-1.3.jar:/​usr/​ecc/​lib/​commons-httpclient-3.1.jar:/​usr/​ecc/​lib/​commons-logging-1.1.jar:/​usr/​ecc/​lib/​CommonServices.jar:/​usr/​ecc/​lib/​commonutils.jar:/​usr/​ecc/​lib/​ConnectivityServices.jar:/​usr/​ecc/​lib/​depcheck.jar:/​usr/​ecc/​lib/​ESAUtilities_1.0.0.jar:/​usr/​ecc/​lib/​ibmxmlcrypto.jar:/​usr/​ecc/​lib/​InventoryCollectionClient.jar:/​usr/​ecc/​lib/​InventoryServices.jar:/​usr/​ecc/​lib/​invtool.jar:/​usr/​ecc/​lib/​ProblemReportingServices.jar:/​usr/​ecc/​lib/​Protocol.jar:/​usr/​ecc/​lib/​ResourceCaching.jar:/​usr/​ecc/​lib/​ResourceCollection.jar:/​usr/​ecc/​lib/​ResourceCollectionClient.jar:/​usr/​ecc/​lib/​ResourceCollectionService.jar:/​usr/​ecc/​lib/​sblim-cim-client2.jar:/​usr/​ecc/​lib/​scheduler.jar:/​usr/​ecc/​lib/​StatusServices.jar:/​usr/​ecc/​lib/​SysMgmtCore.jar:/​usr/​ecc/​lib/​SystemContext.jar:/​usr/​ecc/​lib/​TQserrano-3.27.18c.jar:/​usr/​ecc/​lib/​uim.jar:/​usr/​ecc/​lib/​UimCim.jar:/​usr/​ecc/​lib/​uimengine.jar:/​usr/​ecc/​lib/​uimfilerepository.jar:/​usr/​ecc/​lib/​UIMPLRTProvider.jar:/​usr/​ecc/​lib/​UIMProviderCore.jar:/​usr/​ecc/​lib/​uimutil.jar:/​usr/​ecc/​lib/​UpdateServices.jar:/​usr/​ecc/​lib/​xmldsig.jar:/​usr/​ecc/​lib/​xmlstream.jar com.ibm.esa.activation.ConnectivityServiceTest testProxyConnection 10.10.10.10 2233 failed: ​
 +No such file or directory at /​usr/​ecc/​lib/​ECC/​Utils.pm line 136.
 +</​cli>​
 +
 +**vi /​usr/​ecc/​lib/​ECC/​Utils.pm**
 +<​code>​
 +...
 +sub getJava() {
 +  if ( -d "/​usr/​java8_64"​ && -d "/​usr/​java8_64/​bin"​ ) {
 +      return Definitions::​JAVA8_64
 +  }
 +  elsif ( -d "/​usr/​java7"​ && -d "/​usr/​java7/​bin"​ ) {
 +      return Definitions::​JAVA7
 +  }
 +  else {
 +      return Definitions::​JAVA6
 +  }
 +}
 +</​code>​
  
 ==== Serial number ==== ==== Serial number ====
aix/aix_suma.1740044694.txt.gz · Last modified: 2025/02/20 10:44 by manu