Saturday, 27 December 2014

Network Troubleshooting

Network Troubleshooting windows env

open command prompt

#ipconfig

The ipconfig command displays all current TCP/IP network configuration values

It gives you basic information to get your IP address,your routers IP address,
DNS Server IP Address,DHCP Server IP address etc..

Default gateway is router

cls --to clear screen'

#ipconfig/all

#Ping

Allows you to send a signal to another device on the network to see if it is active

Uses the ICMP (Internet Control Message Protocol) to send out an echo request
to the destination device,and gets back an echo response , if the device you are
trying reach of in fact Active.


#ping <routeripaddress> <DNSIPaddress> <www.siteaddress.com>

#Tracert

tracert gives the step-by-step route a packet takes to the destination
you speicfy

So if you send a packet to google.com , before the packet
actually reaches google.com servers,it will go through many diffrent
routers before it finally reaches google.com

You can also use the term HOPS instead of routers.So,if it takes 10
routers to get to google.com, you can instead say: "it took 10 hops
"

#tracert <webaddress.com>

#NSLOOKUP
This command will fetch the DNS records for a given domain name or
IP Address.Remeber , the IP Addresses and domain names are
stored in DNS servers,so the NSLOOKUP command lets you query the DNS Records to gather information

#nslookup <webaddress.com>

---------------------------------
cmd prmpt basic commands
c:\>dir
c:\>cd users
c:\users>cd krishna
c:\users\krishna>dir
c:\users\krishna\pics>dir
c:\users\krishna\pics>pic.jpg
c:\users\krishna\pics>cd..
c:\users\krishna>cd\
c:\>cls
c:\>cd program files
c:\program files>dir
c:\program files>cd internet explorer
c:\programfiles\Internet Explorer>dir
c:\programfiles\internet explorer>iexplore.exe
c:\programfiles\internet explorer>cd\
c:\>color y
c:\>color 1e
c:\>color 0f
c:\>systeminfo
---------------------------------------------------
c:\>whomami
c:\>systeminfo
os name , os version,install date,system boot time
c:\>ipconfig\flushdns
to flush dns
c:\>ping krishna.com -n 10
pings 10 times
c:\>tasklist
c:\Users\krishna\Desktop>mkdir example
c:\users\krishna\Desktop\example>cd ..
c:\users\krishna\desktop>copy text.txt c:\users\krishna\desktop\example
 c:\users\krishna\Desktop\example>del test.txt
c:\users\krishna\Desktop\example>dir
c:\users\krishna\Desktop\example>rename test.txt test1.txt
c:\users\krishna\Desktop\example>notepad test.txt
c:\users\krishna\Desktop\example>tasklist
c:\users\krishna\Desktop\example>taskkill /im notepad.exe

Thursday, 11 December 2014

netstat and nslookup

To check which port is free and which is occupied  :Netstat -a  is the command
Have ip address how to know the server name :nslookup is the command

SAPSPRINT Service for windows environment in SAP

SAPSPRINT Service needs to be installed on printer server on port 515 or 516

Ports in SAP

Dispatcher Port : 3200 to 3299
Message server Port: 3600 to 3699
Gateway Port :3300 to 3399
Secured Dispatcher Port: 4700 to 4799
Secured Gateway: 4800 to 4899

LAN Check by ping in SAP

LAN Check by Ping is used to ping to all the systems in the Network/Landscape .If a user complaints that he could not connect to the server(ping to the desktop).

ST06 is the t-code

Saturday, 6 December 2014

ST22 ABAP Dumps

When ever a SAP Program(ABAP) Program could not be executed due to an error it will be thrown out from the GUI- Screen and dump is recorded in ST22.

ST22 Recovers the following
1.Divide Error I/O
2.Update(Lags in memory)
3.Infinite Loops

1.Time_OUT error :The program require more time than the time defined in rdisp/max_wprun_time
2.Memory related issues with error message PXA,SWAP,PAGE,OUT OF MEMORY. This error requires memory corrections to the parameters.
3.Program Corrections:The problem is with SAP standard program for which SAP provides
a correction through notes(The correction can be applied through SNOTE)
4.Customer defined program :(Y,Z)consumes more memory,endless loops,improper select statements etc.The program needed and to be corrected by developer.
5. En queue Table overflow:SM12
6.Update deactivation
7.Database issues like table space overflow,max-extents reached, archive stuck.
8.Illegal time(Day light Savings) - During day light savings the system date and time has to be changed.Stop the AS and change the date if not,the above errors occurs.

Note:
TSTC:Holds the transaction and program name
TSTCT:Holds the description/text of  a t-code.

SMLG in SAP

Logon Load Balancing SMLG
It is used to route requests to the least loaded instance of that group.

1.Buffers are optimally utilized
2.Load balancing is avoid long queues.
3.Fail over

Mechanism
1.User used SAP GUI -groups option to login
2.Saplogon.ini is used to display the available entries
3.User select the group and click on logon.
4.When the user select the group.It look for sapmsg.ini to identify the message server and etc/services for message server port.saproute.ini,saprfc.ini,sapdoccd.ini(For library),saplogon.ini
5.Message server communicates will all the dispatchers and identifies the least loaded server and mark it as a favorite server in SMLG. The request is routed to the favorite server.
6.The dispatcher process the requests normally.

Profiles in SAP

Startup Profile

Startup profile consists of startup parameters like

Starting Database
Starting Message server
Dispatcher+work
Do not modify these parameters under any circumstances on OS level.

Default Profile

It is used to provide global parameters for all instances, buffer parameters , security parameters(password,user restriction),Message server host,en queue host.

Instance Profile

This is specific to instance configuration such as work process , timeout parameters etc..


Starting Sequence
1. Start up profile is read by the system to start the engine by starting database,message server and dispatcher in central instance.
2. Start up profile is ready by the system to start the engine by starting(Disp+Work) on dialogue instance.
3.There will be only one default profile in the entire system which provides global values.
4.Instance specific profile -This is used to set the instance specific parameters.

Ex:How many profiles available on a system with 10 Dialogue instances

Total =11 (Including Central Instance)
             11X2 per instance (Start+instance)
             22
             22+1 (Default Instance)=23

Profile Types in SAP

1.Default
2.Startup
3.Instance Profile

Friday, 5 December 2014

Default job scheduling

go to sm36
click on "Standard Background Job"
Define Background Job
Click on Default Scheduling

And schedule the BTC Jobs with Default time

1.RSBTCDEL:Used to delete the background jobs ,Reporting structure 'BTC' 'DEL'
2.RSSNAPDEL:Delete the old ABAP Dumps
3.RSPO1041:Delete the old spool logs and files
4.RSMO13002:Delete the old Update requests/logs
5.RSCOLL00:Collects performance info in t-code ST03
6.RSPO1043:Spool reorganization

ORA Errors

Table space Overflow :ORA-1653; ORA-1654
Table space max extent reached :ORA-1631;ORA-1632
Archive Stuck:ORA-225;ORA-272

Setting up Text

Execute -SE61
Document class:General Text
From Document Tab Name:ZLOGIN_SCREEN_INFO create
Type the text -Welcome
Save

T-code to maintain Table Entries

SM30 is the t-code to maintain table entries.

No Restrictions needs to be selected

Client Open and client close

Client Open:
Select the option :Automatic recording f changes
Select :customizing to objects and repository are allowed

Client close
Select:No changes allowed
select:No Customizing to objects and repository are allowed