Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /********* Author Nicolas Housset *******************/
- /* Declaration de l'environnement */
- %let mySasServer=franih-hdp261.ts.sashq-r.openstack.sas.com;
- %let mytkgridroot=franih-hdp261.ts.sashq-r.openstack.sas.com;
- %let myLasrHost=franih-hdp261.ts.sashq-r.openstack.sas.com;
- %let TKGridInstallDir=/opt/sas/TKGrid;
- %let TKGridRepInstallDir=/opt/sas/TKGrid_REP;
- %let TKGridsimshPath=&TKGridInstallDir/bin/simsh;
- %let TKGridGridhostsFile='&TKGridInstallDir/grid.hosts';
- option set=SAS_HADOOP_RESTFUL=1;
- option set=SAS_HADOOP_CONFIG_PATH="/opt/install/hadoop_config/sitexmls/";
- option set=SAS_HADOOP_JAR_PATH="/opt/install/hadoop_config/jars/";
- option set=GRIDHOST = "&mytkgridroot";
- option set=GRIDINSTALLLOC = "&TKGridRepInstallDir";
- options set=SHOWGRIDMSG="1";
- options set=GRIDRSHCOMMAND="/usr/bin/ssh -q -o StrictHostKeyChecking=no -vvv";
- option dsaccel=any;
- option msglevel=i;
- /* Check de l'installation */
- %macro show(command);
- filename p pipe &command lrecl=32767;
- data _null_;
- infile p;
- input;
- put _infile_;
- run;
- %mend;
- %show("ssh &mytkgridroot 'cat &TKGridGridhostsFile'")
- %show("ssh &mytkgridroot '/opt/sas/TKGrid/bin/checknodes &TKGridGridhostsFile'")
- %show("ssh &mytkgridroot '&TKGridsimshPath &TKGridsimshPath hostname'")
- /* Check ssh Gridhost ----> Serveur SAS */
- %show("ssh &mytkgridroot 'ssh &mySasServer -vvv'")
- /* Proc HPA */
- proc hpatest data=sashelp.baseball;performance nodes=all; run;
Add Comment
Please, Sign In to add comment