Architecting, installing and maintaining your SAS environment

creating SAS Environment Manager alerts "from scratch"

Accepted Solution Solved
Reply
Contributor
Posts: 26
Accepted Solution

creating SAS Environment Manager alerts "from scratch"

Hi, my site has restrictions in place on use of X11 - I would like to implement the alerts that come with the Data Mart, but I can't because the script requires X11 to be enabled. What to do? This is for SAS 9.4M3 on a Linux box.


Accepted Solutions
Solution
‎06-22-2016 08:29 AM
SAS Employee
Posts: 99

Re: creating SAS Environment Manager alerts "from scratch"

Sorry I wasn't clear.  You don't need to do anything with the -disableX11 option.  The emi_init.sh script delivered with 9.4M3 already does this for you.  You can simply ignore the step which says to set the DISPLAY environment variable to a working X Server.

View solution in original post


All Replies
SAS Employee
Posts: 99

Re: creating SAS Environment Manager alerts "from scratch"

Unfortunately, the SAS Environment Manager Extended Monitoring relies upon metadata package importing/exporting.  As a result, it has a dependency on the X11 libraries, even though the underlying code doesn't require the display of X windows.  I'm not aware of any workarounds, but am checking with the corresponding development group, and will post if I find any.

Contributor
Posts: 26

Re: creating SAS Environment Manager alerts "from scratch"

Mark. Thanks for your reply. I have not had occasion to use the import/export metadata package feature at this site yet.

Is that dependent on X11? I hope not!

 

SAS Employee
Posts: 99

Re: creating SAS Environment Manager alerts "from scratch"

Since import/export packages is available through SASMC, you can use that client on Windows and avoid the X11 requirement for general package importing and exporting.

SAS Employee
Posts: 1

Re: creating SAS Environment Manager alerts "from scratch"

Hello,

 

 If this helps you can use the unix ImportPackage/ExportPackage w/o X at 9.4M3.

 

Unix only:
If you are using SAS 9.4M3 you can use the switch. -disableX11

 

You can use the -disableX11 option to run the batch import or export tool on UNIX without setting the DISPLAY variable.
This option is available with the third maintenance release for SAS 9.4.  (9.4M3)

SAS Employee
Posts: 99

Re: creating SAS Environment Manager alerts "from scratch"

And I just confirmed with the developer that the emi_init.sh script was modified in 9.4M3 to take advantage of the new -disableX11 option.  As such, you should no longer need an X11 server in order to load the SAS Environment Manager alerts via that script since you're running 9.4M3 on Linux.  I've put in a request to have the SAS Environment Manager User's Guide changed accordingly.

Contributor
Posts: 26

Re: creating SAS Environment Manager alerts "from scratch"

How would one incorporate the -disableX11 option into the execution of the emi_init.sh script?
Solution
‎06-22-2016 08:29 AM
SAS Employee
Posts: 99

Re: creating SAS Environment Manager alerts "from scratch"

Sorry I wasn't clear.  You don't need to do anything with the -disableX11 option.  The emi_init.sh script delivered with 9.4M3 already does this for you.  You can simply ignore the step which says to set the DISPLAY environment variable to a working X Server.

☑ This topic is solved.

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

Discussion stats
  • 7 replies
  • 631 views
  • 2 likes
  • 3 in conversation