Life is about extreme choice

August 11, 2009

Migrasi Server SAP WS

Filed under: AIX, Article, Ngoprek, Oracle, SAP, UNIX — Tags: , , , , — ardhian @ 10:54 am

Hari Sabtu pukul 24:00 atau hari minggu jam 00:00, migrasi server Wings dimulai. Tahapan pertama adalah shutdown aplikasi SAP dan database di server lama. Setelah itu dilakukan backup Whole File System. Proses backup memakan waktu cukup lama karena besarnya data yang dibackup. Data SAP sendiri mencapai 2,6 TB ditambah data-data file system. Proses backup dijalankan lalu ditinggal pulang.

Minggu pagi sekitar jam 07:00 kami datang lagi dan proses backup sudah selesai. Langkah selanjutnya adalah melakukan copy datafile Oracle, control file, file-file offline redolog dari server lama ke server baru. Proses ini memakan waktu sekitar 7 jam dan baru selesai sekitar pukul 14:00.

Seharusnya langkah selanjutnya adalah setting Oracle Data Guard dahulu karena database di server lama (yang akan difungsikan sebagai database standby) tidak boleh dalam posisi OPEN. Kesalahan terjadi saat vendor melakukan setting HACMP ulang di server lama  yang menyebabkan script HACMP berjalan dan menaikkan database dalam posisi OPEN. Aplikasi SAP juga ikut naik.

Karena terjadi kesalahan di step sebelumnya terpaksa dilakukan proses copy ulang. Kali ini dari server lama ke server baru. Sebelumnya dilakukan setting dahulu untuk Oracle Data Guard karena setting ODG tidak melihat IP Address server. Proses copy ulang dilakukan dan memakan waktu cukup lama dan baru selesai pukul 02:00 Senin dini hari. Kami terpaksa melanggar kesepakatan dengan departemen lain yang mana kami akan menaikkan SAP pukul 01:00 dinihari.

Dengan banyak effort dan masalah di RFC connection ke server SAP R/3 sister company lain sehingga SAP baru bisa up pukul 06:30 Senin pagi. Gue baru bisa pulang pukul  07:00.

Sesampainya di rumah gw masih ditelepon lagi karena ternyata background job banyak yang tidak berjalan. Setelah diselidiki hal ini terjadi karena job dibuat dan dijalankan pada spesifik server tertentu sehingga pada saat server name diubah job tidak ikut berubah. Terpaksa melakukan create ulang background job. Demikian juga proses backup.

Well, sampai detik ini masih lancar. I hope…

August 9, 2009

Ganti server SAP

Filed under: AIX, Article, Oracle, SAP, UNIX — Tags: , , , , — ardhian @ 12:53 pm

Hari minggu ini seharusnya jadwal di rumah. Well, apa daya ? ada pekerjaan yang musti dikerjakan segera, yaitu mengganti server SAP yang lama ke server yang baru. Server lama akan dipindahkan ke DR site.

Pergantian server ini meliputi ganti server, setting dan konfigurasi HACMP, setting dan konfigurasi Oracle Data Guard sebagai DR Plan, setting backup TSM ke server baru, dll.

Rencana ini dilaksanakan sejak tadi malam dengan melakukan backup server lama terlebih dahulu. Backup sudah selesai. Saat ini server lama sedang meng-copy datafile-datafile server lama ke server baru.

Waiting Mode : ON

August 6, 2009

Number of Work Process stopped after started ?!?!

Filed under: AIX, Article, Ngoprek, Oracle, SAP, UNIX — Tags: , , , — ardhian @ 3:44 pm

Beberapa hari ini dipusingkan dengan settingan parameter SAP. Kebetulan gue lagi setting server SAP baru yang akan digunakan setelah migrasi pada hari minggu besok. Gejalanya adalah beberapa work process terutama dimana dijalankan terakhir akan langsung berhenti.

Ternyata hal ini disebabkan oleh settingan maximum number of process per user di level OS (AIX) yang belum disetting. Secara default, AIX akan memberikan value 128. Untuk sistem SAP kecil mungkin hal ini tidak mengganggu tetapi karena gue setting untuk sistem yang lumayan besar dengan jumlah work process sekitar 143 maka hal ini memberikan masalah.

Solusinya adalah memberikan value yang cukup untuk parameter maximum number of process per user lewat smitty. Jalankan smitty – System Environments – Change / Show Characteristics of Operating System – Maximum number of process per user. Defaultnya adalah 128. Ubah sesuai kebutuhan.

SAP Note Note 437362 – Composite note ORA-12500

Morale story : “Never give up, never surrender. Keep trying !!!”

August 1, 2009

HACMP Setup and Testing on New Server done

Filed under: AIX, Article, Oracle, SAP, UNIX — Tags: , , , , , , — ardhian @ 11:15 am

Akhirnya setelah gue install ulang Dialog Instance di Apps 1, testing HACMP berhasil berjalan dengan baik. Semua server bisa beradaptasi terutama sekali aplikasi SAP yang ada di server-server tersebut berhasil dimaintain dengan benar dan sesuai dengan permintaan dan keinginan gue.

Senin besok, gue tinggal melakukan update kernel SAP dan melakukan penyesuaian profile-profile SAP di DB maupun apps. Gue tinggal mencontek dari profile di server lama.

Well, tinggal menunggu jadwal minggu depan untuk migrasi server.

July 31, 2009

Progress HACMP Configuration : Day 3 Early

Filed under: AIX, Article, Ngoprek, Oracle, SAP, UNIX — Tags: , , , , — ardhian @ 5:30 am

Hari ini adalah hari ketiga untuk setting HACMP. Status progress pada kemaren malam adalah HACMP berhasil dijalankan walaupun untuk Oracle dan SAP masih dilakukan secara manual. Hal ini untuk melihat apakah Oracle dan SAP bisa dijalankan dengan baik dan bisa berpindah secara smooth.

Ada beberapa hal yang musti dilakukan antara lain gue musti melakukan edit DEFAULT profile yang digunakan oleh application server apabila server DB+CI failed, gue juga terpaksa melakukan instalasi ulang CI di application server agar dapat dengan mudah si apps server memiliki environment seperti layaknya host DB+CI dimana apps server ini akan mengambil alih tugasnya.

So far sih OK. Tinggal merapikan skrip. Untung gue dibantuin sama engineer dari CTI yang dah expert banget di HACMP. Jadi kepusingan gue lumayan berkurang.

July 25, 2009

POC Oracle Data Guard : Day 4 a.k.a Last Day

Filed under: AIX, Article, Ngoprek, Oracle, SAP, UNIX — Tags: , , — ardhian @ 9:05 am

Hari ini adalah hari terakhir engineer CTI yang melakukan config POC Oracle Data Guard. Hari ini konfigurasi ODG yang kemaren dibuat dihancurkan lagi karena akan disetting untuk persiapan instalasi HACMP dulu. HACMP akan dimulai minggu depan. Jadi perlu disiapkan environment nya.

So stay tuned

July 16, 2009

Restore SAP Production

Filed under: Article, Ngoprek, Oracle, SAP — Tags: , , , — ardhian @ 1:35 pm

Jadwal minggu ini adalah still instalasi Dialog Instance SAP ERP 6.0 SR3 yang belum berhasil (SAP Global Support sucks !!!!) dan restore SAP Production ke mesin baru. Restore dilakukan untuk mencoba Proof of Concept dari Oracle Data Guard. Untuk melakukan POC ini diperlukan 2 mesin yang sudah ready baik DB maupun SAP instance-nya. Karena tidak mau mengganggu mesin Production yang sedang jalan akhirnya terpaksa restore 2 kali ke mesin yang berbeda.

Well, sampai siang ini sudah 1 mesin berhasil restore. Database Oracle dan SAP Instance sudah berhasil up. Well, tahapan yang perlu diperiksa setelah restore adalah sebagai berikut :

  • Pastikan listener bisa up. Check dulu bagian listener.ora dan tnsnames.ora
  • Pastikan database oracle bisa up dan database dalam posisi open.
  • Lakukan instalasi SAP Central Instance untuk mendapatkan enviroment untuk user-user SAP. Instalasi central instance dilakukan tanpa ekstrak SAP Kernel karena SAP Kernel yang direstore lebih baru daripada bawan DVD installer.
  • Pastikan untuk menginstall license SAP yang baru karena mesin baru memiliki Active Hardware Key yang berbeda sehingga license yang lama bisa dipastikan tidak berlaku.

Sekarang mode menunggu hasil restore untuk mesin kedua.

May 13, 2009

Situs PLN Jatim nggak canggih banget !!

Filed under: Unek-unek — Tags: , — ardhian @ 8:34 am

Pagi ini iseng-iseng mau ngecek tagihan listrik rumah. Kebetulan saya baru saja pindah rumah baru, listrik juga baru saja terpasang. Bulan ini sudah mulai membayar tagihan.

Begitu sampai kantor langsung saja buka situs http://pln-jatim.co.id. Saya langsung mengetikkan nomor pelanggan saya (rumah baru) tapi kok keluarnya…

—-

OraOLEDB error ‘80004005′

ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist

/red/_mod/bill/billing-result.asp, line 24

—-

*&*(@^&%&%@….waduh, kok database oracle-nya PLN jatim down gini yah…Wah, gak canggih banget kok sampe shared memory realm nya mati. Gimana neh PLN Jatim ??

November 23, 2006

Oracle Technical Interview

Filed under: Article, Oracle — Tags: , , , — ardhian @ 9:00 am

Have you been thinking about switching jobs and are uncertain about that technical interview process? Try taking my technical interview and see if you are up it.

It seems the job market is starting to move a bit. If you are uncomfortable in your current position or if you just want to test the waters, it might be time to brush off your resume and hit the road. Before you do, you should also brush up on some of your DBA skills so that you are ready for the dreaded technical interview. Here is a list of questions I think any true DBA should be able to answer. If you do not know the answers to these questions, not to fear, take a bit of time, research the answers, and then go and hit the road. Some of the questions are about you, your personality and how you conduct yourself. Other questions are technical in nature concerning Oracle and operating systems. When answering the questions, both when you go through this interview and when you are in a real interview, try to answer completely and include any real-life experiences you have. Just answering questions with a yes/no or minimum answer does not show a true interest in the field of database administration and how it can impact the company. Most people want to know how you apply the knowledge and what you have learned from it.

Personal

  1. What DBA activities did you to do today?
  2. What is your typical day like?
  3. What other parts of your organization do you interact with and how?
  4. Do you consider yourself a development DBA or a production DBA and why?
  5. Are you a nuts-n-bolts DBA or a tools-n-props DBA

Technical – Oracle

  1. Explain the difference between a hot backup and a cold backup and the benefits associated with each
  2. You have just had to restore from backup and do not have any control files. How would you go about bringing up this database?
  3. How do you switch from an init.ora file to a spfile?
  4. Explain the difference between a data block, an extent and a segment.
  5. Give two examples of how you might determine the structure of the table DEPT.
  6. Where would you look for errors from the database engine?
  7. Compare and contrast TRUNCATE and DELETE for a table.
  8. Give the reasoning behind using an index.
  9. Give the two types of tables involved in producing a star schema and the type of data they hold.
  10. . What type of index should you use on a fact table?
  11. . Give two examples of referential integrity constraints.
  12. A table is classified as a parent table and you want to drop and re-create it. How would you do this without affecting the children tables?
  13. Explain the difference between ARCHIVELOG mode and NOARCHIVELOG mode and the benefits and disadvantages to each.
  14. What command would you use to create a backup control file?
  15. Give the stages of instance startup to a usable state where normal users may access it.
  16. What column differentiates the V$ views to the GV$ views and how?
  17. How would you go about generating an EXPLAIN plan?
  18. How would you go about increasing the buffer cache hit ratio?
  19. Explain an ORA-01555
  20. Explain the difference between $ORACLE_HOME and $ORACLE_BASE.
  21. How would you determine the time zone under which a database was operating?
  22. Explain the use of setting GLOBAL_NAMES equal to TRUE.
  23. What command would you use to encrypt a PL/SQL application?
  24. Explain the difference between a FUNCTION, PROCEDURE and PACKAGE.
  25. Explain the use of table functions.
  26. Name three advisory statistics you can collect.
  27. Where in the Oracle directory tree structure are audit traces placed?
  28. Explain materialized views and how they are used.
  29. When a user process fails, what background process cleans up after it?
  30. What background process refreshes materialized views?
  31. How would you determine what sessions are connected and what resources they are waiting for?
  32. Describe what redo logs are.
  33. How would you force a log switch?
  34. Give two methods you could use to determine what DDL changes have been made.
  35. What does coalescing a tablespace do?
  36. What is the difference between a TEMPORARY tablespace and a PERMANENT tablespace?
  37. Name a tablespace automatically created when you create a database.
  38. When creating a user, what permissions must you grant to allow them to connect to the database?
  39. How do you add a data file to a tablespace?
  40. How do you resize a data file?
  41. What view would you use to look at the size of a data file?
  42. What view would you use to determine free space in a tablespace?
  43. How would you determine who has added a row to a table?
  44. How can you rebuild an index?
  45. Explain what partitioning is and what its benefit is.
  46. You have just compiled a PL/SQL package but got errors, how would you view the errors?
  47. How can you gather statistics on a table?
  48. How can you enable a trace for a session?
  49. What is the difference between the SQL*Loader and IMPORT utilities?
  50. Name two files used for network connection to a database.

Technical – UNIX

  1. How do you list the files in an UNIX directory while also showing hidden files?
  2. How do you execute a UNIX command in the background?
  3. What UNIX command will control the default file permissions when files are created?
  4. Explain the read, write, and execute permissions on a UNIX directory.
  5. What is the difference between a soft link and a hard link?
  6. Give the command to display space usage on the UNIX file system.
  7. Explain iostat, vmstat and netstat.
  8. How would you change all occurrences of a value using VI?
  9. Give two UNIX kernel parameters that effect an Oracle install
  10. Briefly, how do you install Oracle software on UNIX.

I hope that these interview questions were not too hard. Remember these are “core” DBA questions and not necessarily related to the Oracle options that you may encounter in some interviews. Take a close look at the requirements for any job and try to extract questions that they may ask from manuals and real life experiences. For instance, if they are looking for a DBA to run their databases in RAC environments, you should try to determine what hardware and software they are using BEFORE you get to the interview. This would allow you to brush up on particular environments and not be caught off-guard. Good luck!

source : http://www.databasejournal.com/features/oracle/article.php/3085171

July 12, 2006

Life is about extreme choice !!

Filed under: SAP, Unek-unek — Tags: , , , , , , — ardhian @ 2:46 pm

Saya menuliskannya pada saat membaca blog seorang kawan. This guy is a monsterbut inspirable..

Yup, sekarang saya yang mengalaminya. Right now, posisi saya sebagai seorang Basis a.k.a Administrator sistem SAP. Anda tahu sendiri seberapa gede sistem SAP di kantor saya, PT Karunia Alam Segar. ERP nomor wahid…SAP di kantor sudah berjalan hampir 1 tahun. Ada beberapa kendala selama itu, tapi Alhamdulillah bisa diatasi.

Sedangkan pada saat yang sama, saya juga anggota Basis untuk implementasi SAP di tempat lain, di PT Wings Surya. Kayak holding company…di tempat saya. Jadi sistem SAP yang diterapin di PT Wings Surya ini, ruang lingkupnya lebih luas dan lebih complicated. Wings Group-lah bicaranya…Projeknya sampai akhir tahun ini. Bakalan lebaran di kantor dah gue…:(..Untung istri saya pengertian…

But ada lagi yang bikin makin complicated…ada tawaran untuk jadi basis di tempat lain (other town tepatnya). Katanya sih salary lebih gede…dan yang saya tahu..sistem mereka lebih komplek lagi..Company mereka memakai AIX 5.2 DB Oracle 9.2 trus…sistem SAP R/3 4.7…punya sistem Solution Manager a.k.a solman dan ada sistem BW (Business Warehouse)…wuihhhh…..

Wuihh….top banget dah…Sepertinya banyak tantangan disana…Saya memang orang yang suka sekali tantangan. Mempelajari hal-hal baru setiap hari.

Kembali ke masalah tadi, pertimbangan saya..lokasi mereka tidak satu kota dengan saya. Ini yang bikin bingung…

Dalam hidup, memang hanya ada 2 pilihan yang ekstrem, ya dan tidak, hitam dan putih, mudah dan complicated, dan…..kerja keras atau tidak ada kerjaan sama sekali. Hidup ini memang tidak setengah-setengah…yang ad hanya work hard or not work at all

Ada saran dari rekan-rekan ?

About Me

Ardhian – seorang linux geeks yang saat ini bekerja sebagai Basis (Administrator sistem SAP). Saat ini juga memegang sistem HPUX dan sebagai DBA Oracle. Pengelola toko linux online (http://linux-shop.siteburg.com) dan menjalankan bisnis training linux privat. Penulis merupakan konsultan freelance untuk sistem Linux, migrasi windows ke Linux, network consultant dsb. Penulis bisa dihubungi di devratt@yahoo.com.

Older Posts »

Blog at WordPress.com.