Is it possible to set up the same VLANs on two different switches with same IPs, but different MACs on dual port network cards? In case switch 1 is down or needs maintenance I would like switch 2 to take over the communication and vice versa as I do not want the entire network of devices to have no connectivity and make the network highly available. The whole purpose of my network is replicas and shards of the same app data distributed to make it fail safe, but the network is not fail salve in my engineering plan, yet. Best method to achieve assuming both switches are not connected, but each server is connected to both switches at the same time from different ports on their network cards? Switch used, if matters - Quanta LB6M.
A good way to narrow your options (as @Zac67 alludes) is to decide whether your application / servers are able to be aware of the servers being multi-homed, e.g. with each server having multiple IP addresses; or if that is unsupported by the use-case.
Link Aggregation is the simplest way to provide redundant downlinks to servers and can reduce outages (MTBF) and make recovery much faster (MTTR). This doesn't require any application-awareness.
I suggest you read about MLAG https://en.wikipedia.org/wiki/Multi-chassis_link_aggregation_group which I think is supported by your switch.
Also, consider more featureful switches as you invest in network redundancy. At small scale, white box switches are a terrible value proposition compared to featureful, well-supported major-brand switches.