Create a multi platform environment (Linux – BSD – VMwareESXi – Windows) utilizating physical and virtual servers. The environment will use a broad spectrum of technologies such as NAS, DNS, NFS, FailOver Clustering, Active Directory, VLANs, iptables, rSync, Samba,Puppuet, Oracle, SQL, SSH. This online document will show from start all the steps needed to setup this environment, from installing the Operating Systems to configuration that is needed to setup all these technologies.
Summare of Tasks: The tasks below follow a logical progression. There is a purpose to the order they are executed which aims to provide a transparent use of different technologies.
- Install Fedora17 (will be referring to as Host) to host VMware Workstation 9 and within Workstation 9 to host the ESXi server. Reason for this setup is because there was a need for this machine (imposed by technical and budget reasons) to serve dual roles versus only being a VMware ESXi server exclusively.
- Install two virtual Domain Controllers and integrate the VMware ESXi servers to the Active Directory. Enter DNS records as needed.
- Install a virtual BSD FreeNAS and create iSCSI storage volumes.
- Create a virtual Failover Cluster for SQL 2012 by using the iSCSI storage volume created with FreeNAS.
- Use the Host Fedora17 to create a NFS drive that will be used by all virtual Linux CentOS .
- Use a second physical server to install DNS running on CentosOS.
- The same second physical server will be also used as an rSync server for incremental net-backups of the Host Fedora17 server purposes.
- The same second physical server will also be used a script server, as a Puppet server and as a SAMBA server.
- Create a Linux FailOver Cluster for two Oracle database nodes.
- Create a Linux FailOver Cluster for two Apache nodes.
- Create scripts that will maintain the environment.
- Use a third physical server to run ClearOS which will be used as a router for our LAN for all physical and virtual servers.
- ……….whatever else comes to mind 🙂
Why use Linux and Windows?
In almost all organizations both co-exist to fill in different needs created by business demands. What differs is the degree to which are used. This project tries to emulate a mixed environment; and even though this specific setup is anything but optimal in a production environment, it servers as a very good learning ground in a plethora of technologies. In addition, the concepts of Fail Over Clustering, SQL, Networking, DNS and so on are similar regardless the platform. What changes is the execution. Most importantly is….why not ? 🙂
Operating Systems used:
- Physical Servers: Linux Fedora17, Linux CentOS 6.3, Linux ClearOS.
- On Virtual Servers: VMwareESXi, BSD-FreeNAS, Linux CentosOS 6.3, Windows2012.
- NAS – iSCSI, FailOver Clustering, NFS, Active Directory, VMwareESXi, VLANs, iptables, rSync, Samba,Puppuet, Oracle, SQL, SSH, packet sniffing.
Layout of Servers:
- BSD FreeNAS (Network Attached Storage) – This is a virtual server that is used to to create Network storage volumes such iSCSI and NFS to support FailOver Clustering.
- VMware ESXi, is a virtual server that will host all of the servers covered.
- Linux CentOS, will be all virtual servers. Each will be built accordingly to serve as NFS server, or Puppet server, or Oracle Failover Clusters and so on.
- Windows 2012 will be used to in order to deploy Active directory in order to integrate the ESXi server to it and to also create a SQL fail over cluster.
Technologies used to support the environment as a whole and in a transperant way.
LVM – NFS – DNS – SSH – Samba – Windows Failover Clustering forSQL – Active Directory – FTP – Puppet – SMTP, Oracle, MS-SQL, VCenter, VMware Converter, Custom made Bash scripts to monitor all servers (Linux – VMware – Windows).