Category Archives: Archived
VMware Server Technical Documentation
VMware Server Technical Documentation
Current Articles
Archived Articles
VMWare ESXi 5.1 Technical Documentation
VMWare ESXi 5.1 Technical Documentation
VMware ESXi 4.0 Technical Documentation
VMware ESXi 4.0 Technical Documentation
VMware ESXi 3.5 Technical Documentation
VMware ESXi 3.5 Technical Documentation
VMware Technical Documentation
VMware Technical Documentation
Current Articles
Archived Articles
Unix Related Technical Documentation
Unix Related Technical Documentation
SMS2 Technical Documentation
SMS2 Technical Documentation
Openfiler – Monitoring With Cacti
Openfiler – Monitoring With Cacti
Introduction
This article explains how to configure an Openfiler server for SNMP monitoring through Cacti.
The infrastructure used for this article was an Openfiler 2.3 virtual machine being monitored by a Fedora Core 10 64-bit server running Cacti. Both virtual machines were hosted on a Fedora Core 8 64-bit server running VMware Server 1.0.8.
Pre-requisites
In order to configure an Openfiler 2.3 server for SNMP monitoring in Cacti the following pre-requisites must be met :-
- An installed Openfiler 2.3 server / appliance with SNMP configured
- An existing Cacti installation
Adding a device
The following section provides the configuration settings selecting when adding an Openfiler server as a new device in Cacti. In order to add an Openfiler server in to Cacti as a new device perform the following steps :-
- Logon to the Cacti web site as an administrative user
- Click on the Console tab if neccesary
- Click on the Create devices link in the main pane
- Set the Description to the friendly name you wish to use within Cacti – E.G. Openfiler Server
- Set the Hostname to the FQDN if DNS is configured or the IP Address of the server
- Select the Generic SNMP-enabled Host template
- Set the SNMP version to Version 2
- Set the community string to the required string for your infrastructure – E.G. public
- Set the Downed device detection method to Ping and SNMP
- Scroll down to the bottom of the page and click on the Save button
- In the Devices list click on the device name and scroll down to the bottom of the page
- Confirm that at the top of the page that the general SNMP informatio is displayed for the server
Associate data queries to the device
Once the device has been added to Cacti data queries need to be associated to it so that graphs can be produced. To associate data queries to the device perform the following steps :-
- In the Devices list click on the device name and scroll down to the bottom of the page
- In the Associated data queries section change the Add data query drop down box to SNMP – Get Mounted Partitions
- Click on the Add button to add the new data query
- Once added the query will be shown with a status of Success [xx Items, x Rows] (The amount of Items and Rows will differ depending on how many partitions exist on the server)
- Change the Add data query drop down box to SNMP – Get Processor Information
- Click on the Add button to add the new data query
- Once added the query will be shown with a status of Success [x Items, x Rows] (The amount of Items and Rows will differ depending on how many CPU’s exist in the server)
- Change the Add data query drop down box to SNMP – Get Interface Statistics
- Click on the Add button to add the new data query
- Once added the query will be shown with a status of Success [x Items, x Rows] (The amount of Items and Rows will differ depending on how many network interfaces exist in the server)
- Click on the Save button to associate the queries to the device.
Create graphs for the device
The next step in configuring an Openfiler server for monitoring through Cacti is to add the graphs required. To add new graphs for the Openfiler server perform the following steps :-
- In the Devices list click on the device name and scroll down to the bottom of the page
- Click on the Create graphs for this host
- The create devices page for the device will be shown and list all of the items which have been discovered on the server by the Date query names associated in the previous section
- In the SNMP – Get Mounted Partitiions section of the screen all the partitions mounted on the server will be listed including the root partition, swap partition, and physical memory.
- Enable the tick box on the right hand side of the screen next to each partition you wish to graph
- In the SNMP – Get Processor Information section of the screen all of the CPU’s installed in the server will be listed
- Enable the tick box on the right hand side of the screen next to each CPU
- In the SNMP – Get Interface Statistics section of the screen all of the network interfaces installed in the server will be listed identified by the IP address associated.
- Enable the tick box on the right hand side of the screen next to each network interface you wish to graph
- Change the graph type drop down box to In/Out Bytes with Total Bandwidth
- Click on the Create button to create the graphs
Openfiler – Integrating in to an Active Directory infrastructure
Openfiler – Integrating in to an Active Directory infrastructure
Introduction
Openfiler can be integrated in to an Active Directory infrastructure and this article explains the steps to perform the integration in to an Active Directory infrastructure are provided.
The infrastructure used to perform this article is running on a Fedora Core 8 64-bit server running VMware Server 1.0.8 hosting a Windows 2003 Domain on an internal network.
The installation of the Fedora Core host server and Windows 2003 Domain are out side the scope of this article and it is assumed that you will have the necessary infrastructure available (Physical or Virtual) to perform the steps in this article.
Pre-requisites
In order to integrate Openfiler in to an Active Directory infrastructure the following pre-requisites must be met :-
- An Openfiler server with Netwrk Access configured
- A Windows Domain Controller
- DNS configured for the Domain
Enabling the Services
The first thing to check is that the necessary Services are started and to do this through the web administration console perform the following steps :-
- Click on the Services option
- Click on Enable next to the SMB / CIFS service to enable access to Windows file share resources.
- Click on the SMB / CIFS Setup option in the Services section
- Configure the Server string to the name required for the server in Windows
- Set the NetBIOS name to the name required for the server
- Set the WINS server to the appropriate address if required
Joining Active Directory
The next step is to configure the Accounts section of the Openfiler so that it can utilise the Active Directory for its access control. To configure account access perform the following steps :-
- Click on the Accounts option
- Scroll down if necessary and tick the Use Windows domain controller and authentication
- Set the security model to Active Directory
- Set the Domain / Workgroup to the NetBIOS Domain Name you wish to join
- Set the Domain Controllers to the FQDN of your Domain Controller
- Set the ADS Realm to the FQDN of your Domain
- Tick the Join to Domain option
- Set the Administrator User and Passwords to an account with privileges to add a machine to the Domain
- Click on Submit to join the Domain
It may take a while for the web administration page to refresh but once refreshed reboot the Openfiler by clicking on the Shutdown option in the top right of the screen and selecting the Shutdown and reboot option.
Confirming the server has joined successfully
Once the server has rebooted log back on to the web administration page and click on the Accounts tab. Click on the Group List option in the Accounts section and confirm that your Active Directory Groups are listed.