Hello Everyone,
We are trying to migrate our Metadata from Windows to linux/unix. We have SAS9.3 on our site. I took a Metadata backup from the Windows environment, brought over the backup files to Unix environment & did the restore. The restore was successful but it is opening in "read-only" mode? Cant do any updated.
Is there any additional configuration that we need to perform like updating "Server Name"/ "Credentials", etc which will allow the Metadata to open in normal mode?
Thanks
For the underlying reason I would look in the SAS metadata server log for error and warning messages.
Having said that however, you will run into all sorts of problem trying to use a simple metadata backup to migrate content from one environment to another with different operating system types. All your directory paths will need updating, as will host names and possibly port numbers, any stored credentials, and user id formats to name a few.
I would strongly recommend you use a supported method such as promotion (install-new-and-import using exported .SPK metadata packages) or migration using the SAS Migration Utility (SMU) to create a package from the old environment and use it to install a new environment. In your case, since your are changing operating systems, you would need to look at the promotion technique.
For more information have a read of the SAS® 9.4 Intelligence Platform :: SAS(R) 9.4 Intelligence Platform: Migration Guide (or older version as appropriate depending on which version you are migrating to).
If you're not 100% confident, I'd also suggest getting the help of SAS Professional Services, or a local SAS partner in your area, as they have a wealth of experience in this area.
I have moved this to the Admin and Deployment Community, in hopes of generating additional responses for you.
I have used the below command to create a migrationpackage
smu93_32 -properties "C:\smu93\smu.properties" -replace
I got the below files & I brought that over to Unix environment:
-rw-rw-r-- 1 u35162707 dpitsdev 366 Mar 26 07:40 manifest.properties
drwxrwsr-x 2 u35162707 dpitsdev 3 Mar 26 07:40 migration-schemas
drwxrwsr-x 194 u35162707 dpitsdev 202 Mar 26 07:40 SASMDS93.dwp-asd.gov.uk
Does anyone know how I can deploy this migrated package on the Unix box?
As I mentioned, "In your case, since your are changing operating systems, you would need to look at the promotion technique.". If you read through the migration guide it compares the migration and promotion approaches. Migration uses SMU, whereas promotion uses the approach of installing new and then promoting using .SPK packages. SMU, among other things, requires the same operating system family. In your case you are moving from Windows to Linux, so you will need to use the promotion approach. If you read through the migration guide (for the SAS version you are moving to) it provides a lot more information and guidance.
Hi Abhijit,
I'm amazed that you were able to restore a metadata server backup taken on a Windows SAS Deployment on one machine, on a Linux SAS deployment on another machine. I would not expect that to work.
Paul is right. It's not possible to use a migration package created by the SAS Migration Utility on one operating system (Windows, in your case) with the SAS Deployment Wizard on an operating system in a different operating system family (Linux, in your case).
The easiest option available to you if you wish to upgrade your application content from a Windows SAS deployment to a Linux SAS deployment will be the promotion method Paul mentioned, moving your content in SAS Package (.spk) files. If you haven't already deployed it, start by deploying SAS on your Linux environment using the SAS Deployment Wizard, but without ticking the 'Perform a migration' checkbox to provide it with a migration package (because you don't have a migration package created on another Linux or Unix environment). Follow all the steps to get it deployed, configured, validated and working properly. (SAS Professional Services, or one of our partners can help you with this if you need it).
When you're converting from Windows to Linux, remember that any hostnames, folder or file paths and other platform-specific references embedded in your code may need to be updated.
And as Paul already said, there's no substitute for reading all the documentation before you start - it is packed with useful information which can help you avoid spending time on attempting to do something which won't work. Best of luck and do let us know how you get on!
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.