- Can i simply connect the MSA directly to the two servers without having to buy a dedicated SAN-Switch (preferably over FC)
Yes. As long as you've got ports on the appliance you don't necessarily require a switch.
- How many storage do I need? Let's assume I want to have 40TB available (disregarding parity). Do I only need one set of drives in the SAN and both servers can read and write the same blocks,
Technically, that would be possible. However, simultaneous access to a LUN requires a clustering file system, coordinating concurrent access from the client hosts. If you run simultaneous access to a normal NTFS, ext4, ... volume, data will get overwritten and destroyed in no time.
Block storage is shared as LUN objects. Each LUN represents a logical disk to the client host. In your scenario, you could create a single disk array across all physical disks, or two arrays to utilize dual controllers, then create multiple LUNs on those arrays and finally map each LUN to one of the hosts. Make sure you don't use RAID 5 for disks larger than perhaps 300 GB.
or do I need everything "doubled" so each server has it's own set of drives?
Yes, basically.
I have read a bit about CSV (cluster shared volumes) but am not sure if I understood it correctly.
That is a cluster file system that allows concurrent access from multiple hosts to a single LUN. Depending on the workloads, the appliance features and the storage protocol (FC or iSCSI), a cluster file system may perform rather poorly when compared to dedicated access.
I wouldn't use a cluster file system for general file shares but it's ideal for storing VM disks (since each disk is locked just once, when the VM boots) and has the benefit that you don't need to move any data when migrating VMs between hosts.
- The HPE SAN I named claims to have two controllers and with it also having two PSUs, does that mean it is redundant enough in itself that you wouldn't need a second one (assuming regular failouts and not WW3 bombing the entire serverroom)
Yes and no. Dual controllers and dual PSUs enable operation without any single point of failure. Additionally, you'd need dual UPSs running on different power phases, and redundant cabling to your hosts for fully redundant operation. "Redundant enough" depends on your requirements.
A basic setup would look like this:
- Each MSA PSU is connected to a different UPS.
- Each UPS runs on a different power phase.
- You create two arrays on the MSA, each one mapped to a preferred controller.
- You create one LUN on each array.
- Each host has got two storage ports, each connects to a different controller.
- If you use storage switches, each host-to-storage link runs over a different switch path.
- Map each LUN to one of the hosts.
- If required (without ALUA), configure each host so that its primary storage link is the one to the preferred controller for its LUN.