分类目录归档:Other

Other

OMSA在ESXi服务器上安装部署

前言

本页详述了在一台VMware ESXi(ESXi 5.5)服务器上部署安装OMSA的通用做法,包括OMSA软件的获取方法和安装步骤。

演示环境:

PowerEdge R620, VMware ESXi 5.5

相关软件的下载和准备

1. VMware vSphere CLI 5.5。

我们需要在管理员的操作机(笔记本)上,通过CLI进行远程ESXi服务器的组件安装和配置。请先到VMware的官网下载下面的CLI。(用户可以免费注册,再下载该安装包),并提前安装好。

https://my.vmware.com/cn/web/vmware/details?downloadGroup=VCLI550&productId=353

2. VMware vSphere Client 5.5

本例使用VMware vSphere Client 5.5管理ESXi服务器:包括关闭ESXi服务器上虚机,以及将ESXi服务器进入或退出维护模式。当然,也可以使用其他用户习惯的工具。

本例VMware vSphere Client 5.5的下载地址如下:

http://vsphereclient.vmware.com/vsphereclient/1/2/8/1/6/5/0/VMware-viclient-all-5.5.0-1281650.exe

请先提前下载安装在管理员的Windows操作机上。 继续阅读

Install NRPE On MacOSX Server

Get the files
Nagios Plugins: http://www.nagios.org/download/plugins/
Nagios NRPE: http://exchange.nagios.org/directory/Addons/Monitoring-Agents/NRPE–2D-Nagios-Remote-Plugin-Executor/details

Set up the system
Create the nagios user using Workgroup Manager
Create the nagios group using Workgroup Manager
Change the primary group for the nagios user to be nagios 继续阅读

rsyncd setup on Mac OsX

To set up an rsync server on a Mac can be quite tricky.

That’s my way to do that!

It is possible to simply launch rsync daemon by typing:

rsync –daemon

This will start a rsync daemon running on TCP port 873, but without the appropriate rsyncd.conf all the configuration has to be done by command line arguments.
In addition, if the server needs to be rebooted, the process will not restart automatically on boot.

On Mac OsX inetd is no longer an option since processes use launchd and launchdctl to load XML process files. 继续阅读

rsync server daemon on Mac OS X with launchctl

There are many web pages describing how to enable the rsync daemon on Mac OS X using launchd/launchctl mechanism. But I had to use a different (and simpler) plist file in LaunchDaemons to make it work across reboots on Lion (10.7.4).

(I started by following this guide , and this very similar one. And I also read this and this. In the end, what helped me getting the plist file right was this thread. Particularly this post: “For one you have both a Program and a ProgramArguments key, when you should have only one or the other (you use Program if there is just one element to the command, or ProgramArguments if there are multiple.” And this one.)
继续阅读