SAP Java Portal change password through Telnet

I am working on SAP Java Portal upgrade from NW 7.3 to 7.4. While SUM enter in execution phase, security team changed the credentials of “Administrator”. due to this upgrade got stuck & i am not able to change password back to same in Portal.

I performed the same through telnet by following below method. before performing this i change UME parameter in config tool & restart the cluster.

Change minimum length of password – 4
Keep password history – 3

telnet localhost 50008

Enter user name
administrator
enter current password

Type – add user
enter current password — click Enter

enter user – Administrator
enter new password
confirm new password

Now you can set same password what you have given during Configuration Phase in SUM & continue to upgrade.

Let me know if this works for you.

SAP SUM https connection error SSLERR_PEER_CERT_UNTRUSTED

Verification of HTTPS connection during upgrade.

Recently we are upgrading our JAVA Portal which is running on DMZ with https protocol enabled.

While starting SUM SP16, it’s started by default http but if SUM detect system is running on https, it’s get converted to https automatically.

We are facing issue while it’s asking for adm credentials. it’s not accepting the credentials & in log file it’s throwing SSLERR_PEER_CERT_UNTRUSTED error. we have checked multiple log files & found that it’s trying to access the system via https protocol.

How to check https connections are working or not before running SUM

SAPCONTROL give you the facility to check the same.

sapcontrol -nr -host -prot NI_HTTPS -function AccessCheck Stop

sapcontrol -nr -host -prot NI_HTTPS -function ParameterValue
SAPPROFILE

Give instance no. & hostname in above fields & run the commands.

The above both commands should return “Access Check” “OK”. if it’s failing with SSLERR_PEER_CERT_UNTRUSTED issue, then SUM will never work. in my case i have tested the above command on my second application server & it works there, i ran the SUM from there & upgrade my portal successfully without any single error.

Software Update Manager New Version SP16 – SUM

SAP released the new version of SUM SP 16 & remove all the old versions from Service Market Place.

New version will only run from Host Agent. You can’t run the same from http://localhost:4239 or DSgui.bat

Below are the commands to register with SAP host agent & URL to run in IE/Firefox.

root> cd SUM-directory

root> ./STARTUP confighostagent SID

Then enter the URL on your PC.

For JAVA
http://Hostname:1128/lmsl/sumjava/SID/index.html

For ABAP
http://Hostname:1128/lmsl/sumabap/SID>doc/sluigui.html

For Dual Stack
http://Hostname:1128/lmsl/sumjava/SID/dual.html

New UI is quite interesting where you can see the log files, Tasks as well as set the breakpoints. I personally not set the breakpoint yet but looks like it is a good feature.

Setting email alert in SUM / SAPup & EHPi

While upgrading SAP system through EHPi / SUM & SAPup, we always keep our session alive to check where our tool got stuck or where it’s required user input. if you close the session and tool get stuck so your upgrade time will increase & you didn’t meet up with your deadline, we also faced the same issue. Later on we have read the SUM guide that you can set the alerting so you will get an email/sms during stuck or requires user input.

This is something tricky, however i will try to explain this in easy words.

1. Create a notepad file and save this file as .vbs ext.(example: email.vbs) and save the below contents. However you require Email address, SMTP port & SMTP server address.

Set objMessage = CreateObject(“CDO.Message”)

objMessage.Subject = “SUM Upgrade Update”

objMessage.From = “from@from.com

objMessage.To = “to@to.com

objMessage.TextBody = “SUM tool requires user inputs”

objMessage.AddAttachment “e:usrsapEC5SUMabaptmpupalert.log”

‘==This section provides the configuration information for the remote SMTP server.

‘==Normally you will only change the server name or IP.

objMessage.Configuration.Fields.Item _

(“http://schemas.microsoft.com/cdo/configuration/sendusing”) = 2

‘Name or IP of Remote SMTP Server

objMessage.Configuration.Fields.Item _

(“http://schemas.microsoft.com/cdo/configuration/smtpserver”) = “Your mail server IP address

‘Server port (typically 25)

objMessage.Configuration.Fields.Item _

(“http://schemas.microsoft.com/cdo/configuration/smtpserverport”) = 25

objMessage.Configuration.Fields.Update

‘==End remote SMTP server configuration section==

objMessage.Send

—————————————————————————————————————————————

MAKE SURE THAT SMTP SERVICE IS RUNNING ON YOUR HOST WHERE YOU ARE GIVING THIS SCRIPT.

You can write multiple recipients in “objMessage.To = “to@to.com” this file separating by commas.

NO NEED TO CHANGE THIS LINE

 “objMessage.AddAttachment  e:usrsapEC5SUMabaptmpupalert.log”

AS TOOL  AUTOMATICALLY CREATES A FILE WITH REQUIRED DETAIL & MAIL TO YOU AS ATTACHMENT.

2. Create a notepad file with .bat ext.(email.bat) and call this vbs script(email.vbs) through this file. (as upgrade tool only recognize batch file)

 

3. Setting in upgrade tool & Test the settings.

 

4. You will received email like this.

If  you find any difficulty while configuring alert setting, you can reach me at adil(at)adilfahim.com.