Programing

Windows 용 구성 관리

lottogame 2020. 11. 9. 07:39
반응형

Windows 용 구성 관리


* nix 세계에있는 것과 같은 Windows 용 도구가 있습니까? 나는 Chef 또는 Puppet 과 같은 것을 찾고 있습니다.

cfEngine 을 찾았 지만 여전히 nix 중심으로 보입니다. 이상적으로는 오픈 소스이고 명령 줄 기반입니다.

아이디어는 Windows 기반 서버와 함께 자동화 된 인프라를 결합하는 것입니다. 현재 IT 부서에서는 Windows가 아닌 서버를 허용하지 않습니다.


Chef는 Opscode에 의해 Windows에서 지원됩니다. 인프라에 대해 Windows를 실행하지는 않지만 Windows 지원을 지속적으로 개선하는 개발자가 있습니다. 또한 커뮤니티 기여도를 받고 있으며 Chef의 초기 단계 Windows 기능 대부분은 커뮤니티에서 기여했습니다.

중요 : Opscode는 이제 Windows에서 Chef 용 MSI 설치 프로그램을 제공합니다 . 따라서 Windows에 Chef와 Ruby를 설치하는 것이 그 어느 때보 다 쉬워졌습니다.

우리 팀 전체에 걸쳐 많은 Unix / Linux 배경 지식이 있지만 우리의 의도는 Windows가 일류 시민으로 취급되는 것입니다. 2012 년은 Chef와 Windows에게 큰 해가 될 것입니다. Opscode 블로그 에서 공지 사항을 주시하십시오 .

다음 Chef 리소스 는 Windows에서 작동합니다.

Environment Resource: sets windows environment variables
User
Group
Mount
File
Gem Package
Remote File
Cookbook File
Template
Service
Ruby Block
Execute

즉, 이들은 Chef 자체에 포함 된 리소스입니다. Chef는 쿡북으로 확장 가능하므로 다양한 Windows 관련 쿡북을 통해 더 많은 리소스가 추가됩니다. 자세한 내용은 계속 읽으십시오.

여기에서 Chef 및 Windows 사용을 시작할 수 있습니다.

원래 Doug MacEchern은 창을 자동화하기 위해 여러 가지 작업을 수행하는 요리 책을 작성했습니다.

이 정보와 추가 정보는 Chef Wiki에서 확인할 수 있습니다.

최신 정보

다음 쿡북은 Windows를 관리하기 위해 Chef에 새 리소스를 추가합니다.

위에 링크 된 그의 저장소에서 Doug의 훌륭한 리소스를 업데이트 / 재 작성한 것입니다. 문서는 Chef Wiki에 있습니다.

다음 쿡북은 PowerShell을 배포하고 Chef 레시피에서 직접 PowerShell 명령 / 스크립트를 실행할 수있는 리소스를 제공합니다.

설명서는 쿡북 tarball에 포함 된 README.md에서 사용할 수 있습니다.

7-zip 설치 , IISSQL Server 관리를 위한 추가 쿡북 이 추가되었습니다. " database "요리 책은 SQL Server 데이터베이스 및 사용자 ( tdsrubygem 사용) 를 관리하기위한 리소스 / 제공자로 확장되었습니다 .

칼 창 칼에 대한 플러그인은 요리사 설치와 함께 제공에 윈도우 시스템을 상호 작용 기능을 추가합니다.

업데이트 : 이제 모든 일반적인 파일 / 디렉터리 의심 대상에 대해 Windows에 대한 파일 ACL 지원을 Chef 에 추가했습니다.


Cfengine Nova는 수년간 Windows를 안정적으로 기본 지원해 왔습니다 (즉, Cygwin이 필요하지 않음).

Unix에서 가능한 모든 것 (예 : 명령 실행, 파일 복사, 파일 편집 등)은 다음과 같은 Windows 관련 기능 외에도 Windows에서도 수행 할 수 있습니다.

  • 레지스트리 관리
  • 파일 ACL 권한
  • Windows 서비스 관리
  • 이벤트 로그 지원
  • 고급 OS 검색 (버전, 아치, 서비스 팩, 네트워크, 도메인 등)

간략한 소개는 Nova 보충 매뉴얼의 섹션 11을 참조하십시오. http://cfengine.com/files/Nova_Supplement.pdf


나는 똑같은 것을 찾고있었습니다.

가로 질러 나는 달렸다 의 Windows PowerShell을 주 구성 원하는 당신이 요리사 / 인형과 함께하고 싶은하려는 CM의 여러 작업을 수행하는 취지를.

아직 평가 초기 단계에 있기 때문에 의견을 제시하지 않겠습니다.하지만 여전히 무언가를 찾고 있다면이 기회를주십시오.


여기에서 많은 경험을 쌓은 것은 주어진 상자에서 무엇을 관리해야 하는가에 달려 있다고 생각합니다. 가장 일반적인 사용 사례를 찾고이를 관리하는 데 가장 적합한 도구가 무엇인지와 관련하여보다 구체적인 질문을하십시오. IIS와 같은 것은 까다로울 수 있으며 (적어도 오래된 Windows에서는 빌드) IIS 설정 및 앱 풀과 같은 항목을 관리하기위한 CM 도구 용 모듈을 찾는 것이 실패 할 수 있습니다. 특히 고급 설정 (작업자 스레드 재활용이 떠오르는 경우)

그러나 Puppet에는 더 많은 기본 IIS 설정을위한 forge 모듈이 있습니다.이 모듈은 저에게 주로 효과가있었습니다. 특히 많은 수의 IIS 서버를 관리하는 경우 여기에서 선언 형식이 마음에 듭니다.

Also one of the major issues with Windows and configuration management is the lack of a proper package management solution - what actually comes in really handy here is something called Chocolatey (see http://chocolatey.org/) there is a plugin to use this as a provider in puppet - making the whole management process particularly easy. However i imagine that this can be integrated with other CM tools aswell - but does a great deal to help with installing software automatically in a windows environment

Though it is worth stating that whatever you end up using you will have to spend a while figuring out some odd bugs - windows and scripting/automation is not the best.


Based on my experience, I am glad to use such toolset:

  1. Use powershell to manage the windows configuration. If only windows server, you can remotely execute the ps script.

  2. If you like, suggest to use Puppet or Chef to distribute your powershell script into client.

  3. If you like, suggest to use cygwin + (windows sshd) + crond to manage the shell-likely scripts which run in windows.


I think its better if you can use Microsoft System Center.

It a solution from the Microsoft to manage Microsoft base products form desktops to servers and all. Should give a try ...

How to Deploy Applications in Configuration Manager

Deploying Software and Operating Systems in System Center 2012


I don't recommend Chef unless you are a software developer who knows ruby. Chef is designed for software developers who want to manage IT infrastructure. Not for SysOps people who are the ones that actually end up managing it. It tries to treat IT infrastructure like code which is counter intuitive to how it actually works which is more like just data.

Puppet is more friendly for SysOps people imho but still can be complicated.

The good news is that there are other options as well. Less so for windows but projects like Puppet do support it reasonably well.

참고URL : https://stackoverflow.com/questions/4910034/configuration-management-for-windows

반응형