BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Peruano81
Calcite | Level 5

Hello,

could help me with the syntax to restart some services in windows, in sas 9.4. had the following script for linux but in windows I don't know.

 

start)
# To start all services gracefully
ansible-playbook virk/playbooks/viya-mmsu/viya-services-start.yml
;;
stop)
# To stop all services gracefully
ansible-playbook virk/playbooks/viya-mmsu/viya-services-stop.yml
;;
restart)
# To restart all services gracefully
ansible-playbook virk/playbooks/viya-mmsu/viya-services-restart.yml
;;
status)
# To list the status of all SAS Viya services and URLs
ansible-playbook virk/playbooks/viya-mmsu/viya-services-status.yml
;;
disable)
# To exempt sas-viya-all-services from system reboots
ansible-playbook virk/playbooks/viya-mmsu/viya-services-disable.yml
;;

 

1 ACCEPTED SOLUTION

Accepted Solutions
JackMcGuire
Fluorite | Level 6

SAS Viya on Windows only supports single-server deployments, so the 'SAS Services Manager' service can be used to start and stop all of the SAS Viya services in the correct sequence:

 

SAS® Viya® 3.4 Administration: General Servers and Services

 

If you need to script it you could use a command like:

 

      net start "SAS Services Manager" 

          or

      sc \\hostname start "SAS Services Manager" 

 

The 'VIRK' tool (now called Viya-ARK) which you were using is only available on Linux and not Windows.  The equivalent Windows tool SAS® Viya® Deployment Assistant for Windows does not have a facility to manage services.  

 

Many thanks,

 

Jack 

View solution in original post

1 REPLY 1
JackMcGuire
Fluorite | Level 6

SAS Viya on Windows only supports single-server deployments, so the 'SAS Services Manager' service can be used to start and stop all of the SAS Viya services in the correct sequence:

 

SAS® Viya® 3.4 Administration: General Servers and Services

 

If you need to script it you could use a command like:

 

      net start "SAS Services Manager" 

          or

      sc \\hostname start "SAS Services Manager" 

 

The 'VIRK' tool (now called Viya-ARK) which you were using is only available on Linux and not Windows.  The equivalent Windows tool SAS® Viya® Deployment Assistant for Windows does not have a facility to manage services.  

 

Many thanks,

 

Jack 

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

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.

Discussion stats
  • 1 reply
  • 670 views
  • 0 likes
  • 2 in conversation