Architecting, installing and maintaining your SAS environment

ObjectSpawner.sh script which gets updated newly with an maintenance update

Reply
Contributor
Posts: 26

ObjectSpawner.sh script which gets updated newly with an maintenance update

Hi,

 

We recently had a our Maintenance update from 9.4 M2 to 9.4 M3 . This a grid environment with 10 nodes of which only 9 are active and one active. This one inactive node was acting as metadata node earlier but later was changed. Currently our Metadata nodes are two nodes from our active nodes (including as failover). This being said the compute services script had to be changed and customized as per the grid. And the original script was considering the inactive node as the node name , before customizing.

Now with maintenance update in place , the initial configurations goess well, but while the time of SAS services to start , it fails to start Object spawner and other compute services.

  • We have reviewed the ObjectSpawner directory for M2 and M3 and noted that customizations made directly to the M2 ObjectSpawner.sh script gets overwritten by the M3 upgrade, which is expected but the node chosen for the new script gets to be the in active node.
  • So is there a way to indetify the way the choice of node is made for the ObjectSpawner or other compute services is made?
  • Or is there a way to use the exisisting customizations with respect to Object spawner script or any other compute services script while updating from M2 to M3.
  • Is there a depedent config file which makes the decision while SAS deployment Wizard initates the services , which can be checked.

Do let me know for any more details on the same . Appreciate your suppport.

Super User
Posts: 5,256

Re: ObjectSpawner.sh script which gets updated newly with an maintenance update

You should never modify script/configuration files unless they have the word usermods in it.
I don't have SAS at my fingertips right so I can'ttell you in detail what to do, besides putting your modifications seperate from Institute provided scripts.
Data never sleeps
Frequent Contributor
Posts: 91

Re: ObjectSpawner.sh script which gets updated newly with an maintenance update

Hi,

 

I don't fully understand your question, but like Linus says, you should always try to add to the *_usermods files that are sourced by the main script where you can. If you want to modify a script that doesn't have a _usermods file you can always create one and source it in the same manner from the original script - this way, if it ever gets overwritten you will only ever have to add the line that sources it.

 

If you're looking to find out which of your spawners is the parent in a cluster you can get this from the spawner logfiles. This is a good read:

 

http://support.sas.com/documentation/cdl/en/biasag/63854/HTML/default/viewer.htm#n07001intelplatform...

 

Nik

Ask a Question
Discussion stats
  • 2 replies
  • 168 views
  • 2 likes
  • 3 in conversation