Sayfalar

22 Mayıs 2012 Salı

SOLARIS ZONES nedir?


SOLARIS ZONES / CONTAINER Kavramları (Solaris Bölgeleri)Zone nedir?

Solaris işletim sistemin deki zone kavramı sanal olarak çalışan işletim sistemine karşılık gelmektedir.  Zone’ lar çalıştırıldığı işletim sisteminden izole edilmiş sistemlerdir, bu bize;
  • Uygulamalarımızı farklı zone’ lara dağıtarak bir birlerinden etkilenmeden çalıştırmayı,
  • Tek bir makinaya birden fazla zone kurarak kendi yazılımlarımızı test etme,
  • İş yükünü göre kaynak paylaştırma gibi önemli yetenekler sağlar,
Gibi yetenekler sağlar.
Çoğu kaynakta Zone ile Container aynı anlamda kullanılmasına rağmen doğrusu Zone kavramı Solaris container ın bir öğesidir,
Zone lar bizlere asıl işletim sistemimizden ayrı ve bağımsız işletim sistemine ait servisleri sağlar, bunun sonucu olarak sistemimizin altında çalışan farklı bir işletim sistemine sahip oluruz,
Zone teknolojisini kullanabilmek için en azından Solaris 9 ya da 10 sürümüyüklü bir sisteme ihtiyaç vardır,
Bir Solaris sistem üzerine donanım kapasitene bağlı olarak en fazla 8192 zone kurulabilir,
Non-global zone: içinde bir birlerinden etkilenmeden çalışabilen uygulamaların bulunduğu bir kutu gibi düşünülebir, zone lar non-global zone içinde bulunur.
BrandZ (Branded Zones): Branded zone container ları oluşturmaya yarar,
Non-globalar zone larda Solaris  8  ya da Linux işletim sistemini emulate edebiliriz.
Solaris 10 8/07 (Sparc) işletim sistemi çalışan bir sistemde Solaris 8 ve 9 brand leri kullanılabilir,
Solaris 10 çalışan x86 ve x 64 bir sistemde Linuxlx brand’ i kullanabiliriz,
Zone’lar kullanım doğrultusunda sistem kaynaklarının dağıtılması amaçlı kullanımı oldukça yararlıdır.
Örneğin daha önce üç adet sunucu bulunan (uygulama sucusu, lisans sunucusu ve NIS sunucu) bir sitemi, üç farklı zone konfigürasyonu yaparak (uygulama_zone, lisans_zone ve NIS_zone) tek sunucuya indirgeyebiliriz.
Bununla birlikte kullanılmayan sistem kaynaklarını zone lar arası geçişleri mümkündür, sistemimizde 3 zone bulunsun ve her Zone  2 şer Gb lık ram ayırmış olalım, ihtiyaç halinde zone lar arasında kullanılmayan ram ihtiyaç duyan Zone’a dinamik olarak aktarılabilir,
Hiçbir zone diğer zone ya da zone’ lar daki hatalardan etkilenmez, yukarıda ki durumda uygulama sunucusunu kapatılması diğer iki zone un çalışmasını etkilemez ama bu üç uygulama tek bir işletim sistemine yüklü olsaydı ve uygulamalardan biri için sistemi restart etmek zorunda kalsaydık diğer 2 uygulamanın kullanıcılarıda bundan etkilenecekti.

Kaynak:unix-tr

21 Mayıs 2012 Pazartesi

What is ZFS?



What is ZFS?

ZFS is a new kind of file system that provides simple administration, transactional semantics,
 end-to-end data integrity, and immense scalability. ZFS is not an incremental improvement
 to existing technology; it is a fundamentally new approach to data management.
We've blown away 20 years of obsolete assumptions, eliminated complexity at the
 source, and created a storage system that's actually a pleasure to use.
ZFS presents a pooled storage model that completely eliminates the concept
 of volumes and the associated problems of partitions, provisioning, wasted
bandwidth and stranded storage. Thousands of file systems can draw from a
 common storage pool, each one consuming only as much space as it actually needs.
 The combined I/O bandwidth of all devices in the pool is available to all file systems at all times.
All operations are copy-on-write transactions, so the on-disk state is always valid.
 Every block is checksummed to prevent silent data corruption, and the data is
 self-healing in replicated (mirrored or RAID) configurations. If one copy is damaged,
ZFS detects it and uses another copy to repair it.
ZFS introduces a new data replication model called RAID-Z. It is similar to RAID-5
 but uses variable stripe width to eliminate the RAID-5 write hole (stripe corruption due
 to loss of power between data and parity updates). All RAID-Z writes are full-stripe writes.
 There's no read-modify-write tax, no write hole, and — the best part —
 no need for NVRAM in hardware. ZFS loves cheap disks.
But cheap disks can fail, so ZFS provides disk scrubbing. Similar to ECC memory scrubbing,
 all data is read to detect latent errors while they're still correctable.
A scrub traverses the entire storage pool to read every data block,
 validates it against its 256-bit checksum, and repairs it if necessary.
All this happens while the storage pool is live and in use.
ZFS has a pipelined I/O engine, similar in concept to CPU pipelines.
The pipeline operates on I/O dependency graphs and provides scoreboarding, priority,
 deadline scheduling, out-of-order issue and I/O aggregation. I/O loads that
 bring other file systems to their knees are handled with ease by the ZFS I/O pipeline.
ZFS provides 2 64 constant-time snapshots and clones. A snapshot is a read-only
 point-in-time copy of a file system, while a clone is a writable copy of a snapshot.
 Clones provide an extremely space-efficient way to store many copies of
mostly-shared data such as workspaces, software installations, and diskless clients.
You snapshot a ZFS file system, but you can also create incremental snapshots.
Incremental snapshots are so efficient that they can be used for remote replication,
 such as transmitting an incremental update every 10 seconds.
There are no arbitrary limits in ZFS. You can have as many files as you want: full
64-bit file offsets, unlimited links, directory entries, and so on.
ZFS provides built-in compression. In addition to reducing space usage by 2-3x,
compression also reduces the amount of I/O by 2-3x. For this reason, enabling
 compression actually makes some workloads go faster.
In addition to file systems, ZFS storage pools can provide volumes for applications
 that need raw-device semantics. ZFS volumes can be used as swap devices,
 for example. And if you enable compression on a swap volume, you now have
 compressed virtual memory.
ZFS administration is both simple and powerful. Please see the zpool(1M) and
zfs(1M) man pages for more information — and be sure to check out the Getting Started
 section for a whirlwind tour.
ZFS is already quite snappy on most workloads — and we're just getting started.

23 Mart 2011 Çarşamba

Engineering Economics


Engineering economics is the application of economic techniques to the evaluation of design and engineering alternatives. The role of engineering economics is to assess the appropriateness of a given project, estimate its value, and justify it from an engineering standpoint.
Engineering economics deals with the concepts and techniques of analysis useful in evaluating the worth of systems, products, and services in relation to their costs. It is used to answer many different questions
– Which engineering projects are worthwhile?
• Has the mining or petroleum engineer shown that the mineral or oil deposits is worth developing?
– Which engineering projects should have a higher priority?
• Has the industrial engineer shown which factory improvement projects should be funded with the available dollars?
– How should the engineering project be designed?
• Has civil or mechanical engineer chosen the best thickness for insulation?
An engineering economy study involves technical considerations and it is a comparison between technical alternatives in which the differences between the alternatives are expressed so far as practicable in money terms.
Engineering Economy Study: the process of engineering economy study will include data gathering and data analysis.
Analysis requires analytical methods and Engineering Economy texts mainly concentrated on analytical techniques. The analytical techniques express the alternatives in comparable measures of money with respect to their cost, revenue or return on capital.
Data gathering will include some current estimates made by engineers by combining the technical information and costs/prices relevant to the materials and processes used to provide goods or services. The data gathering effort cannot be a one time effort and systems are to be put in place to record appropriate data as and when it first appears. For this purpose accounting sections or departments (financial, cost and management accounting) and technical departments have to jointly work out the need for future engineering economy studies and instal appropriate recording systems.

Writer: Economist Mss. Hermine

Note: has written to ibrahimpektas.com (Thanks)

On Depression

Consider why a person enters into a crisis, why others can not understand this situation? The development of events may not be the same for everyone, of course. Let me explain myself by giving an example. First of all, let us describe the situation that we call depression, the ordinary, so I think the crisis periods of time is not really down about that troublesome. We live in a process sometimes comes on top of many adverse situation, we’ll do our best to get rid of this situation and we can not achieve a significant result. At this point, loses hope of slowly, feel diminished our power to fight. However, exhaustion, boredom and an aversion to all things begin. Try my best to get better at anything we say now we will be welcomed and so depressed. In fact, such a sensible conclusion, even if I did our best, but everyone wants to get rid of it for a long time and continue to endure when we are faced with a situation complicated. As for why people in crisis misfire, explain by giving an example. Dental pain, never lived in one of the “female head of temples beat like this, like aching,” before the start of the pattern-being will not understand fully. Depression is something like that.
We hope this desperate situation düşmememiz, healthy thick …

writer by: psychologist Fatih Yılmaz (for ibrahimpektas.com)

12 Şubat 2011 Cumartesi

sqlplus / as sysdba insufficient Privileges bağlantı hatası

sqlplus as sysdba şifre hatası;

Veri tabanına sqlplus komutu ile sysdba ile bağlantı da hata yaşıyorsanız.sqlplus ile bağlanmada farklı yöntemler de var.
Öncelikle;
sqlplus sys/password@ORCL as sysdba ==>bu komut öncelikle TNSNAMES.ora dosyasına bakar, kontrol eder ve ORCL tanımlı ise ilgili veritabanına giriş denenir.Burada ORCL sizin bilgisayarınızdaki tnsnames.ora dosyasındaki farklı bir isimde olabilir.
sqlplus / as sysdba ==> komutu ile bağlanmada ilk bakılması gereken yer ORACLE_HOME ve ORACLE_SID parametreleridir.Bunların doğruluğu kontrol edilmelidir..Komut ilk olarak ORACLE_HOME ve ORACLE_SID parametrelerine bakar.

Eğer bu komutlarla bağlantıda hata yaşıyorsanız.Muhtemelen Insufficient Privileges hatası olacaktır.
Bu gibi durumlarda;
1-) öncelikli olarak oracle kullanıcısının bulunduğu grup DBA mi ona bakılır.Değilse;
USERADD -G dba oracle
komutu ile yapılır.
2-)SQLNET.AUTHENTICATION_SERVICES bu parametreyi sqlnet.ora dosyasında bulabilirsiniz.Normalde gelen değeri “none” dir.Fakat all yada NTS olarak ta ayarlanabilmektedir.
eğer SQLNET.AUTHENTICATION_SERVICES(NONE) ise sysdba olarak bağlanmakta sıkıntı olabilir.başına “#” koyarak SQLNET.AUTHENTICATION_SERVICES idevre dışı bırakabiliriz
örnek:#SQLNET.AUTHENTICATION_SERVICES(NONE)
3-)Password dosyasına bakılır. Bu dosya ORACLE_HOME/dbs dizininde bulunur , windows için database dizininde bulunur.Dosyanın tam adı “orapworcl”. Bu dosya yeniden yapılandırılmalı.
Şimdi ise oracle veri tabanına sqlplus sys/password@orcl as sysdba komutu ile bağlanabilirsiniz.

ibrahim Pektaş

4 Şubat 2011 Cuma

Apex Nedir? Ne değildir?


Öncelikli olarak , biraz gec de olsa oracle’ ın son yıllarda adından çok söz ettiği bir gerçek oracle Apex(Application Express).Ve bunula da kalmayıp tantımı için çok fazla paralar sarf ettiler.Tanıtımında kullandıkları belli başlı uygulamalar ise arayüz kullanımının çok basit olması ve de database tabanlı web uygulamaları için çok kullanışlı ve öğrenmesi,anlaşılması ve kullanılması kolay bir arayüz olmasıdır.Bu konuda yılların dba leri olarakta bilinen kişilerin de duymadığı apex, ilerleyen zamanlarda adından çok söz ettireceğe benziyor.

Veri tabanı merkezli web uygulamalarınız için kullanabileceğiniz iyi bir arayüz.Kendi worksheetinizle girebileceğiniz güzel ve ayrıca oracle güvenirliğinde bir siteniz için olması için benzersiz bir arayüz denebilir.

İlerleyen zamanlarda kurulumundan bahsedeceğim….Oracle apex kurulumunu beklemek istemeyenler iletişim bölümünden bana mail atabilirler…

20 Ocak 2011 Perşembe

Ankaradaki ilk yazım

İnsanın yazı yazmaya vakti bile olmuyor.Öyle ki 1 aydır Ankaradayım... Farklı bir sektördeyim ancak nedense yazı yazmaya ayıracak zamanı mumla arar gibiyim.
Bundan daha da vahim olanı sitemi yapmaya vakit ayıramamam..1 aydır hosta attığım hazır sitem.Belkide uğraşsam 1 günümü alacak değişiklik yapmam.
Neyse  buradan duyurusu da yapayım..yakında www.ibrahimpektas.com da yazılarımı yazmaya başlayacağım..Tabi sitemi düzenleyebilirsem..

Sağlıcakla kalın..