레이블이 Administration인 게시물을 표시합니다. 모든 게시물 표시
레이블이 Administration인 게시물을 표시합니다. 모든 게시물 표시

2008년 11월 28일 금요일

[Definition] Backup-Strategien + Overview for the backup types

[Quelle] bullhost.de PC-Lexikon

Bei dem EDV Begriff Backup-Strategien handelt es sich um verschiedene Vorgehensweisen beim Anlegen von Sicherungskopien eines Datenbestand. Es werden prinzipiell 3 unterschiedliche Strategien unterschieden, das Gesamt- bzw. die Vollsicherung, das Inkrementelle- bzw. die Differenzialsicherung und das Zuwachs-Backup bzw. die Zuwachssicherung.

Gesamt-Backup bzw. Vollsicherung: Bei dieser Strategie handelt es sich um eine zeitsparende, komfortable Strategie, da der komplette Datenbestand eines Datenträgers oder einer Partition gesichert wird. Diese Vorgehensweise hat den wesentlichen Nachteil, das eine hohe Speicherkapazität benötigt wird.

Differenzial- bzw. Inkrementelles-Backup: Bei der Differenzialsicherung werden nur die Daten bzw. Dateien gesichert, die sich seit dem letzten Gesamt-Backup geändert haben. Das hat den wesentlichen Vorteil das geringe Speicherreserven und ein geringer Zeitaufwand bei der Sicherung benötigt werden. Setzt jedoch ein zuvor angelegtes Gesamt-Backup als Basis voraus.

Zuwachs-Backup bzw. Zuwachssicherung: Bei dieser Strategie werden nur die Daten, Dateien und Dokumente gesichert, die seit der letzten Differenzialsicherung bzw. Vollsicherung hinzugekommen oder geändert wurden. Diese Strategie ist wie die Differenzialsicherung bei der Sicherung sehr zeitsparend und speicherkapazitätsfreundlich, ist jedoch bei der Wiederherstellung der einzelnen Daten, Dateien oder Dokumente sehr zeitaufwendig.

Die Mischform aus allen drei Strategien bezeichnet man als Medienrotationsverfahren und gilt als zuverlässigste und optimalste Sicherung eines Datenbestands. Man unterscheidet 3 Arten von Medienrotationsverfahren.
1. Tägliches Gesamt Backup
2. Wöchentliches Gesamt- & tägliches Differenzial-Backup
3. Monatliches & wöchentliches Gesamt- & tägliches Differenzial-Backup

Die Zeitspanne des zyklischen Medienrotationsverfahren bezeichnet man als Sicherungshorizont und je nach Sicherungsstufe Generationsprinzip, dabei unterscheidet man 2 Sicherungsstufen Vater-Sohn-Prinzip und Großvater-Vater-Sohn-Prinzip.


Overview of the Backup types : full backup, differential backup, incremental backup and mirror backup

[Source] Backup4all - Help - Articles

Full backup
is the starting point for all other types of backup and contains all the data in the folders and files that are selected to be backed up. Because full backup stores all files and folders, frequent full backups result in faster and simpler restore operations. Remember that when you choose other backup types, restore jobs may take longer.

Read full backup page for more details.



Differential backup contains all files that have changed since the last FULL backup. The advantage of a differential backup is that it shortens restore time compared to a full backup or an incremental backup. However, if you perform the differential backup too many times, the size of the differential backup might grow to be larger than the baseline full backup.

Read differential backup page for more details.



Incremental backup stores all files that have changed since the last FULL, DIFFERENTIAL OR INCREMENTAL backup. The advantage of an incremental backup is that it takes the least time to complete. However, during a restore operation, each incremental backup must be processed, which could result in a lengthy restore job.

Read incremental backup page for more details.



Mirror backup is identical to a full backup, with the exception that the files are not compressed in zip files and they can not be protected with a password. A mirror backup is most frequently used to create an exact copy of the backup data. It has the benefit that the backup files can also be readily accessed using tools like Windows Explorer.

Read mirror backup page for more details.

Some backup softwares inspect each file's Archive flag to identify which files have been modified.

2007년 11월 6일 화요일

[Tip][OpenSuSE10.3] Samba Configuration on KDE


KDE환경에서 Samba Server 설정하기 + SWAT

GSAMBAD와 같은 Samba Server를 위한 Frontend도 이미 나와 있기도 하고,
앞서 2007/06/05 - [Linux] - SAMBA 설정과 이용에서  언급했듯이 여러가지 방법이 존재한다.
(물론 어떠한 방법이든 내부에서 최종적으로 하는 일은 동일하다.)

여기서 보이려는 방법은 나의 경우에서 가장 간편하다고 생각된 방법이다.

1. Menu에서 Personal Settings를 선택한다.


2. Internet & Network를 선택한다.


3. 아래 쪽의 Samba를 선택한다.


4.  Samba Server의 설정을 변경하려면 Administrator Mode를 선택해주어야 한다.


5. root password를 입력하고 계속한다.


6. Base Settings 항목이 나타난다. 원하는 대로 설정을 변경하고 apply를 누르면 적용된다.
    또한 여기에서 보안레벨을 정하게 되는 데 각자 환경에 따라 적절한 것을 선택한다.
    나의 경우 가장 일반적인 보안정책으로 생각되는 User를 선택하였다. (이렇게 하면 Samba Server에 접속하는
    이용자는 Server에 등록된 id와 password를 입력해야만 접속할 수 있다.)


7.  Shares항목에서는 공유되고 있는 목록을 보여준다. 목록의 기존공유를 편집하거나 새 공유 추가, 공유제거 등
    의 작업을 할 수 있다.


8. Samba를 사용할 사용자를 등록한다.


9. DOS charset을 CP949로 바꾸어 주었다.(CP949는 euc-kr을 포함하는 MS의 확장완성형 문자 인코딩)


10. 부팅시 Samba를 기동시키기 위하여 Runlevel을 수정한다.


11. smb와 nmb service가 활성화되어야 한다.


12.  SWAT는 xinetd를 통해 구동되게 된다.

만약 Firewall이 기동되어 있다면 Samba Server를 위한 Port를 열어 주어야 한다.
위 그림에 보이는 Samba Server 항목(이 안에서 여기서 설명하고 있는 대부분의 과정을 설정할 수도 있다.)에
들어가면 Firewall Settings에서 Port 열어주도록 할 수 있다.
또한 여기의 Service Start항목을 통하여 10과 11의 과정을 간단하게 설정할 수도 있다.

13.  swat service를 활성화 시킨다.


14. SWAT가 구동되면 웹브라우저에 http://localhost:901이라 입력하여 불러올 수 있다.
       (User Name과 Password를 물어오는 데 기본적으로는 root로 login한다.)


15.  SWAT에 접속한 화면이다.


16. GLOBALS 항목에서 앞서 설정했던 내용들을 볼 수 있다. 물론 여기에서 새로이 설정할 수도 있다.
      기왕에 SWAT을 사용할 거라면 위에서 설명한 3~9까지의 과정은 이곳에서 설정해도 된다.
      다만 아주 간단한  설정을 위해서라면 SWAT가 필요하지 않을 수도 있을 것이다.


17.  Username/Password를 등록한다. (다른 컴퓨터에서 이 Samba Server에 접속할 때 사용할 정보이다.)


18. Samba Server가 service되고 있는 상태를 볼 수 있다.
      설정 변경 후 여기에서 smbd/nmbd를 재시작 해줄 수 있다.


19.  동일한 네트워크에 위치하고 있는 Windows에서 네트워크 환경에 들어가면 아래와 같이
       Samba Server에 의해 공유되고 있는 자원을 볼 수 있다.
       실제로 사용하려면 17에서 설정한 정보를 사용하면 된다.



꼭 이렇게 하지 않아도 GUI환경에서 Samba Server를 필요에 맞게 설정할 수 있는 방법은 여러가지가 있다.
편리한 것을 선택하는 것은 사용자의 몫이다. SWAT만으로도 Samba Server설정에 관한 모든 것을 할 수 있다.
그러나 기본적으로 설정파일을 수정하고 console에서 필요한 service들을 구동시키는 작업을 한 번쯤은 해보고
GUI도구를 사용할 것을 권하고 싶다. 설정파일 안에 있는 내용들을 전혀 이해하지 못하는 상태에서 GUI도구가
제공해주는 편리한 기능을 제대로 사용할 수가 없기 때문이다.

[Related Article] 2007/06/05 - [Linux] - SAMBA 설정과 이용

2007년 10월 30일 화요일

[scrap] Understand 'single digit' RAID levels


[Source] Understand 'single digit' RAID levels by Scott Lowe Mar 31, 2006

Takeaway: Learn the pros and cons for RAID levels one through six and find out which levels are best for your specific storage needs.

Data is the lifeblood of many organizations and fast, reliable access to that data is critical in order to remain in business in today's "Internet-time" world. As such, most organizations make use of some level of RAID (Redundant Array of Independent/Inexpensive Disks) in order to maintain data integrity. Now—show of hands—how many of you are running your servers in a RAID 5 configuration because it's easy and seems like the best bet for your needs? While RAID 5 is a good bet in many instances, if you’re looking for raw write performance, you may benefit from some other RAID level. Now, how many of you, off the top of your head, can explain what RAID levels 10 and 50 are for? These newer, somewhat "invented" RAID levels can help to overcome some of RAID 5's drawbacks and still provide you with an ultra-redundant storage system. In this article, I’ll go over the pros and cons of the various levels of typical RAID levels. In my next article, I will discuss what are sometimes called "nested" RAID levels (i.e., RAID 10).


RAID 0 (Disk striping)

  • Drives required (minimum): 2
  • Max capacity: Number of disks x disk capacity
  • Description: Data to be written to the disk is broken down into blocks with each block written to a separate disk.
  • Pros: Very, very fast since data is written to and read from storage over multiple "spindles", meaning that the I/O load is distributed. The more disks that are added, the better the performance (in theory). As always, if you’re looking for huge performance gains, use a tool such as IOmeter to test your storage performance as the gains may not be that great.
  • Cons: When a single drive fails, the entire array can be compromised since this RAID level does not include any safeguards. As disks are added, the risk of failure increases.

RAID 1 (Disk mirroring)

  • Drives required (minimum): 2 (or multiples of 2)
  • Max capacity: Total array capacity divided by 2
  • Description: All data that is written to the storage system is replicated to two physical disks, providing a high level of redundancy.
  • Pros: Very reliable, assuming only a single disk per pair fails. RAID 1 tends to provide good read performance (equal to or better than a single drive).
  • Cons: Because each drive is mirrored to another, requires 100% disk overhead to operate. Write performance can sometimes suffer due to the need to write the data to two drives, but is often still better than write performance for other RAID levels.

RAID 2: This RAID level is no longer used.


RAID 3 (Parallel transfer disks with parity)

  • Drives required (minimum): 3
  • Max capacity: (Number of disks minus 1) x capacity of each disk
  • Description: Data is broken down to the byte level and evenly striped across all of the data disks until complete. All parity information is written to a separate, dedicated disk.
  • Pros: Tolerates the loss of a single drive. Reasonable sequential write performance. Good sequential read performance.
  • Cons: Rarely used, so troubleshooting information could be sparse. Requires hardware RAID to be truly viable. RAID 3 is generally considered to be very efficient. Poor random write performance. Fair random read performance.

RAID 4 (Independent data disks with shared parity blocks)

  • Max capacity: (Number of disks minus 1) x capacity of each disk
  • Description: A file is broken down into blocks and each block is written across multiple disks, but not necessarily evenly. Like RAID 3, RAID 4 uses a separate physical disk to handle parity. Excellent choice for environments in which read rate is critical for heavy transaction volume.
  • Drives required (minimum): 3
  • Pros: Very good read rate. Tolerates the loss of a single drive.
  • Cons: Write performance is poor. Block read performance is okay.

RAID 5 (Independent access array without rotating parity)

  • Max capacity: (Number of disks - 1) x capacity of each disk
  • Description: Like RAID 4, blocks of data are written across the entire set of disks (sometimes unevenly), but in this case, the parity information is interspersed with the rest of the data.
  • Drives required (minimum): 3
  • Pros: Well supported. Tolerates the loss of a single drive.
  • Cons: Performance during a rebuild can be quite poor. Write performance is sometimes only fair due to the need to constantly update parity information.

RAID 6 (Independent Data disks with two independent distributed parity schemes)

  • Max capacity: (Number of disks - 2) x capacity of each disk
  • Description: Like RAID 4, blocks of data are written across the entire set of disks (sometimes unevenly), but in this case, the parity information is interspersed with the rest of the data.
  • Drives required (minimum): 3
  • Pros: Tolerates the loss of up to two drives. Read performance is good. Excellent for absolutely critical applications.
  • Cons: Write performance is not very good. Write performance is worse than RAID 5 due to the need to update multiple parity sets. Performance can heavily degrade during a rebuild.


[한글 번역판] ZDNet Korea "RAID 1-6 레벨 이해하기"

2007년 9월 22일 토요일

[scrap] 시스템 관리자가 되려면


출처 : 코리아인터넷닷컴, a 2001년 02월 12일
저자 : d_i_d


시스템 관리자가 되려면 (1) : 시스템 관리자의 자세

필자는 시스템 관리자로 일하고 있다. 이 분야에서 먼저 일한 사람으로서 시스템 관리자가 되고 싶은 많은 사람들에게 몇 가지 조언을 하고 싶다.

시스템 관리자의 법칙 :

1. 모든 것을 알아야 한다.

2. 만일 모든 것을 알 수 없다면, 필요한 정보를 어디서 얻을 수 있는지 알아야 한다.

- 필자는 항상 많은 책들을 손 닿기 쉬운 곳에 두며 월급날마다 새로운 책을 산다. 이제부터라도 자신만의 도서관을 만들기 시작해야 한다. 그렇게 모으는 책들의 일부는 시간이 지남에 따라 소용없는 것이 되기도 하겠지만, 대부분의 책들은 그렇지 않다.

3. 필요한 정보를 찾을 수 없다면, 해답을 찾기 위해서 기꺼이 시간을 투자하라.

4. 어떤 것이 되었든 간에 항상 기술 관련 서적을 가지고 다니도록 하라!!

-차를 타고 가는 도중 꽉 막혀 있으면, 가지고 있는 책을 읽도록 하라. 화장실에 앉아 있을 때도 책을 읽어라. 필자는 하루에 적어도 3시간 동안은 기술에 관련된 글을 읽는다. 아무리 많이 읽어도 충분히 읽었다고 할 수 없다.

5. 여러분이 모르는 것을 알고 있는 사람들과 친분 관계를 쌓도록 하라.

- 필자에게 필요하지는 않지만 다른 친구들에게 필요한 해결책을 게시판에 올리는 경우가 많다. 서버 관련된 내용을 다루는 웹사이트를 통하면 친구들을 사귈 수 있다.

시스템 관리자가 되려면 (2) : 반드시 갖추어야 할 기술과 지식

1. TCP/IP와 관련된 서비스들과 프로그램들. DNS, SMTP, UDP, HTTP, FTP 등이 여기에 포함된다. 이들에 대해서 모든 것을 알아야 할 필요는 없지만 필요한 정보를 어디서 얻을 수 있는지는 알아야 한다. 시스템 관리자의 법칙 2번째를 보도록 하라.

-시스템 관리자는 TCP/IP가 실행되는 컴퓨터를 다루기 때문에 이에 대한 지식은 매우 중요하다. 다른 시스템 관리자의 일을 인수하는 것도 나쁘지는 않지만, 만일 누군가 추가적인 서비스를 요구한다면 TCP/IP에 대한 지식이 반드시 필요하다.

2. 아마도 가장 중요한 사항이 될 것인데, 가능한 많은 운영 체제에 대해서 알아야 한다. Solaris, Linux, IRIX, HP UX를 포함하는 것은 물론, Windows까지도 알아야 한다.

-이렇게 함으로써 여러분의 몸값을 높일 수 있다. 또한 여러 가지 운영 체제에 대해서 알게 되면, 하고자 하는 작업에 가장 알맞은 운영 체제를 고른다든지 할 때 보다 많은 해결 방안을 내놓을 수 있게 된다. 리눅스가 항상 최상의 해답은 아니다. 모든 것은 그것 자체의 작은 흠을 가지고 있다. Solaris는 리눅스와 약간은 다르게 작동하며, HP-UX 등도 그렇다. 가능한 많은 것을 알려고 노력하고 위의 황금률 2번째를 명심하라.

3. 네트워킹, 개념과 하드웨어

- 이것까지 알아야 하는 이유는, 중소 기업에서 일해야 할 경우, 여러분에게 네트워크에 대한 해결까지 기대할 것이기 때문이다. 필자는 라우터에 대해 잘 알지 못하는데도, 적어도 내가 원하는 대로 작동하도록 라우터를 설정할 수는 있다.

필자는 스위치, 패치 패널, 방화벽(하드웨어와 소프트웨어 모두)를 운용할 수 있다. 혹시 전문가 아니냐고? 나는 전혀 전문가가 아니다! 하지만 적어도 네트워크에 관련된 것으로 내가 해야 하는 일이라면 파고 들 수 있다. 여러분이 지원하고 있는 많은 사람들은 여러분이 모든 것을 알고 있기를 기대한다. 그들의 기대를 저버리지 않도록 노력하라.

4. 백업 시스템과 테크닉

- 나도 안다. 이것이 얼마나 지루한가에 대해서는 나도 동의한다. 하지만 시스템 관리자의 업무에서 매우 중요한 부분이다. 백업하는 방법, 가장 좋은 백업 방법 등에 관한 것을 알아 놓도록 하라.

5. 문서 작성 능력

- 유별나게 뛰어난 문서 작성 능력을 요구하는 것이 아니다. 그저 잘 할 수 있으면 된다. 시스템 관리자로서 하는 모든 작업은 문서화될 필요가 있다. 언제 어디서 무슨 일이 일어날 지 모르기 때문이다. 만일 내게 문제가 생긴다면, 다른 시스템 관리자가 들어와서 내가 했던 일을 배워야 할 것이다. 또한 여러분의 상사와 관리자들은 이렇게 문서화하는 것을 무척이나 좋아한다. 정작 문서화된 것의 내용은 전혀 알지도 못하면서도 말이다!

6. 부당한 처사에도 관대히 용서할 수 있는 태도

-이것은 시스템 사용자를 대할 때 필요한 것이다. 사용자들은 이런 태도를 전혀 가지고 있지 않다고 생각하면 맞을 것이다. 여러분 또는 여러분의 상사는 이런 태도를 항상 가지고 있어야 할 것이다. 뭔가 잘못되었을 때, 모든 비난의 화살은 여러분을 향하게 된다. 이런 사실을 알고 감수하도록 하라.

7. 컴퓨터 하드웨어

-SCSI 및 IDE/EIDE 등의 하드 디스크를 추가하는 방법을 알도록 하라. 다시 말하지만, 여러분이 이런 모든 일을 알고 있다고 다른 사람들이 기대할 것이기 때문이다.

8. 스크립팅 언어

-필자는 bash와 perl을 알고 있다. 리눅스에서는 bash가 쓰이고, 또 필자가 다루고 있는 많은 기계가 리눅스이기 때문이며, perl은 이식성이 매우 높기 때문이다. 사실, perl이 매우 뛰어나기 때문에 bash 스크립트를 작성하는 대신에 perl로 작성해서 마무리하는 경우가 많다.

9. 보안 문제

-어떤 서비스와 프로그램들이 취약한지, 그렇다면 취약성을 보완하기 위해서 어떻게 바꾸고 설정하며 패치를 할 것인지 알아야 한다.

2007년 7월 28일 토요일

[Link] 시스템 관리자가 꼭 알아야 할「필수 네트워크 명령어 활용」

임보혁 (삼성SDS)  2005/02/18

중소기업의 전산 관리자는 프로그램 개발, 서버, 네트워크, 보안 등의 멀티플레이 업무를 맡고 있다. 이렇게 다양한 업무를 맡고 있다 보니 전문 지식의 부족함에서 비롯되는 관리상의 어려움이 많다. 하지만 효율적으로 네트워크 구성이 됐다면 전산 시스템 통합 관리나 서버 운영에 많은 도움이 된다.

...Details