Is there a way to restrict the network access of an application?
Is there a way to restict the network access of an application? In other words, is there a way to guarantee that an application will only operate in offline mode?
Well, more than just knowing if an application will work in offline mode, I'm interested in whether there's a way to forcibly the revoke network access of an application. For example, I don't think something like an epub reader should have network access and I want to insure it does not communicate to an external server.
Similar Messages
-
Date picker - is there a way to restrict the minuit select list to 1/4 hr
Hi,
When using date picker item with format 'DD-MON-YYYY HH24:MI',
Is there a way to restrict the minuit select list on the calendar to 1/4 hr instead of 00 to 59. Example: 00,15,30,45
Thank you,
FrancisHold down command key to select multiple songs, then "Get Info", and you will modify all fields at the same time.
-
I have the following slides in my project:
content slide 1
content slide 2
question slide 1
question slide 2
Question slide 1 is a question about content slide 1. Question slide 2 is a question about content slide 2. I would like to restrict the total number of attempts to two for each question. If question 1 is answered incorrectly on the first attempt, the learner would be returned to content slide 1 for review. Clicking the next button will take the learner back to the missed quiz question and allow them a second attempt to answer it correctly. If they answer it incorrectly again, it is scored as incorrect and the learner is taken to question slide 2.
Can this be done or does remediation keep repeating until the learner answers the question correctly?
If that is the case, can I achieve my objective by using advanced actions? And, if so, can you provide step by step instructions on how to do this?I think it could be possible, but giving you step-by-step instructions, sorry, that would take a lot of time. Did you use advanced actions already? My archived blog has a lot of use cases and tutorials, but I think it is not fair to ask on a forum for step-by-step instructions for each use case you want to create. The most important thing will be to make sure that the user always remains in the Quiz scope, you can use the new system variable cpInQuizScope while testing. There is no system variable for attempts on question level, only one on Quiz level, so you'll have to create a user variable to track the attempts on question level. A big problem is that when you leave a question slide, without using the remediation work flow, the attempts are considered as finished. Personally I would prefer for that reason to not use the default question slides. You could try out a combination of remediation and advanced actions, never did test that?
Lilybiri -
Is there a way to restrict the blanket release qty or amount to agreed amt
Hi,
We have a requirement to restrict the blanket release qty or amt of the item to the amount that is agreed on the blanket Purchase Order line. Is there a setup at supplier or in purchasing that dictates this
Thanks,
user12048986Hello,
I've made a few "forms perso" and I think you can deal with this case, depending of course of the business rules you want to apply.
If you want to apply the field "COMMITTED_AMOUNT" as a global limit for all your release you can test the following :
All your code will be done in "Not in Enter-Query Mode"
1/ Create some variables on the WHEN-NEW-FORM-INSTANCE event : this committed amount, and also the amount already consumed,
2/ Initialize the variables on the WHEN-NEW-ITEM-INSTANCE event, on the PO_SHIPMENTS.SOURCE_LINE_NUM object,
condition will be :PO_RELEASES.PO_Release_Id IS NOT NULL
3/ On the WHEN-VALIDATE-RECORD event of the PO_SHIPMENTS object, you will update your variables depending of the item on the current line by some SQL statement, using the variable.VALUE = (your SQL),
condition will be :PO_RELEASES.PO_Release_Id IS NOT NULL AND :SYSTEM.RECORD_STATUS IN ('CHANGED', 'INSERT', 'NEW')
4/ Still on the WHEN-VALIDATE-RECORD event of the PO_SHIPMENTS object, you should in your condition compare the amount already ordered (including your current shipment line) to your limit, then in the action display a message to warn the user.
On this step I use also a variable XX_NB_MSG_DISP because as the WHEN-VALIDATE-RECORD is trigerred several time during the validation, you will display the message several times :°/
Then condition will looks like something like this :
:PO_RELEASES.PO_Release_Id IS NOT NULL
AND :SYSTEM.RECORD_STATUS IN ('CHANGED', 'INSERT', 'NEW')
AND :GLOBAL.XX_NB_MSG_DISP = '0'
AND ((:GLOBAL.XX_ORDERED_AMOUNT > :GLOBAL.COMMITTED_AMOUNT)
At this point the message is only a warning, but it is already a little piece of code, tell me if you succeed in doing something with those explanations. Honestly I do not have time to do any tests about this...
You can also use the PO_APPROVE event to do a global control, but this is less user-friendly.
Hope it helps,
Take care,
Xavier -
Is there any way to get the appStore link for my application
Hi everyone , i am developing an app which has a feature of sharing its appstore link with the friends through mail,so that they can see my appplication in appstore and buy it directly on click of a button. For that i need to use the app store link of my application for sending it . is there any way to get that and using it dynamically in my app immediately after releasing it.
Your best bet would be to create a web page of your own for the app. Design that page so that it uses 'META REFRESH' to redirect the visitor straight to the App Store link.
That way you can hard-wire your own web page address into your app.
This has the advantage that it can work well even before you've noticed that your app has arrived on the App Store. Create a real web page, describing the app and telling people to search for it in the App Store by name - then replace it with the auto-redirect page when you've discovered your application's App Store address. -
Is there a way to monitor the data usage on existing applications?
I just noticed that a few apps are still using my data plan long after I closed the application.
Is there a way to monitor that?
Also I am being told that the icloud back up can consume allot of data (in the GB)About the only thing you could try is looking at the internet history on the phone itself. But there is not a site on VZW that will show WHAT the data was used for,
-
I’m looking for the proper location to set the TS Program Compatibility Flags (for controlling application execution in execute mode) under 2012 server.
On Server 2003, we can use:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Application\MYAPP
On Server 2008, we can use:
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\MYAPP
Is there a similar setting in 2012 Server?I have an open question about this issue on the partner site, with no fix yet. Did any of you find the answer? I have a client who needs to have Server 2012 R2 report user name or the name of the computer accessing the RDS server.
They currently have a 2000 Terminal Server, and I always thought it was reporting user name to MAS 90, but when I looked recently, I found that it actually reports the name of the computer that is connecting to the terminal server, which also works fine.
MAS 90 just needs to see a different name for each connection.
These are the current entries on the 2000 terminal server, and they cause it to show remote computer name in MAS 90 fid0map.ini file:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\PVXWIN]
"Flags"=dword:0000001f
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\PVXWIN32]
"Flags"=dword:00000408
Thank you for your help!
Gregg Hill -
Is there a way to restrict the cursor at the end of a line in the source code editor??
In the source code editor, the cursor will always follow where I click. But I wanna restrict it at the end of a line, just like other text editors do. Is there a option or sth? I can't put up with it any longer.
Solved!
Go to Solution.Hello morphe!
The source editor in the LabWindows/CVI environment is constructed under the concept of virtual space.
At the moment, in the current version of LabWindows/CVI, this is the default behavior, which cannot be changed from the editor preferences dialogs.
Best regards,
- Johannes -
Is there a way to restrict the ports used by Toplink for making jdbc
connections? For example we want to restrict Toplink from using ports below 5000
This is when Toplink makes an outward connection to an oracle server
** Urgent **
Please helpWhen using JDBC you give the port in your JDBC URL, i.e.
jdbc:oracle:thin:@myserver:1521:orcl
Or do you mean a different port? Maybe check your JDBC driver documentation or forum.
James : http://www.eclipselink.org -
Prevent users from making modifications to the about:config page?
You can do this with the [https://addons.mozilla.org/en-US/firefox/addon/3911/ Public Fox] add-on.
It can be used to password protect access to about:config. To prevent the user from disabling/uninstalling the add-on, it also allows you to password protect the add-ons manager. You can also lock down other parts of Firefox such as the options dialog and clear history. -
Is there any way to click the System Message Box button through code?
Hi,
Is there any way to click the System Message Box button through code?
Is there any way to restrict the System Message Box ?
The requirement is, i need to open the MRP Wizard form in MRP.it s run automatically.after completion of the wizard is there finish button.after clicking of the finish button, there have a system message. i want to click on "Yes" button through coding.
when system message box open.my code is stopped.if i press yes code is running.
Thanks in advance.Thanks for replay
bellow given the code
i am using, when i call the finishMrp function its going to take the itemId from XML and click to the finish button.
There have a system message .when system message fair my debugging stopped. Please give me any idea.
Public Function Execuate() As Boolean
Dim strSQL As String
Dim objRS As SAPbobsCOM.Recordset
Dim intLoop As Integer
Dim objForm As SAPbouiCOM.Form
objForm = objAddOnCentral.objApplication.Forms.ActiveForm
objRS = objAddOnCentral.objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
strSQL = "SELECT U_MRPCode From [@ACSYMRPLIST]"
objRS.DoQuery(strSQL)
If objRS.EoF Then
Throw New Exception("No MRP Scenario Scheudled")
Return False
End If
For intLoop = 1 To objRS.RecordCount
objForm.Freeze(True)
If intLoop = 1 Then
initializeMRPRun()
System.Windows.Forms.Application.DoEvents()
Else
reinitialize()
System.Windows.Forms.Application.DoEvents()
End If
MRPRun(objRS.Fields.Item("U_MRPCode").Value)
System.Windows.Forms.Application.DoEvents()
objForm.Freeze(False)
objRS.MoveNext()
Nex
finishMRPRun()
Return True
End Function
Private Sub finishMRPRun()
Dim strResource As String
Dim objXML As New XmlDocument
Dim objXMLNode As XmlNode
Dim objXMLNodeList As XmlNodeList
strResource = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name & "." & "AutoStart.xml"
objXML.Load(System.Reflection.Assembly.GetExecutingAssembly.GetManifestResourceStream(strResource))
objXMLNodeList = objXML.SelectNodes("/AutoMRPScript/FinishMRP/Instruction")
For Each objXMLNode In objXMLNodeList 'objXML.ChildNodes.Item(1).ChildNodes
Select Case objXMLNode.Attributes("OPType").Value
Case "2"
systemMessageactiveFormButton(objXMLNode)
End Select
Next
End Sub
Private Sub systemMessageactiveFormButton(ByVal Instruction As XmlNode)
Dim objForm As SAPbouiCOM.Form
objForm = objAddOnCentral.objApplication.Forms.ActiveForm
objForm.Items.Item(Instruction.Attributes("ItemID").Value).Click()
End Sub
Edited by: Badulla Sk on Dec 31, 2009 11:24 AM
Edited by: Badulla Sk on Dec 31, 2009 11:25 AM -
Way to allow the user access to the saved lists of this Z report
We have a Z report that we want to run at midnight each Sunday and then view the output/layout first thing Monday morning. We can schedule the report to run but it appears that the only way we can save the output as a 'file' for later viewing is by using the "Save with ID" option, which puts the output into a SAP 'saved list'.
The problem with this is that it doesn't appear to be possible to access that list from the Z-report - it would appear that you have to go into SQ01 and use the 'saved list' button. This means giving the Z- report user access to SQ01 as well as Z-report, which, for security (SOD) reasons we don't want to do.
We can run the report in foreground with the output option "File store" and save the output as a file to a specified location,. But this option doesn't appear to be available when the report is scheduled as a background job. If this is done, the background job runs but there's no output anywhere, as far as we can tell.
So what want is to run the report in background but with the output option 'File store' or equivalent (i.e. an output stored somewhere that the report user can view). Is this not possible, or have we missed something in setting up the report run?
Or is there a way to allow the user access to the saved lists of this Z report without giving them T-code SQ01?
ThanksHi !
I just wonder if the answer from Varishtb below did solve your propblem.
I have exactly the same problem as you. I also want to be able to look at the saved list without using the sq01.
If you solved it I will be grateful to get the solution.
regards Lars
answer:
You can call the infoset query directly from a transaction code. There's
no need to copy it as a 'Z-report' (or as a custom report). In fact,
everytime you're copying an infoset query to a report, you're calling
for problems the next time you face an upgrade. (That is because SAP
changes the internal logic used to handle the infosets queries from
version to version)
We're using some infoset queries and they work fine this way. -
RE: Is there a way to have 2 network cards on the samemachine
Sean,
I mean I am always connecting to the nodemgr of the 2nd environment
successfully. Only when I run the client part of the application that I know
is up, I get a response from the Name Server that it is actually the first
IP address.
I checked again. I defenitely have FORTE_NS_ADDRESS set to IP:5004, in my
case, and not the hostname. I don't have FORTE_LOCATIONS set any where. the
NS_ADDRESS for env2 has only 1 IP address associated with it. My Forte
Control Panel on the client, and hence the NS address has only one entry.
I tried going into escript like you said, and the name service still thinks
it is IP1.
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Monday, June 22, 1998 1:31 PM
To: Venkat Kodumudi; 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
Hmmmm? That is a little odd! Let me rehash what I think you are saying.
You now have two environments each with their own name service with
FORTE_NS_ADDRESS set to a different IP:Port combination. For example you
are doing the steps:
FORTE_NS_ADDRESS=255.255.255.1:5000
start the nodemgr for env 1
FORTE_NS_ADDRESS=255.255.255.2:5000
start the nodemgr for env 2
Now when you start a client you are always getting the address for env 1
back from the nodemgr. I assume you actually mean the name service? Or, do
you mean you are always connecting to the nodemgr & name service for env
1?
If the first scenario is the case and you are connecting to the nodemgr
for
env 2 but getting back IP's for services listening on the card for env 1 I
would ask you what you are setting the FORTE_LOCATIONS value to before you
start each service. If you are not setting it or are using the host name
it
will register using the IP for the primary network card associated with
the
machine name and I am again assuming that this is env 1. You need to set
the FORTE_LOCATIONS variable to 255.255.255.2:0 (based on the steps above)
before starting your services.
If the second scenario is the case I would have you check what the
FORTE_NS_ADDRESS is set to before you start up the client. Once again it
must be the IP:Port combination not host:port combination if you want to
get
anything other than the primary card.
I would also suggest that you do the following. After everything is up
and
running execute the following commands:
escript -fns "ip for env1":port
findsub nameservice
showpart
What you should see is everything currently registered under the name
service. It will have the name and any "locations" (IP and port) that it
is
registered as listening on. I would look for the nodemgr and see where it
has advertised itself. I would then look for any services you expect to
be
registered there and also verify where the have advertised themselves. If
there are multiple locations listed for any one service, the client will
use
the first one in the list.
Do the same for env 2.
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Monday, June 22, 1998 9:57 AM
To: 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same machine
I am giving the actual IP address. and not the host name. That is why I
don't understand what is going on.
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Monday, June 22, 1998 10:53 AM
To: Venkat Kodumudi; 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
Hello Venkat,
I probably should have mentioned this before. Your are correct. Forteis
doing a host lookup if you are providing a name for examplemachine1:5000.
You can bypass the host lookup by using the actual ip dot addressinstead
for example 255.255.255.255:5000. This way you are taking the name
service
out od the picture and Forte will use the address provided.
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Monday, June 22, 1998 9:27 AM
To: 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same machine
My requirement is that my second card serves as best case performance
testing piece. This eliminates the network completely. We went one step
ahead and created a new enviromnent for the second card. Whatever I do,
the
nodemgr is returning back the IP address of the first card, even thoughmy
FORTE_NS_ADDRESS does not have the first card in the picture any where.
I think Forte is doing a host look up and returning the first IP address
it
finds, as opposed to returning the IP address specified in theenvironment
variable FORTE_NS_ADDRESS. Is there a way to trick it?
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Thursday, June 18, 1998 9:54 AM
To: Venkat Kodumudi
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
OK, you ran into one of the issues. That is, if both addresses areknown
to
the client that is trying to contact the partition it will always usethe
first address in FORTE_LOCATIONS. This is because FORTE_LOCATIONS was
designed more as a failover mechanism. So it will always try the
first
address in the list and if it succeeds, there is no reason to move onto
the
second.
Now, the second issue is that there is currently a problem with theclient
failover to the secondary address in FORTE_LOCATIONS. If the firstentry
fails it is supposed to retry on the second entry. Instead, it
retries
the
first entry again. I know that Forte knows about this but I do nothave
a
bug number on it.
With that said, lets look at a possible solution for you. If the real
objective here is to have a back up network card available for fail
over
on
the same machine, or use one card to advertise outside your firewalland
one
to use inside, then you will have to contact Forte to determine whenthe
failover problem will be fixed. But, if the objective is to loadbalance
across the network cards you could have the environment manager listenon
both ports and then alternate your server partitions across both
cards.
For
example:
set FORTE_NS_ADDRESS=card1:5000;card2:5000 and then start up the
environment
manager
set FORTE_LOCATIONS=card1:0 (the 0 in the port causes the OS to pick a
port)
and start partition one
set FORTE_LOCATIONS=card2:0 and start partition two
and so on....
In this scenario the environment manager will be listening on bothcards
but
each server will be listening on only one of the two cards. So if a
request
comes in for partition1 it will go through card one and if it is for
partition two it will go through card two. You could assign your
partitions
to cards based on expected load.
Well, I am done. I hope this helps!
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Thursday, June 18, 1998 8:06 AM
To: 'Sean Brown'; 'John Jamison'
Cc: [email protected]; Jose Suriol
Subject: RE: Is there a way to have 2 network cards on the samemachine
Sean,
Thanks for your reply. I tried the approach. I was not very specificin
my
question. I do need the ability for server applications to listen and
server
on both the network cards.
I was succesfully able to make the nodemgr listen on both the cardsand
actually serve requests coming in from both the cards. But, followingyour
advise, I took a cautious step with FORTE_LOCATIONS. Here is what I
noticed.
I have an application that has 6 partitions in total. I used
FORTE_LOCATION
to make it listen on 1. Both the cards. 2. Swapped the IP addresses
for
both
cards for this application. 3. One card that I want it to listen on. I
tried
all approaches by exporting the locations variable for just this
application. The nodemgr recieves a request from this pc connected onthe
second card to talk to one of the partitions. The node mgr responds
with
a
proxy - with the ip address and socket number of the first card. The
FORTE_NS_ADDRESS variable looks like this:
IP1:5002;IP2:5002.
Is it possible atall to resolve my problem, without having a seperate
environment?
Thanks
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Wednesday, June 17, 1998 10:42 AM
To: 'John Jamison'; Venkat Kodumudi
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the
same
machine
Venkat,
Actually, it is possible for Forte to listen on more than one IP andport
combination. The first reply to your message was correct. If you
set
the
FORTE_NS_ADDRESS to contain multiple entries before starting the
name
service, it will advertise on both. For Forte servers you use the
FORTE_LOCATIONS env variable to get it to advertise on multipleip:port
combinations.
We were doing something very similar with another customer I was at
to
get
around a firewall. I will warn you that there are some issues with
FORTE_LOCATIONS that may keep that portion from working. However,
from
reading your note, it appears that all you need is for the nameservice
to
advertise and listen on multiple ports and that works fine. I justtested
it again for sanity sake and it worked. I ran my test on NT using
Forte
3G2.
Sean
-----Original Message-----
From: [email protected]
[<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of John Jamison
Sent: Tuesday, June 16, 1998 4:51 PM
To: Venkat Kodumudi
Cc: [email protected]
Subject: Re: Is there a way to have 2 network cards on the samemachine
Venkat,
Technically yes this is possible, though not in Forte. A nameserver
can
only listen on one port.
To implement this scheme you will have to write a proxy service (insome
language
including perhaps forte) which listens on the well-known port on the
second card, reads requests, then forwards them to the realnameservice
(wkp on the first card), and forwards replies back. This is not
trivial, but some firewall toolkit vendors supply stub code to write
application specific proxies.
-J
Venkat Kodumudi wrote:
Folks,
Here is what we would like to do:
We want to have 2 network cards on a unix box - which means I have
2
ip
addresses, and the connection between the two is the unix box and
only
the
unix box. I have a pc connected to the 2nd network card and I want
it
to
connect to the nameserver that is listening on a well known port
on
the
first network card. We don't want to turn IP forwarding between
the
two
cards. We want Forte to address both cards to talk to clients, in
one
environment.
Can this be done? If so how?
Thanks in advance.
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive<URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>>>>
John Jamison [email protected]
Vice President and Chief Technology Officer
Sage IT Partners, Inc.
Voice: 415 392-7243 x 306
Fax: 415 391-3899
Internet Enabled Business Change
<a href=
"http://www.sageit.com">http://www.sageit.com</a>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>Hello Venkat,
I probably should have mentioned this before. Your are correct. Forte is
doing a host lookup if you are providing a name for example machine1:5000.
You can bypass the host lookup by using the actual ip dot address instead
for example 255.255.255.255:5000. This way you are taking the name service
out od the picture and Forte will use the address provided.
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Monday, June 22, 1998 9:27 AM
To: 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same machine
My requirement is that my second card serves as best case performance
testing piece. This eliminates the network completely. We went one step
ahead and created a new enviromnent for the second card. Whatever I do, the
nodemgr is returning back the IP address of the first card, even though my
FORTE_NS_ADDRESS does not have the first card in the picture any where.
I think Forte is doing a host look up and returning the first IP address it
finds, as opposed to returning the IP address specified in the environment
variable FORTE_NS_ADDRESS. Is there a way to trick it?
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Thursday, June 18, 1998 9:54 AM
To: Venkat Kodumudi
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
OK, you ran into one of the issues. That is, if both addresses are known
to
the client that is trying to contact the partition it will always use the
first address in FORTE_LOCATIONS. This is because FORTE_LOCATIONS was
designed more as a failover mechanism. So it will always try the first
address in the list and if it succeeds, there is no reason to move on to
the
second.
Now, the second issue is that there is currently a problem with the client
failover to the secondary address in FORTE_LOCATIONS. If the first entry
fails it is supposed to retry on the second entry. Instead, it retries
the
first entry again. I know that Forte knows about this but I do not have a
bug number on it.
With that said, lets look at a possible solution for you. If the real
objective here is to have a back up network card available for fail over
on
the same machine, or use one card to advertise outside your firewall and
one
to use inside, then you will have to contact Forte to determine when the
failover problem will be fixed. But, if the objective is to load balance
across the network cards you could have the environment manager listen on
both ports and then alternate your server partitions across both cards.
For
example:
set FORTE_NS_ADDRESS=card1:5000;card2:5000 and then start up the
environment
manager
set FORTE_LOCATIONS=card1:0 (the 0 in the port causes the OS to pick a
port)
and start partition one
set FORTE_LOCATIONS=card2:0 and start partition two
and so on....
In this scenario the environment manager will be listening on both cards
but
each server will be listening on only one of the two cards. So if a
request
comes in for partition1 it will go through card one and if it is for
partition two it will go through card two. You could assign your
partitions
to cards based on expected load.
Well, I am done. I hope this helps!
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Thursday, June 18, 1998 8:06 AM
To: 'Sean Brown'; 'John Jamison'
Cc: [email protected]; Jose Suriol
Subject: RE: Is there a way to have 2 network cards on the same machine
Sean,
Thanks for your reply. I tried the approach. I was not very specific in
my
question. I do need the ability for server applications to listen and
server
on both the network cards.
I was succesfully able to make the nodemgr listen on both the cards and
actually serve requests coming in from both the cards. But, following your
advise, I took a cautious step with FORTE_LOCATIONS. Here is what I
noticed.
I have an application that has 6 partitions in total. I used
FORTE_LOCATION
to make it listen on 1. Both the cards. 2. Swapped the IP addresses for
both
cards for this application. 3. One card that I want it to listen on. I
tried
all approaches by exporting the locations variable for just this
application. The nodemgr recieves a request from this pc connected on the
second card to talk to one of the partitions. The node mgr responds with a
proxy - with the ip address and socket number of the first card. The
FORTE_NS_ADDRESS variable looks like this:
IP1:5002;IP2:5002.
Is it possible atall to resolve my problem, without having a seperate
environment?
Thanks
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Wednesday, June 17, 1998 10:42 AM
To: 'John Jamison'; Venkat Kodumudi
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
Venkat,
Actually, it is possible for Forte to listen on more than one IP andport
combination. The first reply to your message was correct. If you setthe
FORTE_NS_ADDRESS to contain multiple entries before starting the name
service, it will advertise on both. For Forte servers you use the
FORTE_LOCATIONS env variable to get it to advertise on multiple ip:port
combinations.
We were doing something very similar with another customer I was at toget
around a firewall. I will warn you that there are some issues with
FORTE_LOCATIONS that may keep that portion from working. However, from
reading your note, it appears that all you need is for the name serviceto
advertise and listen on multiple ports and that works fine. I justtested
it again for sanity sake and it worked. I ran my test on NT using Forte
3G2.
Sean
-----Original Message-----
From: [email protected]
[<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of John Jamison
Sent: Tuesday, June 16, 1998 4:51 PM
To: Venkat Kodumudi
Cc: [email protected]
Subject: Re: Is there a way to have 2 network cards on the same machine
Venkat,
Technically yes this is possible, though not in Forte. A name server
can
only listen on one port.
To implement this scheme you will have to write a proxy service (in some
language
including perhaps forte) which listens on the well-known port on the
second card, reads requests, then forwards them to the real nameservice
(wkp on the first card), and forwards replies back. This is not
trivial, but some firewall toolkit vendors supply stub code to write
application specific proxies.
-J
Venkat Kodumudi wrote:
Folks,
Here is what we would like to do:
We want to have 2 network cards on a unix box - which means I have 2ip
addresses, and the connection between the two is the unix box and onlythe
unix box. I have a pc connected to the 2nd network card and I want it
to
connect to the nameserver that is listening on a well known port onthe
first network card. We don't want to turn IP forwarding between thetwo
cards. We want Forte to address both cards to talk to clients, in one
environment.
Can this be done? If so how?
Thanks in advance.
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive<URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>>
John Jamison [email protected]
Vice President and Chief Technology Officer
Sage IT Partners, Inc.
Voice: 415 392-7243 x 306
Fax: 415 391-3899
Internet Enabled Business Change
<a href="http://www.sageit.com">http://www.sageit.com</a>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>> -
Is there a way to have 2 network cards on the samemachine
Folks,
Here is what we would like to do:
We want to have 2 network cards on a unix box - which means I have 2 ip
addresses, and the connection between the two is the unix box and only the
unix box. I have a pc connected to the 2nd network card and I want it to
connect to the nameserver that is listening on a well known port on the
first network card. We don't want to turn IP forwarding between the two
cards. We want Forte to address both cards to talk to clients, in one
environment.
Can this be done? If so how?
Thanks in advance.
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hmmmm? That is a little odd! Let me rehash what I think you are saying.
You now have two environments each with their own name service with
FORTE_NS_ADDRESS set to a different IP:Port combination. For example you
are doing the steps:
FORTE_NS_ADDRESS=255.255.255.1:5000
start the nodemgr for env 1
FORTE_NS_ADDRESS=255.255.255.2:5000
start the nodemgr for env 2
Now when you start a client you are always getting the address for env 1
back from the nodemgr. I assume you actually mean the name service? Or, do
you mean you are always connecting to the nodemgr & name service for env 1?
If the first scenario is the case and you are connecting to the nodemgr for
env 2 but getting back IP's for services listening on the card for env 1 I
would ask you what you are setting the FORTE_LOCATIONS value to before you
start each service. If you are not setting it or are using the host name it
will register using the IP for the primary network card associated with the
machine name and I am again assuming that this is env 1. You need to set
the FORTE_LOCATIONS variable to 255.255.255.2:0 (based on the steps above)
before starting your services.
If the second scenario is the case I would have you check what the
FORTE_NS_ADDRESS is set to before you start up the client. Once again it
must be the IP:Port combination not host:port combination if you want to get
anything other than the primary card.
I would also suggest that you do the following. After everything is up and
running execute the following commands:
escript -fns "ip for env1":port
findsub nameservice
showpart
What you should see is everything currently registered under the name
service. It will have the name and any "locations" (IP and port) that it is
registered as listening on. I would look for the nodemgr and see where it
has advertised itself. I would then look for any services you expect to be
registered there and also verify where the have advertised themselves. If
there are multiple locations listed for any one service, the client will use
the first one in the list.
Do the same for env 2.
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Monday, June 22, 1998 9:57 AM
To: 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same machine
I am giving the actual IP address. and not the host name. That is why I
don't understand what is going on.
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Monday, June 22, 1998 10:53 AM
To: Venkat Kodumudi; 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
Hello Venkat,
I probably should have mentioned this before. Your are correct. Forte is
doing a host lookup if you are providing a name for example machine1:5000.
You can bypass the host lookup by using the actual ip dot address instead
for example 255.255.255.255:5000. This way you are taking the name
service
out od the picture and Forte will use the address provided.
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Monday, June 22, 1998 9:27 AM
To: 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same machine
My requirement is that my second card serves as best case performance
testing piece. This eliminates the network completely. We went one step
ahead and created a new enviromnent for the second card. Whatever I do,
the
nodemgr is returning back the IP address of the first card, even though my
FORTE_NS_ADDRESS does not have the first card in the picture any where.
I think Forte is doing a host look up and returning the first IP address
it
finds, as opposed to returning the IP address specified in the environment
variable FORTE_NS_ADDRESS. Is there a way to trick it?
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Thursday, June 18, 1998 9:54 AM
To: Venkat Kodumudi
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
OK, you ran into one of the issues. That is, if both addresses areknown
to
the client that is trying to contact the partition it will always usethe
first address in FORTE_LOCATIONS. This is because FORTE_LOCATIONS was
designed more as a failover mechanism. So it will always try the first
address in the list and if it succeeds, there is no reason to move on to
the
second.
Now, the second issue is that there is currently a problem with theclient
failover to the secondary address in FORTE_LOCATIONS. If the firstentry
fails it is supposed to retry on the second entry. Instead, it retries
the
first entry again. I know that Forte knows about this but I do not havea
bug number on it.
With that said, lets look at a possible solution for you. If the real
objective here is to have a back up network card available for fail over
on
the same machine, or use one card to advertise outside your firewall and
one
to use inside, then you will have to contact Forte to determine when the
failover problem will be fixed. But, if the objective is to loadbalance
across the network cards you could have the environment manager listenon
both ports and then alternate your server partitions across both cards.
For
example:
set FORTE_NS_ADDRESS=card1:5000;card2:5000 and then start up the
environment
manager
set FORTE_LOCATIONS=card1:0 (the 0 in the port causes the OS to pick a
port)
and start partition one
set FORTE_LOCATIONS=card2:0 and start partition two
and so on....
In this scenario the environment manager will be listening on both cards
but
each server will be listening on only one of the two cards. So if a
request
comes in for partition1 it will go through card one and if it is for
partition two it will go through card two. You could assign your
partitions
to cards based on expected load.
Well, I am done. I hope this helps!
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Thursday, June 18, 1998 8:06 AM
To: 'Sean Brown'; 'John Jamison'
Cc: [email protected]; Jose Suriol
Subject: RE: Is there a way to have 2 network cards on the same machine
Sean,
Thanks for your reply. I tried the approach. I was not very specific in
my
question. I do need the ability for server applications to listen and
server
on both the network cards.
I was succesfully able to make the nodemgr listen on both the cards and
actually serve requests coming in from both the cards. But, followingyour
advise, I took a cautious step with FORTE_LOCATIONS. Here is what I
noticed.
I have an application that has 6 partitions in total. I used
FORTE_LOCATION
to make it listen on 1. Both the cards. 2. Swapped the IP addresses for
both
cards for this application. 3. One card that I want it to listen on. I
tried
all approaches by exporting the locations variable for just this
application. The nodemgr recieves a request from this pc connected onthe
second card to talk to one of the partitions. The node mgr responds witha
proxy - with the ip address and socket number of the first card. The
FORTE_NS_ADDRESS variable looks like this:
IP1:5002;IP2:5002.
Is it possible atall to resolve my problem, without having a seperate
environment?
Thanks
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Wednesday, June 17, 1998 10:42 AM
To: 'John Jamison'; Venkat Kodumudi
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
Venkat,
Actually, it is possible for Forte to listen on more than one IP andport
combination. The first reply to your message was correct. If you setthe
FORTE_NS_ADDRESS to contain multiple entries before starting the name
service, it will advertise on both. For Forte servers you use the
FORTE_LOCATIONS env variable to get it to advertise on multiple
ip:port
combinations.
We were doing something very similar with another customer I was at toget
around a firewall. I will warn you that there are some issues with
FORTE_LOCATIONS that may keep that portion from working. However,
from
reading your note, it appears that all you need is for the nameservice
to
advertise and listen on multiple ports and that works fine. I justtested
it again for sanity sake and it worked. I ran my test on NT using
Forte
3G2.
Sean
-----Original Message-----
From: [email protected]
[<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of John Jamison
Sent: Tuesday, June 16, 1998 4:51 PM
To: Venkat Kodumudi
Cc: [email protected]
Subject: Re: Is there a way to have 2 network cards on the samemachine
Venkat,
Technically yes this is possible, though not in Forte. A nameserver
can
only listen on one port.
To implement this scheme you will have to write a proxy service (insome
language
including perhaps forte) which listens on the well-known port on the
second card, reads requests, then forwards them to the realnameservice
(wkp on the first card), and forwards replies back. This is not
trivial, but some firewall toolkit vendors supply stub code to write
application specific proxies.
-J
Venkat Kodumudi wrote:
Folks,
Here is what we would like to do:
We want to have 2 network cards on a unix box - which means I have 2
ip
addresses, and the connection between the two is the unix box and
only
the
unix box. I have a pc connected to the 2nd network card and I want
it
to
connect to the nameserver that is listening on a well known port onthe
first network card. We don't want to turn IP forwarding between thetwo
cards. We want Forte to address both cards to talk to clients, in
one
environment.
Can this be done? If so how?
Thanks in advance.
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive<URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>>>
John Jamison [email protected]
Vice President and Chief Technology Officer
Sage IT Partners, Inc.
Voice: 415 392-7243 x 306
Fax: 415 391-3899
Internet Enabled Business Change
<a href=
"http://www.sageit.com">http://www.sageit.com</a>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>> -
I'm trying to better understand Mac's with respect to networking. It seems that my computer should know the IP address of ever system listed on the Local Area Network, but all I see is the system name. Is there a way to determine the IP address also?
I have tried using "Get Information", but that produces no useful data.I'm trying to better understand Mac's with respect to networking. It seems that my computer should know the IP address of ever system listed on the Local Area Network, but all I see is the system name. Is there a way to determine the IP address also?
I have tried using "Get Information", but that produces no useful data.
Maybe you are looking for
-
I want to transfer music from iTunes library on my laptop which I purchased via iPhone5. Seems not possible to sync this album to my iPod because the songs/music is stored in iClouds. I don't use iCloud, how can I get my music from laptop onto my i
-
The following bug was found for Windows platform. Do anyone have the patch for LINUX- SUSE. I have got the same problem under Linux but the patch is used for Window but it isn't any pacth for Linux there. The below description ist the same as for UNI
-
Processed files not in Inbox or Outbox v11.1.2
Hi All I am fairly new to FDM but have used it before (with Essbase/Planning v9.3.1). I am now on v11.1.2 and looking to integrate to HFM but am having a few issues: 1. When I import a file it does not appear in the Inbox folder (it used to do this a
-
I have been watching video's on youtube. I have downloaded the 64 bit version of NVIDIA dds here:http://developer.nvidia.com/nvidia-texture-tools-adobe-photoshop It installed under programfiles on my C drive. I have a tiny C though, so all my program
-
Remove novell netware queue printers with script?
I can't get any script to run (wmi) that will remove a queue based printer from a workstation. What I want to do is roll out ndps with the auto install of the drivers and have zenworks or the login script have the workstation run a script that will w