Skip navigation
All People > DarrylA > Reginold(Darryl) D Almeida's Blog > 2014 > November > 13

Reginold(Darryl) D Almeida's Blog

November 13, 2014 Previous day Next day

If all the connection you have to your linux server is a text based putty session and you need to work on a graphical interface you can still do it by redirecting your display to your windows machine.

We can use xming.

Xming is an X11 display server for Microsoft Windows operating systems, includingWindows XP or later

Please refer for more information "http://en.wikipedia.org/wiki/Xming".

You will have to download the xming on your windows machine and install it.

We need to use putty to connect to linux using SSH.

In the putty options on right hand side select X11

Select X11 forwarding

X display location enter :0.0

Now login to the Linux server

enable xhost permissons by running xhost +

The set the display to your work station

DISPLAY=<workstation hsotname>:0.0

export DISPLAY

You can run your GUI now. To test run xclock

We have two autosys 11.3.5 instances  ROS and CAR

 

$ autoflags -a

408 LINUX ORA 11.3.5 0 830a7e6f  ****** ******.XX.com

 

$ echo $AUTOSERV

ROS

 

Inserting external instance

$ jil

jil>>1> insert_xinst: CAR

jil>>2> xtype: a

jil>>3> xmachine: ******

jil>>4> xport: 9000

jil>>5> xcrypt_type: DEFAULT

jil>>6> exit

 

____________________________________________________________________________

 

 

CAUAJM_I_50323 Inserting/Updating External Instance: CAR

CAUAJM_I_50205 Database Change WAS Successful!

 

____________________________________________________________________________

 

CAUAJM_I_52301 Exit Code = 0

 

____________________________________________________________________________

 

 

 

$ autoflags -a

408 LINUX ORA 11.3.5 0 7f0101 YYYYYY  YYYYYY.YY.com

 

$ echo $AUTOSERV

CAR

 

Inserting external instance

$ jil

jil>>1> insert_xinst: ROS

jil>>2> xtype: a

jil>>3> xmachine: YYYYYY

jil>>4> xport: 9000

jil>>5> xcrypt_type: DEFAULT

jil>>6> exit

 

____________________________________________________________________________

 

 

CAUAJM_I_50323 Inserting/Updating External Instance: ROS

CAUAJM_I_50205 Database Change WAS Successful!

 

____________________________________________________________________________

 

 

CAUAJM_I_52301 Exit Code = 0

 

____________________________________________________________________________

 

Creating a job with external dependancy

 

Job defintion for a job in CAR with a dependancy condition on ROS

/* ----------------- CAR_J1 ----------------- */

 

insert_job: CAR_J1   job_type: CMD

command: ls

machine: localhost

owner: root@******

permission:

date_conditions: 0

condition: s(job1^ROS)

alarm_if_fail: 1

 

$ autorep -J CAR_J1 -d

 

Job Name                                                         Last Start           Last End             ST Run/Ntry Pri/Xit

________________________________________________________________ ____________________ ____________________ __ ________ _______

CAR_J1                                                           10/08/2013 20:51:13  10/08/2013 20:51:13  SU 1/1      0

 

  Status/[Event]  Time                 Ntry ES  ProcessTime Machine

  --------------  --------------------- --  --  --------------------- ----------------------------------------

  STARTING        10/08/2013 20:51:12    1  PD  10/08/2013 20:51:12 dalre02-I93949

  RUNNING         10/08/2013 20:51:13    1  PD  10/08/2013 20:51:13 dalre02-I93949

    <Executing at WA_AGENT>

  SUCCESS         10/08/2013 20:51:13    1  PD  10/08/2013 20:51:13 dalre02-I93949

 

It executed as soon as the job1 was executed on the instance ROS

Filter Blog