linux sap netweaver testDriver 安装

check linux 64bit
getconf LONG_BIT or find /lib64
uname -a
add maxmemory
vi /etc/sysctl.conf
kernel.shmmax=23136829430
kernel.shmall=5242880
kernel.msgmni=1024
fs.file-max=32768
kernel.sem=1250 256000 100 1024
vm.max_map_count=300000

add swap partion to 20G
mkdir swap
cd swap

20G=1024*1024*20)

dd if=/dev/zero of=swapfile bs=1024 count=20971520
ls al
mkswap swapfile
swapon swapfile
ls -l
free

add shm size to 9G
vi /etc/fstab
LABEL=/                 /                       ext3    defaults        1 1
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
tmpfs                   /dev/shm                tmpfs   size=8692m      0 0
proc                    /proc                   proc    defaults        0 0
sysfs                   /sys                    sysfs   defaults        0 0
LABEL=SWAP-hda2         swap                    swap    defaults        0 0
/swap/swapfile          swap                    swap    defaults        0 0

. /etc/profile

xwindow can't display
update the software
xorg-x11-libXp-7.2-8.x86_64.rpm
vi /etc/profile
DISPLAY=localhost:0.0

sqlcli -U DEFAULT "select mandt,bname,uflag from usr02"
sqlcli -U DEFAULT "select mandt,bname,uflag from usr02 where mandt='000' and bname='SAP*'"
sqlcli -U DEFAULT "update usr02 set uflag=0 where mandt='001' and uflag=64"
sqlcli -U DEFAULT "delete from USR02 where mandt = '001' and bname = 'SAPJSF'"


user,password:
control,sapn4sadm
sapn4s,sapn4sadm
superdba,sapn4sadm

su n4sadm
startsap n4shost


./sapcontrol -host localhost -nr 01  -function GetProcessList
./sapcontrol -host localhost -nr 01  -function GetStartProfile
./sapcontrol -host localhost -nr 01  -function J2EEGetProcessList
# ./sapstartsrv -r -q -p /usr/sap/N4S/SYS/profile/START_SCS00_n4shost -s N4S -n 01


jcmon pf=\path\to\instance_profile
option 20 to see the status of the Dispatcher & server0 processes
jcmon -v

你可能感兴趣的:(linux)