Monday, December 01, 2008

Installing SNC SAP Router as NT Service

SAP router is a program that acts as a mediator in the network between SAP system and access is controlled before data is sent further along the communication path. Connections can also be established between SAP systems over several SAProuters. You can then secure connections between adjacent SAProuters using SNC.

SNC is used to make network connections using the Internet, in particular WAN connections, secure. It provides reliable authentication as well as encryption of the data to be transferred.SAProuter allows SNC connections to be set up. The route permission table can be used to specify precisely whether SNC connections are allowed, and if so, which ones.



Before you start the installation, download the necessary software component from SAP Service Marketplace. Besides, you have to request a certification in https://service.sap.com/saprouter-sncadd.

Following steps will describe how to install SAPRouter in your system.
1. Set the environment variables of SNC_LIB and SECUDIR
SNC_LIB = drive:\path_to_libsecude\ntintel\sapcrypto.dll
SECUDIR = directory_of_saprouter
2. Generate the certificate request using command
sapgenpse get_pse -v -r certreq -p local.pse “Distinguished Name"
3. You will be asked twice for a PIN here. Please choose a PIN and document it, you have to enter it identically both times. Then you will have to enter the same PIN every time you want to use this PSE.
4. Display the output file "certreq" and with copy & paste (including the BEGIN and END statement) insert the certificate request into the text area of the same form on the SAP Service Marketplace from which you copied the Distinguished Name.
5. In response you will receive the certificate signed by the CA in the Service Marketplace. Copy&paste the text to a new local file named "srcert", which must be created in the same directory as the sapgenpse executable.
6. With this in turn you can install the certificate in your saprouter using command:
sapgenpse import_own_cert -c srcert -p local.pse
7. Now you will have to create the credentials for the SAProuter with the same program by calling: sapgenpse seclogin -p local.pse
8. Check if the certificate has been imported successfully with the following command:
sapgenpse get_my_name -v -n Issuer
The name of the Issuer should be:
CN=SAProuter CA, OU=SAProuter, O=SAP, C=DE
9. Check if the certificate has a valid date with the following command:
sapgenpse get_my_name


Check your saprouttab file. It contains routing table from SAPROUTER to OSS . Add manually connection as many as you need. for more information you can go to http://help.sap.com/saphelp_nwmobile71/helpdata/en/65/8d09ab5c7e46028f633bb01a09b380/content.htm

After installing SAPRouter, you have to install the SNC as a NT service.
1. Minimum saprouter version 30
2. Create the subdirectory saprouter in the directory drive:\usr\sap
3. Copy the executables saprouter.exe and niping.exe to the directory you have just created
4. If the Saprouter has already been entered as a service with srvany.exe, the
definition of the service from the registry (path: HKLM -> System -> CurrentControlSet -> Services -> SAPRouter) should first be removed and then the machine should be rebooted.
5. To define new service. Enter this command :
ntscmgr install saprouter -b \saprouter.exe -p "service -r -W 60000 -R path\saprouttab -K ^p:^"
6. Edit the string in the registry under :
MyComputer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\saprouter\ImagePath –> Change both ^ to “
7. Additionally you'll have to do the following steps to make SAPCRYPTOLIB credentials available to a process that runs as an NT service. Run the command:
sapgenpse seclogin -p local.pse
8. Proceed as follows after the installation to maintain the general attributes of the service : Go to 'Control Panel -> Services: SAPRouter -> Button: Startup',set the startup type to 'Automatic' and enter the user .The SAPRouter should NOT run under the system account

Thursday, November 20, 2008

Maintain SAPRouter

Sometimes you face problem with your SAPRouter hence you can not connect to OSS. Please follow steps below to diagnose what really happen to your SAPRouter.

1. Ping sapserv2 (194.39.131.34) from your SAProuter. If you get time out error, it means your saprouter can not connect to the OSS server.
2. Please check your saprouttab file. This file containts the perrmission and deny connection from or to sapserv2. You edit this file and add manually your connection if you need it.

If your SAPRouter is a SNC connection, please proceed additional steps below to check the validity of SNC certificate.
1. Run command sapgenpse
2. Run command sapgenpse get_my_name
3. Run command sapgenpse get_my_name -v -n Issuer
4. Run command sapgenpse seclogin –l
5. Run command sapgenpse get_pse -v -r certreq -p local.pse "CN=hostname, OU=unique number, OU=SAProuter, O=SAP, C=DE"
6. Run command sapgenpse import_own_cert -c srcert -p local.pse
7. Run command sapgenpse seclogin -p local.pse
8. Run command sapgenpse get_my_name -v -n Issuer
9. Run command sapgenpse get_my_name

Friday, November 14, 2008

Hotel Bidakara

Mungkin lo2 pada bingung baca judul postingan gua....sebenarnya gak ada yang namaya Hotel Bidakara..yang ada Bidakara Tower....

Gua nulis gitu untuk menggambarkan keadaan gua saat ini dimana gua harus stay in this building till Sunday....

Emang gua lagi ngapain? Apalagi klo bukan kerja...kerja di atas rata-rata jam kerja orang normal, suka masuk pas weekend, susah mengatur WLB (work life balance) adalah keaadan gua saat ini sebagai seorang konsultan...

Mungkin bagi kalian yang masih muda (kaya udah tua aja guanya) alias yang masih kuliah..mendengar kata konsultan mungkin sesuatu yang wah...memang, ada kebanggaan tersendiri bagi lo klo lo disebut sebagai seorang konsultan...cuman klo lo2 pada udah di dalam, jadi seorang konsultan itu sangat berat, susah untuk bagi waktu antara kerjaan dan kehidupan lo yang lain...jadi..klo mau jadi konsultan berpikirlah masak2.

Back to my condition now...gua harus stay in here karena gua harus ngelakuin export dan import database SAP...kerjaannya sebenarnya cuman nungguin sistem..make sure nothing error occurs and fix the problem as sooon as possible.

Gua sendiri berharap gak ada error yang muncul, jadi gua bisa tidur bentar dan bisa mengumpulkan tenaga untuk esok hari....buat temen2 yang lain selamat menikmati malam ini dan week end esok...

Wednesday, November 12, 2008

SAP Router Installation

On this posting, I’ll try to explain about how to install and configure SAProuter and also how to set your SAProuter to match with Secure Network Communication (SNC) just SAP want to if they have to support you.

The first thing you need to do, is to send a customer message to SAP Support(component XX-SER-NET-OSS-NEW) and tell them to register the hostname and IP of your new SAProuter.

You have to register it with a official IP address (no internal IPs allowed), but it’s allowed to use NAT in the firewall/router.

After you’ve received a confirmation from SAP that your SAProuter has been registered, you are ready to configure your SAProuter.

If your SAProuter directory is C:\usr\sap\saprouter, below the steps you can follow.

Note: You will be asked for a PIN code. Just pick your own 4 numbers, but
you’ll have to use the same PIN every time you’re asked to enter one.

1. Set 2 environment variables: SECUDIR and SNC_LIB according to the
guide you’ve downloaded.

2. Download the SAP Crypto Library and unpack it into C:\usr\sap\saprouter

3. To generate a certificate request, run the command:
sapgenpse get_pse -v -r C:\usr\sap\saprouter\certreq -p C:\usr\sap\saprouter\local.pse “”

4. Then you have to follow the guide and request the certificate from
http://service.sap.com/tcs -> Download Area -> SAProuter Certificate

5. Create a file C:\usr\sap\saprouter\srcert and copy the requested
certificate into this file. The run the command:
sapgenpse import_own_cert -c C:\usr\sap\saprouter\srcert -p C:\usr\sap\saprouter\local.pse

6. To generate credentials for the user that’s running the SAProuter service, run command:
sapgenpse seclogin -p C:\usr\sap\saprouter\local.pse -O
(this will create the file “cred_v2″)

7. Check the configuration by running command:
sapgenpse get_my_name -v -n Issuer
(This should always give the answer “CN=SAProuter CA, OU=SAProuter,
O=SAP, C=DE”)

8. Create SAProuter service on Windows with the command:
ntscmgr install SAProuter -b C:\usr\sap\saprouter\saprouter.exe -p
“service -r -R C:\usr\sap\saprouter\saprouttab -W 60000 -K
^p:^”

9. Edit the Windows Registry key as follows:
MyComputer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SAProute
r\ImagePath –> Change both ^ to “

10. Start the SAProuter service

11. Enter the required parameters in OSS1 -> Technical Settings

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

Installation on UNIX
———————————————-

1. Create the subdirectory saprouter in the directory /usr/sap/.

2. Get the latest version of the SAProuter from the SAP Service Marketplace (service.sap.com/patches). Choose Support Packages and Patches ® Entry by Application Group ® Additional Components ® SAPROUTER. The SAProuter is in packet saprouter*.SAR; the program niping is also in this packet. Copy programs saprouter and niping to the newly created directory /usr/sap/saprouter.

If you cannot copy the programs from SAP Service Marketplace, you can copy a version (may be obsolete) from your directory /usr/sap//SYS/exe/run.

3. (Optional) If you want to start the SAProuter on the same computer used for an SAP instance, insert the following line into file /usr/sap//SYS/exe/run/startsap:

#

# Start saprouter

#

SRDIR=/usr/sap/saprouter

if [ -f $SRDIR/saprouter ] ; then

echo “\nStarting saprouter Daemon “ | tee -a $LOGFILE

echo “—————————-“ | tee -a $LOGFILE

$SRDIR/saprouter -r -R $SRDIR/saprouttab \

| tee -a $LOGFILE &

fi

Insert the lines before the commands to start the SAP instance.

Normally the SAProuter runs on a different computer. If this is so, this step is omitted and you start the SAProuter as described in Starting the SAProuter.

4. Maintain the route permission table in directory /usr/sap/saprouter. If you want to keep it in another directory or under a name other than saprouttab, you must specify this with the SAProuter option -R (see Option R ).

This should help in SAP Router configuration and installation. Step forward, guys.

Sunday, October 19, 2008

My Last Week

Nulis blog ini sambil dengerin lagu dari Jason Mraz, I'm Yours. Lagunya bagus dan keren, jadi suka banget dengerin lagu ini, padahal udah lama banget nich lagu keluar baru bisa dengerin skarang. Dengerinnya pake Gadget yang udah sebulan gua beli hehehe (Ipod Nano Chromatic).

Well, you done done me and you bet I felt it
I tried to be chill but your so hot that i melted
I fell right through the cracks, and i’m tryin to get back
before the cool done run out i’ll be givin it my best test
and nothin’s gonna stop me but divine intervention
I reckon it’s again my turn to win some or learn some

I won’t hesitate no more,
no more, it cannot wait i’m yours

Well open up your mind and see like me
open up your plans and damn you’re free
look into your heart and you’ll find love love love
listen to the music at the moment maybe sing with me
Ah, la peaceful melody
It’s your god forsaken right to be loved loved loved loved Loved

So, i won’t hesitate no more,
no more, it cannot wait i’m sure
there’s no need to complicate our time is short
this is our fate, i’m yours

I’ve been spendin’ way too long checkin’ my tongue in the mirror
and bendin’ over backwards just to try to see it clearer
my breath fogged up the glass
and so I drew a new face and laughed
I guess what I’m a sayin’is there ain’t no better reason
to rid yourself of vanity and just go with the seasons
it’s what we aim to do
our name is our virtue

I won’t hesitate no more, no more
it cannot wait, i’m sure
(there’s no need to complicate
our time is short
it cannot wait, i’m yours 2x

no please don’t complicate, our time is short
this is our fate, in yours.
no please don’t hesitate no more, no more
it cannot wait, the sky is yours!)

well open up your mind and see like me
open up your plans and damn you’re free
look into your heart and you’ll find love love love love
listen to the music of the moment come and dance with me

Almost 2 weeks I never posted in my blog. Walaupun sebenarnya ada begitu banyak hal yang pengen gua tulis cuman karena waktu yang sangat tidak memungkinkan jadi semuanya tinggal angan2 belaka.

Seminggu ini kegiatan gua gak jauh berbeda dengan kegiatan2 gua selama minggu2 kemaren. Dari pagi ampe malam yang gua lakuin hanyalah duduk di depan laptop, cuman bukan duduk biasa tapi duduk sambil berpikir mengenai kerjaan. Banyangin aja gua yang sangat tidak suka dengan programming suddenly I got task from my supervisor to make a script. Kebayang donk gimana gua harus memutar otak gua untuk bisa solving this challenge. Thanks God akhirnya tugas itu selesai juga.

Belom lagi ada problem dengan pengiriman CD dari German. Jumat kemaren tiba2 dapat email dari DHL klo skarang CD yang gua pesen dari German lagi ditahan di Bea Cukai karena gak ada surat keterangan dari Deperindag. Surat itu sebenarnya wajib dibuat klo kita import CD. Suratnya menyatakan klo kita gak bakalan gunain tuh CD untuk keperluan komersialisasi. CUMAN...kenapa baru sekarang si DHL nya ngomong klo itu harus dibuat? Padahal sebelum2nya klo gua pesen CD dari German gak perlu ada surat2 segala. Ya...betelah gua, mana kepala gua lagi pusing waktu itu, kena semprotlah si orang DHL nya. hehehe (Sorry ya mba)...Akhirnya gua escelate-lah problem ini ke supervisor gua dan dia yang bakalan handle this problem.

Hmm...kira2 itulah kejadian yang cukup gua ingat selama minggu ini. Minggu depan bakalan ada apa lagi ya? Tinggal tunggu saja. Biarlah kesusahan hari ini cukup untuk hari ini saja, karena esok memiliki kesusahannya sendiri.

Saturday, October 04, 2008

If I must be different, then let me keep that which sets me apart

Brisingr adalah kata yang digunakan untuk menyebut api in ancient laguange. Merupakan judul ke-3 dari buku Erragon karangan Christhoper Paolini. Pada bagian awal, Paolini mengangkat cerita penyelamatan Katrina, kekasih dari Roran (sepupu Eragon), yang ditahan oleh RAz'ac di Helgrind. Penyelamatan dilakukan oleh Roran, Saphira, dan tentu saja Eragon. Setelah penyelamatan berhasil dilakukan, Eragon memutuskan untuk tinggal di Helgrind, sedangkan Roran, Katrina, dan Saphira bertolak kembali ke perkemahan Varden.
Setelah melakukan suatu urusan yang penting di Helgrind, Eragon akhirnya memutuskan untuk kembali ke bersama Varden. Hanya saja, kali ini menggunakan jalan darat karena saphira telah kembali ke Varden terlebih dahulu. Disepanjang perjalanan ada banyak bahaya yang harus dilalui dan ketika berada di kota Tremin dia bertemu dengan Arya. Apa yang dilakukan oleh Arya di kota itu? Tidak lain adalah mencari Eragon karena takut akan terjadi sesuatu dengan dia. Perjalanan pun dilanjutkan dan mereka pun akhirnya sampai di perkemahan Varden.
Itu hanyalah cerita singkat dari Brisingr yang jumlah halamannnya 748. Jadi sudah benar hal yang dilakukan oleh paolini membagi cerita terakhir ini menjadi 2 bagian. Masih banyak hal yang blom terungkat dan jika dipaksakan untuk menjadi 1 buku tentu saja tidak terbayangkan berapa banyak halaman yang diperlukan.
Menurut gua pribadi, buku ini lebih seru dibandingkan dengan buku pertama dan kedua. Penggambaran character dari para tokoh lebih tajam dari sebelumnya. Misalkan saja bagaimana Nasuada sebagai seorang pemimpin koalisi harus mengambil suatu keputusan yang bisa menjadi sebuah win2 solution demi menjaga keutuhan koalisi yang dipimpinnya. Selain itu alur cerita yang disajikan pun lebih menarik dari sebelumnya. Dibandingkan dengan buku pertama dan kedua, di buku ketiga ini peranan dari para dwarf lebih ditonjolkan dari sebelumnya. Kita hanya bisa menebak mengapa Paolini begitu menonjolkan tentang para dwarf di buku ini.
Di buku ketiga ini, ada banyak rahasia yang diungkapkan. Misalkan saja, dari mana asal kekuatan dari Galbatorix, apakah Eragon dan Murtagh benar-benar saudara kandung, apa yang berada di bawah pohon Menoa dan masih banyak lagi. So, gak ada salahnya untuk membaca novel karangan Paolini ini apalagi bagi kalian yang udah ngikutin dari buku pertama ama kedua.
Udah itu, apa hubungan antar judul postingan ini ama Brisingr? Itu adalah satu Quote dari Elva when Eragon tried to heal Elva from his "blessing". I think it's a cool quote.

Tuesday, September 30, 2008

Hari baik or hari buruk?

After fasting for 1 month whole, it's time to celebrate the victory and people call it Lebaran (ied mubarak). Liburan lebaran yang gua tunggu-tunggu akhirnya datang juga. Seminggu penuh gua bakalan menggunakan waktu ini untuk memanjakan diri gua dengan melakukan segala sesuatu yang selama ini gak sempet gua lakuin. Hari pertama liburan tepatnya Senin 29 Sept gua isi dengan acara bebersih kamar kosan (ini mah bukan memanjakan diri hehehe). It almost 1 month sejak terakhir kalinya kamar gua mendapat sentuhan sapu dan kemoceng. Setelah beberapa jam....Piyuh...akhirya kamar gua bisa bersinar kembali seperti si pemilik.
After took a few breath, i continue my next task. It's time to wrap my beloved novels. Buset...setelah gua liat2 ternyata banyak juga ya novel gua yang belom gua bungkus....kasihan banget tuh novel terkena debu kamar selama ini.....Persiapan pun dimulai....ambil gunting, cutter, penggaris besi (Rudy gua punya loh...), dan yang paling penting adalah pembungkus plastic. Dimulai dengan mengukur pembungkus untuk disesuaikan dengan novel, setelah itu belah menjadi beberapa bagian (emang demo masak)hehehe gak kok bercanda doank..... kayanya gua gak perlu jelasin dh cara bungkus buku..masa gitu aja kaga ngerti....proses pembungkusanpun dimulai, A Thousand Splendid Suns terus berlanjut ke novel-novel lainnya dan akhirnya yang paling terakhir adalah Brisingr the latest version of Eragon circle (dulunya trilogy). Klo yang ini perlu penangan extra khusus abis masih baru, gede, udah itu tebal lagi..kan sayang klo lecek....
Mandi pagi jam 12 siang, siap2, udah itu ke Plaza Bapindo janjian ama temen ngasih novel ama serial Gossip Girl (dijamin yang suka serial ini pasti suka gosip)...abis lunch bareng, next destination is PP (pacific place)....
Tujuan pertama adalah starbucks....rencananya mau cobain BCA flash eh ternyata belom ada mesinnya terpaksa deh bayar pake debit...hmm..tanda-tanda
kesialan pertama....
Pesen Green tea latte tall, duduk....buka tas ambil ipod chromatic gua yang belom cukup seminggu, ambil novel Brsingr buka dan baca...ampir sejam gua menghabiskan 1 cup green tea latte di starbucks PP sambil baca2 novel. Kayanya habbit yang bagus juga, bisa di coba sering2 nich....apalagi klo lagi ada promo bisa pesen 2 bayar 1 hehehhe.....
ops.....kantung kemih mulai terisi penuh dan mulai menimbulkan dorongan....akhirnya keluar starbucks cari toilet dan proses pembuangan pun dilakukan. Yes....akhirnya selesai juga..hampir aja pipis d celana...kan ntar bisa malu :">
Next dest Aksara yang baru aja buka...ke bagian fiction..liat2 beberapa novel yang menarik, baca-baca sinopsisnya kayanya ada sekitar 5 novel yang bagus cuman karena keterbatasan dana dan daya akhirnya cuman bisa beli 2...yang satu novel classic yang dari dulu pengen gua punya, cuman di kampung halaman gua gak ada yang jual" To Kill A Mockingbird" ..Terus beli novel karangan seorang penulis Turki, Orhan Pamuk, judulnya My Name Is Red...Bayar di kasir dan
kesialan kedua pun terjadi di hari itu...

Mikael: Mba2...boleh liat Brisingr nya gak...yang ada dibelakang mba itu...

Mba1: Oh boleh mas...

Mikael: Klo yang hardcover ini berapa ya mba?

Mba1: Coba saya liat dulu ya....

(cukup lama dan Mikael pun semakin gelisah)

Harganya 275 mas

Mikael: Apa? 275? Kok saya kemaren pre-order di Aksara PI...dapat harga 270 tapi dapatnya softcover ya? Kok bisa gitu sich mba? Saya merasa tertipu nih...(nada pembicaraan semakin meninggi)

Mba2: Wah klo itu kita minta maaf mas...soalnya klo pre-order memang kaya gitu...terkadang jauh lebih mahal dan dapatnya softcover....

Mikael: What the hell...klo tahu gini gua mendingan gak usah pre-order..mendingan tunggu dulu aja toh seminggu doank bedanya...

Mba2: wah kita bener2 minta maaf mas klo masalah itu

Mikael: ya udah gak papa. Jadi belanjaan saya berapa mba?

SIAL....kenapa gua harus mendapatkan Brisingr yang softcover padahal bedanya cuman 5000 perak doank....coba aja kemaren malam gua gak ke PI ambil pesenan gua...mungkin gua masih bisa dapat yang hardcover....shit!
Cukup dengan marah2nya......
Abis dari aksara turun ke lantai 3 tepatnya ATM BCA..ambil duit buat pulang, bayar kosan, dan duit buat dimasukin ke Mandiri (kebetulan d lantai dasar ada ATM setoran tunai)....Cukup lama mengantri di ATM...kayanya semua orang pengen belanja buat lebaran 2 hari lagi...Cukup dengan urusan tarik menarik duit di ATM...lanjut ke ATM setoran tunai mandiri. Pemasukan pertama berhasil...duit diterima dengan baik dan setoran pun dilakukan.....receipt pun keluar...pemasukan kedua....2 lebar duit ditolak....coba dirapiin dan dimasukan lagi....1 lembar keterima...coba rapiin lagi dan masukan.
Loh...kok tampilan layarnya gak berubah ya? meski mulai panik gua tetap berusaha untuk berpikir positif...mungkin mesinnya agak lemot...tunggu bentar lagi....3 menit...5 menit...loh kok layarnya gak berubah ya...dan tempat masukin duitnya menunjukkan tanda2 tidak beres...kap penutupnya terbuka...terutup..terbuka...tertutup...secara berulang2....akhirnya panik..panggil satpam..walalupun tahu satpam gak mungkin bisa memberikan solusi, at least ada orang yang tahu problem gua...satpamnya gak tahu mau ngomong apa, akhirnya gua telp 14000....CS-nya pun dapat semprot dari gua. Setalah cukup lama beradu mulut dengan CS-nya (kayanya cuman gua sich yang ngomong dia mah diam aja) akhirnya masnya memberikan solusi untuk ke bank besoknya (selasa maksudnya) untuk membuat pengaduan....

Mikael: GILA ya mas...bukannya bank tutup besok?

CS: OH...besok ada yang buka kok...

Mikael: yang d PLaza Bapindo buka gak?

CS: Buka kok mas ampe jam 3

Mikael: ya udah klo gitu saya ke sana besok....untuk ATM saya yang tertelan tolong di blokir mas....udah itu lain kali klo emang mesinnya abal2 kaya gini mendingan gak usah dipasang dh...bukannya bikin mudah malah bikin repot....

CS: klo untuk ketidaknyamanan ini saya minta maaf mas...ok nanti sya blokir kartunya

Mikael: OK....makasih

What the f***,
ini kesialan yang ketiga yang terjadi di hari ini....harusnya gua bersenang2, memajakan diri gua..eh malah ketiban sial kaya gini....dosa apa ya gua? padahal baru hari pertama.......
Akhirnya karena kesal gua mutusin untuk balik, tidur, dan lanjutin baca Brisingr di kosan..padahal rencananya abis dari PP mau nongkrong di FX....Mungkin liburan bukan bagian dari kehidupan gua....hiks3....

Sunday, September 14, 2008

My First Blog

Today I officially launching my first blog. Actually I want to make a blog along time ago, but I can't make it because I was too busy with my work and my life. Although I am still busy till this day I try to use my little spare time to make it happen. Hope through this blog I can tell my friend out there about my thought, my desire, my hope, and my opinion about what happen around us.