BMC Communities Banner

This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (5 pts)
7 Replies Last post: Nov 4, 2009 4:26 PM by Jake Morgan  
mchiasson Participant 9 posts since
Oct 2, 2009
Currently Being Moderated

Nov 3, 2009 10:16 AM

Always install package to same channel number

Marimba Version = V6.0.3

 

Is it possible to force a package to always install to the same channel number, or custom name the channel folder instead of it being ch.'X'.

 

For example, if a machine is at locationa and gets the following package:

 

http://transmitter:5282/LocationA/InstalledPackage

 

If I then move the machine to locationb and want to the machine to get 'InstalledPackage' from a different URL:

 

http://transmitter:5282/LocationB/InstalledPackage

 

Could the package be created in some way that it either always installs in say:

 

....\tuner\.marimba\endpoint\ch.65

 

or

 

....\tuner\.marimba\endpoint\InstalledPackage

 

 

This way, the original 'InstalledPackage' would get overwritten instead of having 2 installations of 'InstalledPackage'.  I know it seems odd, but we do have reasons for wanting this ability.

 

Thanks.

Jake Morgan HotShot 152 posts since
Jan 26, 2007
Currently Being Moderated
1. Nov 3, 2009 12:22 PM in response to: mchiasson
Re: Always install package to same channel number

Its not an odd request. The way we solve it is via "Update From." It allows you to keep the same channel number but change where the channel gets its updates.

For example if you have a tuner subscribed to:

http://transmitter:5282/LocationA/InstalledPackage

 

and you want it to now get its updates from

 

http://transmitter:5282/LocationB/InstalledPackage

 

then in Policy Manager/Subscription Manager you would specify the Update From in its endpoint policy.

 

 

There are other methods as well such as using the API and I do believe it's exposed via the command line as well.

Jake Morgan HotShot 152 posts since
Jan 26, 2007
Currently Being Moderated
3. Nov 4, 2009 2:34 PM in response to: mchiasson
Re: Always install package to same channel number

The use of repeaters and a subnet repeater policy typically resolves that for you automatically.

 

Think of it like when you go to www.google.com  you have no idea where you are connecting to but behind the scenes something is somewhat intelligently pointing your browser to the closest location.

 

Subnets are matched to certain repeater(s). When the endpoint updates a channel it consults the repeater list and will use the repeaters in that list (usually the local or closest). These repeaters also provide OOB high availability and scalability be/c if the endpoint fails to connect to one repeater it will give up and try the next one in the channel's list.

 

 

When you set up a repeater you have the option of what to repeat; you can select which channel, which folder, etc.

 

 

The great thing about repeaters is you can add and remove them and the whole system will automatically self-adjust.

Jake Morgan HotShot 152 posts since
Jan 26, 2007
Currently Being Moderated
5. Nov 4, 2009 3:21 PM in response to: mchiasson
Re: Always install package to same channel number

What is the purpose of the "Location" directory? 

 

I ask be/c in general good practices for URL conventions is to have a single URL for any application.

 

In the form of something as follows:

 

http://<transmitter>:<port>/Applications/Microsoft/Office/Current/Office

http://<transmitter>:<port>/Applications/Microsoft/Office/Current/Visio

http://<transmitter>:<port>/Applications/Microsoft/Office/Current/Project

 

 

And of course when you are moving to a major version you can archive it as:

http://<transmitter>:<port>/Applications/Microsoft/Office/2003/Office

Jake Morgan HotShot 152 posts since
Jan 26, 2007
Currently Being Moderated
7. Nov 4, 2009 4:26 PM in response to: mchiasson
Re: Always install package to same channel number

makes sense

 

so what you really need is when the location changes then update the channels/URLs that are pointing to the old location to the new?

 

I know we have written several channels in the past that performs the "update from" based on several different criteria.

 

The basic FSRK channel is located here: http://filedownload.bmc.com/fsrk/Policy_URLUpdater_1.0.zip

More Like This

  • Retrieving data ...