Architecting, installing and maintaining your SAS environment

Pre-requisites for setting up SAS DR Environment

Accepted Solution Solved
Reply
New Contributor
Posts: 4
Accepted Solution

Pre-requisites for setting up SAS DR Environment

Hello,

 

We are planning to set up a DR Environment for our existing SAS Prod Environments on Unix.

 

We are currently on SAS 9.4 M3.

 

Is it possible to take a backup of the existing /SASHome & /Lev directories. And do a restore on the new DR Servers ?

 

Also, does it require the need to make any changes to the configurations on the DR Servers to match the hostnames & other relevant changes between the Prod & the DR Unix boxes ?

 

Thanks & Regards !


Accepted Solutions
Solution
‎04-04-2016 02:36 PM
Trusted Advisor
Posts: 1,141

Re: Pre-requisites for setting up SAS DR Environment

[ Edited ]

Hi,

 

a very simplified configuration (and efficient) for DR would be to have:

 

- 2 hosts, with just the OS and the pre-requisites

- 1 CFS (clustered file system), where you will have the SAS config, SAS binaries and all the user data.

- have SAS configured based on alias (so you can just change the alias on the DNS to point to the new host, when one "dies").

- mount the CF directories on the active host.

- register the alias/host on the DNS.

 

On this way the server and the file system will have DR.

 

As you have now your Production system already configured, a way to go to minimize the impact might be:

 

- Make a good backup of your Production server

- Start creating the pasive/DR server, with different hostname and align pre-requisites with primary/active production.

- Create the CFS (if not yet ready), and start by making the sync (beware of permissions an lost soft and hard links!)

- Stop the Production/primary server's SAS services and SAS processes.

- Make an extra sync when you can stop the server -->

- change hostname of the primary/current Production server.

- create the DNS alias and make it the same as the current hostname.

- point that alias on the DNS server to the primary server (current production, which now has a different hostname)

- mount the CFS on the primary --> the folder structure and permissions should be the same as on your current status on the Production server.

- Start the SAS services on the primary server, which should now work fine as before.

 

When the primary goes down, stop all SAS services and SAS processes on the primary/production server,  change the DNS alias on the DNS server to point to the secondary, change network cards and un mount the CFS from the primary and mount it on the secondary. Then start the services on the secondary.

View solution in original post


All Replies
Contributor
Posts: 23

Re: Pre-requisites for setting up SAS DR Environment

what type of setup you want active-active or active passive?

it is not mandatory that both live and dr have same type of architecture. you need to have cerain servers similar to your live and install sas on those, make them working, now you must have network file systems that can be mounted to your DR, in case of failure or if you want to keep different sets of disks, you would need to configure rsync.

 

 

Virtual IP can be configured by your infrastructure team to enable DR.

 

would you provide some more details about your sas architecture before recommended approach can be put?

Solution
‎04-04-2016 02:36 PM
Trusted Advisor
Posts: 1,141

Re: Pre-requisites for setting up SAS DR Environment

[ Edited ]

Hi,

 

a very simplified configuration (and efficient) for DR would be to have:

 

- 2 hosts, with just the OS and the pre-requisites

- 1 CFS (clustered file system), where you will have the SAS config, SAS binaries and all the user data.

- have SAS configured based on alias (so you can just change the alias on the DNS to point to the new host, when one "dies").

- mount the CF directories on the active host.

- register the alias/host on the DNS.

 

On this way the server and the file system will have DR.

 

As you have now your Production system already configured, a way to go to minimize the impact might be:

 

- Make a good backup of your Production server

- Start creating the pasive/DR server, with different hostname and align pre-requisites with primary/active production.

- Create the CFS (if not yet ready), and start by making the sync (beware of permissions an lost soft and hard links!)

- Stop the Production/primary server's SAS services and SAS processes.

- Make an extra sync when you can stop the server -->

- change hostname of the primary/current Production server.

- create the DNS alias and make it the same as the current hostname.

- point that alias on the DNS server to the primary server (current production, which now has a different hostname)

- mount the CFS on the primary --> the folder structure and permissions should be the same as on your current status on the Production server.

- Start the SAS services on the primary server, which should now work fine as before.

 

When the primary goes down, stop all SAS services and SAS processes on the primary/production server,  change the DNS alias on the DNS server to point to the secondary, change network cards and un mount the CFS from the primary and mount it on the secondary. Then start the services on the secondary.

Contributor
Posts: 23

Re: Pre-requisites for setting up SAS DR Environment

agree, thanks

New Contributor
Posts: 4

Re: Pre-requisites for setting up SAS DR Environment

Hi Juan,

 

That was very detailed & helpful explanation.

 

Appreciate the quick response.

 

Regards..

Trusted Advisor
Posts: 1,141

Re: Pre-requisites for setting up SAS DR Environment

Thanks to you for your question, it was a great one (love it). I think it is an important and recursive question. And on Linux/Unix is to easy to arrange...!

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 5 replies
  • 402 views
  • 2 likes
  • 3 in conversation