Topic Options
Rate This Topic
#129228 - 01/04/06 04:28 AM URL for each server
dyearsley Offline
journeyman

Registered: 03/11/04
Posts: 80
**
We have 3 servers (Development, Acceptance Test and Production). We are using the Mid-Tier and setting up URL's that all the users to access their tickets and the home page.
The problem we have run into is the URL for each server is different based on what type of server it is. Our policy is to have a different URL for each type of server so we can't make the URL the same for each machine, i.e., $SERVER$.dev for a development server $SERVER$.at for the AT server. etc.

We would like to make the URL dynamic so that when we migrate work flow from one server to the next we don't have to change the code. I know the default web address is stored in the ar.conf file.

What is the best way to obtain this information?

Do we use awk or is the web address stored in the database?

Any help would be appreciated.

Thanks
This posting was submitted via the Web interface

Top
#129229 - 01/04/06 05:05 AM Re: URL for each server [Re: rick_snow]
axton_grams Offline
old hand

Registered: 03/22/05
Posts: 738
I use a form to store the following info, then cross-reference it
using $SERVER$:

- AR Server (as defined in ar.conf Server-Name parameter)
- Web Server (stores http(s)://
- Deployed app name (stores the arserver name as it is registered in mid-tier)

I then construct the URLs like this:

$Web Server$+"/arsys/apps/"+$Deployed app name$+"/start.jsp"

you get the idea.

Do keep in mind that when using $SERVER$ in filters, it returns the
Server-Name parameter from the ar.conf/cfg file. When using $SERVER$
in active links, it returns what the user specified when logging in,
be it an IP, or a fqdn, or something else.

Axton


On 1/4/06, David Yearsley wrote:
> **
> We have 3 servers (Development, Acceptance Test and Production). We are
> using the Mid-Tier and setting up URL's that all the users to access their
> tickets and the home page.
> The problem we have run into is the URL for each server is different based
> on what type of server it is. Our policy is to have a different URL for each
> type of server so we can't make the URL the same for each machine, i.e.,
> $SERVER$.dev for a development server $SERVER$.at for the AT server. etc.
>
> We would like to make the URL dynamic so that when we migrate work flow from
> one server to the next we don't have to change the code. I know the default
> web address is stored in the ar.conf file.
>
> What is the best way to obtain this information?
>
> Do we use awk or is the web address stored in the database?
>
> Any help would be appreciated.
>
> ThanksThis posting was
> submitted via the Web interface


UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:support@arslist.org)

Top
#129230 - 01/03/06 08:20 PM Re: URL for each server [Re: rick_snow]
frederick w grooms67 Offline
old hand

Registered: 06/12/01
Posts: 930
I use a form in the system that has only 1 record to store this type of
info. This way the data on each Remedy server (in this form) only
relates to that server. I build my URLs similar to what Axton has
listed below.

Fred

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Axton
Sent: Wednesday, January 04, 2006 11:06 AM
To: arslist@ARSLIST.ORG
Subject: Re: URL for each server

I use a form to store the following info, then cross-reference it using
$SERVER$:

- AR Server (as defined in ar.conf Server-Name parameter)
- Web Server (stores http(s)://
- Deployed app name (stores the arserver name as it is registered in
mid-tier)

I then construct the URLs like this:

$Web Server$+"/arsys/apps/"+$Deployed app name$+"name>/start.jsp"

you get the idea.

Do keep in mind that when using $SERVER$ in filters, it returns the
Server-Name parameter from the ar.conf/cfg file. When using $SERVER$ in
active links, it returns what the user specified when logging in, be it
an IP, or a fqdn, or something else.

Axton


On 1/4/06, David Yearsley wrote:
> **
> We have 3 servers (Development, Acceptance Test and Production). We
> are using the Mid-Tier and setting up URL's that all the users to
> access their tickets and the home page.
> The problem we have run into is the URL for each server is different
> based on what type of server it is. Our policy is to have a different
> URL for each type of server so we can't make the URL the same for each

> machine, i.e., $SERVER$.dev for a development server $SERVER$.at for
the AT server. etc.
>
> We would like to make the URL dynamic so that when we migrate work
> flow from one server to the next we don't have to change the code. I
> know the default web address is stored in the ar.conf file.
>
> What is the best way to obtain this information?
>
> Do we use awk or is the web address stored in the database?
>
> Any help would be appreciated.
>


UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:support@arslist.org)

Top
#129231 - 01/03/06 08:41 PM Re: URL for each server [Re: rick_snow]
axton_grams Offline
old hand

Registered: 03/22/05
Posts: 738
I store all data for all servers on each server so db copies for
environment refreshes require 1 less step.

Axton

On 1/4/06, Grooms, Frederick W wrote:
> I use a form in the system that has only 1 record to store this type of
> info. This way the data on each Remedy server (in this form) only
> relates to that server. I build my URLs similar to what Axton has
> listed below.
>
> Fred
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:arslist@ARSLIST.ORG] On Behalf Of Axton
> Sent: Wednesday, January 04, 2006 11:06 AM
> To: arslist@ARSLIST.ORG
> Subject: Re: URL for each server
>
> I use a form to store the following info, then cross-reference it using
> $SERVER$:
>
> - AR Server (as defined in ar.conf Server-Name parameter)
> - Web Server (stores http(s)://
> - Deployed app name (stores the arserver name as it is registered in
> mid-tier)
>
> I then construct the URLs like this:
>
> $Web Server$+"/arsys/apps/"+$Deployed app name$+"> name>/start.jsp"
>
> you get the idea.
>
> Do keep in mind that when using $SERVER$ in filters, it returns the
> Server-Name parameter from the ar.conf/cfg file. When using $SERVER$ in
> active links, it returns what the user specified when logging in, be it
> an IP, or a fqdn, or something else.
>
> Axton
>
>
> On 1/4/06, David Yearsley wrote:
> > **
> > We have 3 servers (Development, Acceptance Test and Production). We
> > are using the Mid-Tier and setting up URL's that all the users to
> > access their tickets and the home page.
> > The problem we have run into is the URL for each server is different
> > based on what type of server it is. Our policy is to have a different
> > URL for each type of server so we can't make the URL the same for each
>
> > machine, i.e., $SERVER$.dev for a development server $SERVER$.at for
> the AT server. etc.
> >
> > We would like to make the URL dynamic so that when we migrate work
> > flow from one server to the next we don't have to change the code. I
> > know the default web address is stored in the ar.conf file.
> >
> > What is the best way to obtain this information?
> >
> > Do we use awk or is the web address stored in the database?
> >
> > Any help would be appreciated.
> >
>
>
> UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
> (Support: mailto:support@arslist.org)
>


UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:support@arslist.org)

Top