Showing posts with label application. Show all posts
Showing posts with label application. Show all posts

Saturday, 24 September 2022

Create MTA(Multi Target Application) project

 Let us create a MTA project dedicated to SDI.

Steps:

  • From web ide --> workspace -->Right click --> New --> project from template --> Choose Multi target application(MTA) -->Next --> provide <project name> --> Next --> provide the space info (dev, prod) -->Finish.
  • Right click on the MTA project, which is created in the above step -->Build.
  • Now, we don't have SRC folder --> because this project does not have a database module.
    To create Database module: Right click on the project --> New --> SAP HANA Database Module --> Provide name of the HANA module --> Finish.
  • Right click on the HANA module folder, which is created in the above step -->Build.

Saturday, 12 June 2021

How to make one SAP application dialog instance in to passive mode.

About:

This article is all about, how to make one particular SAP application dialog instance in to passive mode.


Case studies of this activity:
  • when maintenance activity is going on one particular sap instance.
  • during resolving few abap dumps in ST22.
Practical steps:

Step1: login to ABAP server through SAP GUI.
Step2: Access the t-code: SM51.
Step3: perform the below navigation to make one SAP application dialog instance in to passive mode.
                          Goto--> Processes -->state-->Deactivate.







Thursday, 1 October 2020

Application load balancer

with  Application load balancer can do the following:

  • Load balancing to multiple HTTP applications across machines (target groups)
  • Load balancing to multiple applications on the same machine(ex: containers)
  • Load balancer based on route in URL.
  • Load balancer based on hostname in URL.
in comparison, we would need to create one Classic load balancer per application before. That was very expensive and inefficient.



Target group represent one application included with some EC2 instances along with health check. we will register the target group to Application load balancer.

in the below flowchart, we have 2 target group with representation of 2 application, registered to application load balancer with the protocol HTTP.


if the user searches for route/user, then the application load balancer redirected it to target group users. Similarly for search target group also,if the user search for route/search, our Application load balancer will re-direct it to search target group.




in this post, we will do hands on for:

  • Create a target group.
  • Setup an application load balancer.
practical steps for Create a target group :

---------------------------------------------------------------------------------------------------------------------------
from load balancer page --> Navigate to load balancer --> target groups(as shown below).




Click on Create target group.


Provide details:
1. enter target group name:                                                                           
2.enterprotocol for EC2 instance connection from target group.         
3.port no. for HTTP protocol is 4567.                                         
4.VPC: i'm give default one.                                                

Health check settings:                                                                                           
protocol as HTTP                                                                            
path = /health                                                                                  

Click on the Advanced health check settings dropdown.                                                                              provide the override port (ex: port no.4568) if required.                                                    
provide time interval info.                                                                                                 
finally click on create. 

conformation screen for target group creation.                                                                                                  





Then screen will prompts to target group page, Navigate to Targets tab --> Edit.

Then the screen goes to Register and deregister targets page. 
1.Ensure that the port number is 4567 based on protocol.                                          
2.select the required EC2 instance that need to add target group.                              
                 3.click on Add to registered.                                                                                                      4.Finally click on SAVE option available at the right bottom of the page.               
                                    


Now both the EC2 instances are available now in the targets group tab. but the status of EC2 instance will be unused until load balancer assigned to target group.



-----------------------------------------------------------------------------------------------------------------------------

  • practical steps for Setup an application load balancer:


Now navigate to load balancer page:


Click on create load balancer.



Choose application load balancer--> Click on Create.


provide details for the load balancer:

Name : <load balancer name>
scheme: internet facing - public ip based load balancer( web)
by default load balancer HTTP protocol and load balancer port as 80 is available.



here i am selecting all the availability zones and click on Next.


can add other protocol waring screen will appears in the next step. can ignore and click on next.
if any other protocol is required add them in the last step & Now click on Next.




Add security Groups to the load balancer.


Configure routing: 

choose Target group as Existing target group.
Name : dropdown select the correct load balancer.

rest all information will be updated based on this 2 entries.

Click on Next.



Conform the target groups and click on Next.


Review all the inputs and click on create.




Now change security groups, so that application load balancer will access the EC2 instances.







That's all similarly we can add multiple target groups to single Application load balancer.



-----------------------------------------------------------------------------------------------------------------------------

Thursday, 16 July 2020

SLD (System Landscape Directory) configuration in solman java AS

What is SLD?

After the Launch of Netweaver, where all the systems are defined in One Landscape. So we use SLD to register the other systems in the Landscape

 

Before configuring SLD we have to open SAP in local browser as http://solman.<host_name>:50200/sld where "5" is default and "02" is instance number and ''00" is default port


·         In case the browser is opening means we have to go directory /usr/sap/SID/SYS/global/security/data/icm_filter_rules.txt file in that file we have to remove content then save it and restart the SAP server

·         Login solman.<hostname>:50200

  • Select SAP NetWeaver Administration





·         Provide the username “J2ee_admin” and password then login





·         Click on Configuration Tab



·         Under configuration tab select "scenarios"



·         Open "Configuration Wizard" option.



·         Open "Function Unit configuration UI"



·         Then select "System Landscape Directory" from the menu and click on "Enable Automatically"




·         It ask to provide ABAP Administrator password, J2EE Administrator password, Master password



·         Then click on next

·         Select ''set up a new local SLD, then give next

·         Wait till it get completes


·         Finished the SLD Configuration



·         Once SLD is ready, upgrade CR content

·         Check the CR Content version by the navigation follows,

·         Login as http://solman.<hostname>:50200/sld and select Administration Tab

·         Click on details


·         Click on data, there in content you can observe the version of SAP CR CONTENT


·         Update CR content as per SAP note: 669669- update of SAP system Component Repository in SLD.

·         Download SAP CR content from support.sap.comà support packages and patches By Alphabetical Index (A-Z) -> letter C -> SAP CR CONTENT page, the following items to be download are current CIM data model as the file name cimsap…zip file and current SAP CR Content update as the file CRDelta….zip file

·         Now we have to import those two file by using URL http://solman.<hostname>:50200/sld à Administration Tab àImport




·         In this step we have to load CIM file


·         Click on  continue import



·         Do it same for CRDELTA

·         Import started


·         Once CR content upgrades finish --> choose administration -->settings               -->server configuration, choose "perform role mapping button" and click confirm.


·         Confirm


·         Roles have been mapped


·         Next step is we have to call T-code SOLMAN_SETUP