sidadm> stopsap
su - root
cd sapmnt
sapmnt> cp -pr exe exe_old
cd /usr/sap/trans/kernel_yeni
SAPCAR -xvf SAPEXE_236-20001810.SAR
SAPCAR -xvf SAPEXEDB_236-20001829.SAR
SAPCAR -xvf tp_239-20001810.sar
SAPCAR -xvf lib_dbsl_241-20001829.sar
testadm> rm SAPEXE_236-20001810.SAR
testadm> rm SAPEXEDB_236-20001829.SAR
testadm> rm tp_239-20001810.sar
testadm> rm lib_dbsl_241-20001829.sar
root
sapmnt>cd exe
>rm -Rf *
cp -pr /usr/sap/trans/kernel_yeni/* /sapmnt/BMI/exe/
ls -lrt
sapmnt>
cp -pr exe_yedek/saproot.sh exe/
cd exe
bash-3.00# ksh saproot.sh BMI
saproot.sh[122]: whoami: not found
saproot.sh[122]: test: argument expected
Preparing saposcol ...
Preparing icmbnd ...
done
------------
sm51 den release note deyip sondurumu bakabilirsiniz
----------
diger sistem için
test2adm> pwd
/sapmnt/BMT
test2adm> ls
exe global kernel_yeni profile
test2adm>
test DE OLUŞTURULAN KERNEL_YENİ KLASORU /SAPMNT/ İÇERİSİNE KOPYALANDI. ADI EXE OLARAK DEĞİŞİTİRİLDİ.
12 Şubat 2010 Cuma
11 Şubat 2010 Perşembe
Solaris xterm ile bağlantı ve locale ayarları
chmod 777 /usr/openwin/lib/X11/fontserver.cfg
ex path: /usr/bin/:/usr/dt/bin:/usr/openwin/bin:/usr/ucb
ssh -X -l root ip
DISPLAY=:0.0
export DISPLAY
xclock
--------------
locale
LC_ALL
vim /etc/defaults/locale
locale -a
localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
localedef -i en_US -c -f UTF-8 en_US.UTF-8
$HOME/.profile or
$HOME/.cshrc
LANG=C
LC_ALL=C -- c asci
Example from the /etc/default/init file:
ex path: /usr/bin/:/usr/dt/bin:/usr/openwin/bin:/usr/ucb
ssh -X -l root ip
DISPLAY=:0.0
export DISPLAY
xclock
--------------
locale
LC_ALL
vim /etc/defaults/locale
locale -a
localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
localedef -i en_US -c -f UTF-8 en_US.UTF-8
$HOME/.profile or
$HOME/.cshrc
LANG=C
LC_ALL=C -- c asci
Example from the /etc/default/init file:
10 Şubat 2010 Çarşamba
Solaris'de IP aliasing - Bir ethernet kartina birden fazla IP verm
Solaris'te IP aliasing yapmak icin:
# ifconfig arabirim:N plumb
# ifconfig arabirim:N IP_ADRESİ netmask NETMASK up
N: 1 den buyuk ve izin verilen en fazla yalanci aygit sayisindan kucuk bir sayi(solaris 2.6 ve onceki versiyonlarda 255)
ornek: ce0 ethernet arabirimi icin 192.168.1.1 IP adresini 2. IP olarak eklemek icin:
# ifconfig ce0:1 plumb
# ifconfig ce0:1 192.168.1.1 netmask 255.255.255.0 up
Degisikligin her acilista etkinlesmesi icin
/etc/hosts dosyasina asagidaki gibi kayit eklenir.
192.168.1.1 host_adi
/etc/hostname.ce0:1 dosyasi olusturup icerisine
host_adi
yazilir
# cat /etc/hostname.ce0:1
host_adi
#
# ifconfig arabirim:N plumb
# ifconfig arabirim:N IP_ADRESİ netmask NETMASK up
N: 1 den buyuk ve izin verilen en fazla yalanci aygit sayisindan kucuk bir sayi(solaris 2.6 ve onceki versiyonlarda 255)
ornek: ce0 ethernet arabirimi icin 192.168.1.1 IP adresini 2. IP olarak eklemek icin:
# ifconfig ce0:1 plumb
# ifconfig ce0:1 192.168.1.1 netmask 255.255.255.0 up
Degisikligin her acilista etkinlesmesi icin
/etc/hosts dosyasina asagidaki gibi kayit eklenir.
192.168.1.1 host_adi
/etc/hostname.ce0:1 dosyasi olusturup icerisine
host_adi
yazilir
# cat /etc/hostname.ce0:1
host_adi
#
SAP parola değiştirme ve os den db bağlantı
R3trans baglantisini test edilmesi
R3trans -x
sapsr3 parola degistirme
brconnect -u / -f chpass -o sapsr3 -p password
--------------------------
işletim sisteminde database bağlantı yapma;
DROP TABLE OPS$sidADM.SAPUSER CASCADE CONSTRAINTS;
CREATE TABLE OPS$sidADM.SAPUSER
(
USERID VARCHAR2(255 BYTE),
PASSWD VARCHAR2(255 BYTE)
)
TABLESPACE SYSTEM
PCTUSED 40
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
FREELISTS 1
FREELIST GROUPS 1
BUFFER_POOL DEFAULT
)
LOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
--DROP SYNONYM OPS$SAPSERVICEsid.SAPUSER;
CREATE SYNONYM OPS$SAPSERVICEsid.SAPUSER FOR OPS$sidADM.SAPUSER;
GRANT INSERT, SELECT, UPDATE ON OPS$sidADM.SAPUSER TO OPS$SAPSERVICEsid;
R3trans -x
sapsr3 parola degistirme
brconnect -u / -f chpass -o sapsr3 -p password
--------------------------
işletim sisteminde database bağlantı yapma;
DROP TABLE OPS$sidADM.SAPUSER CASCADE CONSTRAINTS;
CREATE TABLE OPS$sidADM.SAPUSER
(
USERID VARCHAR2(255 BYTE),
PASSWD VARCHAR2(255 BYTE)
)
TABLESPACE SYSTEM
PCTUSED 40
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
FREELISTS 1
FREELIST GROUPS 1
BUFFER_POOL DEFAULT
)
LOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
--DROP SYNONYM OPS$SAPSERVICEsid.SAPUSER;
CREATE SYNONYM OPS$SAPSERVICEsid.SAPUSER FOR OPS$sidADM.SAPUSER;
GRANT INSERT, SELECT, UPDATE ON OPS$sidADM.SAPUSER TO OPS$SAPSERVICEsid;
SAP tp ile request taşıma
request cofile ve datafile a taşınıyor
tp addtobuffer request SID pf=/usr/sap/trans/bin/TP_DOMAIN_SID.PFL
tp SETTRANSFERRED ALL SID pf=/usr/sap/trans/bin/TP_DOMAIN_SID.PFL REMOTE=SID2 -Dtransdir=/usr/sap/trans
tp import request SID U client=900 pf=/usr/sap/trans/bin/TP_DOMAIN_SID.PFL
--yok tp TRANSMITBUFFER SID pf=/usr/sap/trans/bin/TP_DOMAIN_SID.PFL REMOTE=SID2 -Dtransdir=/usr/sap/trans
tp addtobuffer request SID pf=/usr/sap/trans/bin/TP_DOMAIN_SID.PFL
tp SETTRANSFERRED ALL SID pf=/usr/sap/trans/bin/TP_DOMAIN_SID.PFL REMOTE=SID2 -Dtransdir=/usr/sap/trans
tp import request SID U client=900 pf=/usr/sap/trans/bin/TP_DOMAIN_SID.PFL
--yok tp TRANSMITBUFFER SID pf=/usr/sap/trans/bin/TP_DOMAIN_SID.PFL REMOTE=SID2 -Dtransdir=/usr/sap/trans
5 Şubat 2010 Cuma
Aix to Solaris nfs mount
aix makinada
/etc/exports dosyasina;
/test -sec=sys:krb5p:krb5i:krb5:dh,rw,root=solaris_hostname
usr/sbin/exportfs -a yi calıştırıyoruz.
solaris makinada
/etc/filesystems/
/test2:
dev = "/test"
vfs = nfs
nodename = aix_hostname
mount = false
type = sap_nfs
options = rw,bg,soft,intr,sec=sys
account = false
/etc/default/nfs
client version 3 olacak
sonra;
mount aix:/test /test2
client version hemen set olmazsa;
mount -F nfs -o vers=3 aix:/test /test2
/etc/exports dosyasina;
/test -sec=sys:krb5p:krb5i:krb5:dh,rw,root=solaris_hostname
usr/sbin/exportfs -a yi calıştırıyoruz.
solaris makinada
/etc/filesystems/
/test2:
dev = "/test"
vfs = nfs
nodename = aix_hostname
mount = false
type = sap_nfs
options = rw,bg,soft,intr,sec=sys
account = false
/etc/default/nfs
client version 3 olacak
sonra;
mount aix:/test /test2
client version hemen set olmazsa;
mount -F nfs -o vers=3 aix:/test /test2
Kaydol:
Kayıtlar (Atom)