Global keepalive type script
I have a script that will be used for more than one service and am trying to configure a global keepalive using type script. The command is accepted by the CLI without any errors, but the configuration doesn't change. I can configure all other keepalive types, but not script. The CSS 11501 is running 8.10.3.01.
Posted message too quickly. Found the bug.
CSCsi51773 Bug Details
Product
Cisco CSS 11000 Series Content Services Switches
Technology
1st Found-In
8.10(3.1)
8.20(1.1)
Fixed-In
8.20(1.2)S
8.10(3.2)S
8.20(2.1)
8.10(4.1)
Component(s)
keepalives
Regression
N
Similar Messages
-
IP address on global keepalive
CSS configuration with keepalive named set an IP address to the global keepalive.
Into the Cisco document we can read
"Configuring a Global Keepalive IP Address
The CSS sends global keepalives to a service that monitors the state of services assigned to it. Use the ip address command to specify the IP address where the keepalive messages are sent."
This means that we need a dedicated external service to monitor the real services?!
Best Regards
follow the URL :
http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/css11500series/v7.40/configuration/content_lb/guideLet's say you have a server that runs HTTP and FTP.
You create the following services
service A-http
service A-ftp
They will have their own separate keepalive.
NO global keepalive.
But then you create a generic service for server A.
ie:
service A-generic
ip x.x.x.x
active
And you want this service to be alive when the http port is alive.
You can simply add 'keepalive type http'.
But you already have another service sending http keepalive to that server.
So, if you add 'keepalive type http' to this new service, the CSS will send 2 probes for the same service.
So, to avoid sending 2 probes, you create a GLOBAL keepalive.
This global keepalive is configured with the ip address of the server and keepalive type http.
You then assign this global keepalive to the 2 services that need it.
This is as simple as that.
You only need global keepalive if 2 or more services use the same keepalive.
The ip address is the one used by the 2 services.
Gilles. -
Who knows a Std. global data type for vendor bank details (ESR modelling) ?
Hi,
we are going to design some simple partner in ESR to be implemented in different backends using SAp global data types.
What i cannot find anywhere in there is a structure containing the standard fields of customer / vendor bank details. As this is a baisc to partner master - i hope anyone of you has done this and knows it.
The funny thing thing is, there exists a type called "BusinessPartnerBankDetailsID",
which is only used as reference in payment transactions but nowhere in bank details
Does anybody know a GDT to maintain BusinessPartnerBankDetails?
Thanks in advance & br,No solution -closed
-
Cannot create a date in cfformitem type="script"
I tried to create date variables using "new Date" in
cfformitem type="script" and got an error about the "new" reserver
word. Therefore, I removed the "new" and tested the script. It
worked with the wrong result because the todayDate and selectedDate
in the CheckDate2 were the same. By some reason, it ignored all the
input parameters. However, everything worked fine in the
cfsavecontent.
Anyone has idea? Thanks in advance.
Here is the script:
<cfsavecontent variable="CheckDate1">
var todayDate = new Date(myForm.todayYear,
myForm.todayMonth, myForm.todayDate, 0, 0, 0, 0);
var selectedDate = new Date(
myForm.select_date1.substr(6, 4),
myForm.select_date1.substr(0, 2) - 1,
myForm.select_date1.substr(3, 2),
0, 0, 0, 0
alert("Today's Date in the cfsavecontent:\n" + todayDate +
"\n\n" +
"Seleced Date in the cfsavecontent:\n" + selectedDate);
if (selectedDate > todayDate)
alert("You cannot select a date greater than today's date");
else
alert("You are ok.");
</cfsavecontent>
<cfform name="myForm" format="Flash">
<cfformitem type="script">
function CheckDate2():Void
var todayDate = Date(myForm.todayYear, myForm.todayMonth,
myForm.todayDate, 0, 0, 0, 0);
var selectedDate = Date(
myForm.select_date2.substr(6, 4),
myForm.select_date2.substr(0, 2) - 1,
myForm.select_date2.substr(3, 2),
0, 0, 0, 0
alert("Today's Date in the cfformitem:\n" + todayDate +
"\n\n" +
"Seleced Date in the cfformitem:\n" + selectedDate);
if (selectedDate > todayDate)
alert("You cannot select a date greater than today's date");
else
alert("You are ok.");
</cfformitem>
<CFCALENDAR name="select_date1" height="150" width="310"
onchange="#CheckDate1#">
<CFCALENDAR name="select_date2" height="150" width="310"
onchange="CheckDate2()">
<cfinput type="text" name="todayYear"
value="#DateFormat(Now(), 'yyyy')#" label="todayYear">
<cfinput type="text" name="todayMonth"
value="#DateFormat(Now(), 'm') - 1#" label="todayMonth">
<cfinput type="text" name="todayDate"
value="#DateFormat(Now(), 'd')#" label="todayDate">
</cfform>> I am using CF 7.0.2.
Good. That's that sorted.
> The problem is the cfformitem does not allow
“new” or other reserved words
As I'm sure you're already aware, it is so by design. For
security reasons, the Coldfusion Flash form compiler does not allow
the creation of objects in an event handler. It therefore prohibits
the use of the "new" keyword in an event handler script. In fact,
It may not even allow its occurrence in a comment!
> When I put the function in a .as file and include it in the
CFM file or use
> cfsavecontent to store the as function, the CF compiler
accepts the reserved
> word “new” and the script works fine.
It's a hack, one design gremlin that got away. In programming
as in nature there are (un)lucky accidents.
> the Date constructor ignores the input parameters and
creates the
> current system date in the date objects.
We should be glad it even gets that far. Without the "new"
keyword, it should not be possible to create a new Date object. The
flash compiler encounters a familiar constructor pattern, and
simply makes do by creating the default date of today, right down
to hours, minutes and seconds. Your arguments are ignored.
Thus, the following will all return the same result, namely,
the date of today.
var todayDate = Date(myForm.todayYear, myForm.todayMonth,
myForm.todayDate, 0, 0, 0, 0);
var todayDate = Date(myForm.todayYear, myForm.todayMonth,
myForm.todayDate);
var todayDate = Date(0);
var todayDate = Date(100000000000);
var todayDate = Date();
Even then, the todayDate variable doesn't behave properly
like a Date object. For example, function calls like
todayDate.getDate() fail. Comparing dates also fails. That is
possibly because the machine cannot cast the todayDate variable.
However, here is an approach that does what you want.
<cfformitem type="script">
function CheckDate2() {
var todayDate:Date = Date();
var todayDateInMillis =
Date.UTC(myForm.todayYear,myForm.todayMonth,myForm.todayDate);
var selected_date:Date = select_date2.selectedDate;
var selected_dateInMillis = selected_date.getTime();
alert("Today's Date from cfformitem tag :\n" + todayDate +
"\n\n" + "Selected Date from cfformitem tag:\n" + selected_date);
if (selected_dateInMillis > todayDateInMillis) alert("You
cannot select a date greater than today's date");
else
alert("You are ok.");
</cfformitem> -
How to refer global simple types in another schema?
Hello All,
Any help would be greatly appreciated. My problem is , I have a global.xsd schema which declare simple types such as
<xsd:simpleType name="DecimalMin1Max14Places2Type">
<xsd:restriction base="xsd:decimal">
<xsd:totalDigits value="14"/>
<xsd:fractionDigits value="2"/>
</xsd:restriction>
</xsd:simpleType>
I am referring to this type in my another schema forms.xsd. It is used as an attribute to an element. for example an element in forms.xsd is
<xsd:element name="BudgetFourthYearAmount" type="glob:DecimalMin1Max14Places2Type"/>
where glob is the prefix associated with global.xsd
I am sucessfully able to register global.xsd in xdb, but when i try to register forms.xsd, i get sql mapping error. Oracle is able to resolve all the global elements from global.xsd , but it cannot resolve the global simple types i declared.
My question is how i can refer global simple types declared in one xsd and use them in another xsd?
Thank you,
ManinderUsing an include statement in forms.xsd to import in the global.xsd
<xs:include schemaLocation="Global.xsd"/>
If Global.xsd was the shcema_url that you registered the first xsd to.
Regards
Coby -
Creating abap program to develop and activate a global table type and global structure.
Hi friends,
I want to create and activate a global structure and global table type by coding in ABAP editor only. so can I do that anyhow.
Please help me.
Thanks in advance.Thanks guys for your fruitful replies, as most of you asked the main purpose of my question, the answer is as follows:
in fact my purpose to do so is to create a function module that can fetch data dynamically from different database tables based on the codings in different abap program.
for example: in one abap program i am coding as follows:
tables: kna1.
types: begin of itab,
kunnr type kna1-kunnr,
name1 type kna1-name1,
end of itab.
data: it_tab type standard table of itab,
wa_tab type itab.
similarly in other program i am coding as follows:
tables: vbrp.
types: begin of itab,
posnr type vbrp-posnr,
matnr type vbrp-matnr,
arktx type vbrp-arktx,
end of itab.
data: it_tab type standard table of itab,
wa_tab type itab.
so now for both programs i want to call the same function module and fetch data as required in relative programs as mentioned above. in that case how to create that function module? -
Standard driver programs,output type ,scripts,smartforms for SD reports
hi experts,
Can any one list all the standard driver programs,output types ,scripts,smartforms for SD reports.
maniHi,
Check this out
NACE
You can track the form and the print program used for that form
The Tcode NACE is used to link the Standard SAP forms (SCRIPTFORM or SMARTFORM) or the customized form or the new form to its respective print programs. Also the output types, Form entry are linked with their forms and print programs. In short term, i can tell u that configuration or customization of forms to print programs, assigning output types, form entry to the forms are done using this Tcode.
NACE is used to create output type while creating the output type you will mention forms, and driver program.
that will be maintained in the table TNAPR.if you create the output type using NACE then it will be automatically visible in table NAST and TNAPR.
so check in NAST, TNAPR table
http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1989fe43b111d1896f0000e8322d00/frameset.htm
Condition records in NACE?
and
NACE is used for message control customizing.
Take a look at the following link
http://help.sap.com/saphelp_nw04/helpdata/en/c8/198a1843b111d1896f0000e8322d00/frameset.htm
and also
NACE is used for message control customizing.
Take a look at the following link
http://help.sap.com/saphelp_nw04/helpdata/en/c8/198a1843b111d1896f0000e8322d00/frameset.htm
If it helps reward with points.. -
Actionscript used in cfsavecontent vs cfformitem (type="script")
I'm still trying to grasp why cfsavecontent is oft used in
conjunction with cf flash rich forms. What would be the main
impetus for using actionscript contained in cfsavecontent vs. using
actionscript contained in the form (<cfformitem
type="script">). Just trying to grasp this essential issue and
can't seem to find it explained anywhere.
Thanks!!!
Tony PatchTony,
My guess is that they had their apps written before the 7.01
updater which added the type="script" attribute for cfformitem.
Everything I have seen points to using the new functionality. Not a
very "geek" answer.
Steve -
Hi All,
I am not able access a variable in one widow with another window. What i am doing is i am declaring and assigning value to a variable in one window but printing in next window, the the value is not getting printed.
So. how can i declare a global variable in script?
by
SAPPIENhi sappin,
can u declare the variable in main window.
bcz mainwindow is continuoous so it's print the variable. when ever u call this variable into another page.
then it's printed.
regarding,
kartik. -
CSS 11150 - "Keepalive type http" doesn't work.
I've two webservers, A and B, sharing the same webdata on a NetApp filer. A CSS 11150 (5.033) have a content rule, C, with a VIP registred in internet DNS.
I've added A and B to C. When using default "Keep alive type (ICMP)" on services the site is fully functional. When I disable the site on webserver A, clients attached to this server get errors and are not redirected to the B webserver. This is because the CSS doesn't check the for "Keepalive type http".
The CSS thinks that A is online because it is answering for ping. This solution is not good so I tried to change the "Keepalive type" to http. This is better when something is wrong with one of the load-balanced webservers, but when activating "Keepalive type http" the CSS marks A and B down and site is offline.
Is something wrong with my configuration???
service lbws1.kov
ip address xx.xx.193.25
protocol tcp
port 80
active
service lbws2.kov
ip address xx.xx.193.27
port 80
protocol tcp
active
owner KOV
content D
protocol tcp
add service lbws1.kov
add service lbws2.kov
balance aca
port 80
advanced-balance sticky-srcip-dstport
vip address xx.xx.193.245
active
content C
add service lbws1.kov
add service lbws2.kov
protocol tcp
port 80
balance aca
advanced-balance sticky-srcip-dstport
vip address xx.xx.193.28
activeBy default the CSS will attempt to read http:///index.html
It looks like that may not exist. Try to access the index page yourself from each of the services. -
New keepassx (0.4.0-1) global auto-type key not working with Win-key?
After system upgrade in new version of keepassx (0.4.0-1) stop working global auto-type key set previously to Win+K stop working. I tried to set it once more (menu Edit->Settings->Advanced) but combinations with Win key are not recognised anymore. I am just curious if anybody have same problem. Anyway, I happily downgraded back to keepassx 0.3.4-1 .
I found it at http://archlinux.alouche.net, got there from Downgrade packages. Direct links: i686, amd64.
-
Conflict between local and global step types
I'm making some changfes in some previous programmed Step Types and I'm having conflicts. Is it posible to make global Step Types? I have some sequences that have another step type with the same name as the global and it appears the Type Conflict Dialog box. I'd like to use in all my sequences always global Step Types. Can I do this with TestStand 2.0.1?
Hi again,
For both Step Types A and B, I've inserted an "Edit SubStep" (inside Tab Substeps in the Step Type Properties). Those associated programs are written in LV. That means that when I insert one of my steps types in a sequence, if I click the right bottom, I have the possibility to make changes in this Edit VI and save those parameters in TestStand. I attach you the two Step Types that have the conflict, maybe you can see the problem. Have a nice weekend!
Angel
Attachments:
PXI-6025E_Digital_IO.zip 593 KB
Tilt_Adjustment_Service.zip 283 KB -
I failed to use any Powershell script in Global Conditions with error 87D00327. The script is signed and tested without problem. Setting execution policy doesn't change the result at all.
Error message as below:
In-line script returned error output: File C:\Windows\CCM\SystemTemp\e7001c04-3966-46a7-9622-26c36d9c45de.ps1 cannot
be loaded. The file C:\Windows\CCM\SystemTemp\e7001c04-3966-46a7-9622-26c36d9c4
5de.ps1 is not digitally signed. The script will not execute on the system. Ple
ase see "get-help about_signing" for more details..
At line:1 char:2
+ & <<<< 'C:\Windows\CCM\SystemTemp\e7001c04-3966-46a7-9622-26c36d9c45de.ps1'
+ CategoryInfo : NotSpecified: (:) [], PSSecurityException
+ FullyQualifiedErrorId : RuntimeException
ScriptProvider 6/23/2014 1:45:06 PM 2516 (0x09D4)
ScriptProvider::CreateInstanceEnumAsync - Script Execution Returned :1, Error Message:File C:\Windows\CCM\SystemTemp\e7001c04-3966-46a7-9622-26c36d9c45de.ps1 cannot
be loaded. The file C:\Windows\CCM\SystemTemp\e7001c04-3966-46a7-9622-26c36d9c4
5de.ps1 is not digitally signed. The script will not execute on the system. Ple
ase see "get-help about_signing" for more details..
At line:1 char:2
+ & <<<< 'C:\Windows\CCM\SystemTemp\e7001c04-3966-46a7-9622-26c36d9c45de.ps1'
+ CategoryInfo : NotSpecified: (:) [], PSSecurityException
+ FullyQualifiedErrorId : RuntimeException
ScriptProvider 6/23/2014 1:45:06 PM 2516 (0x09D4)
Failed in discovering instance.
Script is not signed (Error: 87D00327; Source: CCM) ScriptProvider 6/23/2014 1:45:06 PM 2516 (0x09D4)
Failed to do HandleExecQueryAsync().
Script is not signed (Error: 87D00327; Source: CCM) ScriptProvider 6/23/2014 1:45:06 PM 2516 (0x09D4)
Failed to process CScriptProvider::GExecQueryAsync.
Script is not signed (Error: 87D00327; Source: CCM) ScriptProvider 6/23/2014 1:45:06 PM 2516 (0x09D4)
I can't figure out a way to capture the temp script file mentioned in the error message so I can't verify the script locally.
Any help will be appreciated.
Sean
Regards, SeanHi, Sean.
There was a product issue with signed PowerShell detection method scripts that has been fixed in R2 CU2. I just noticed it's not mentioned in the KB article for CU2. I'm not sure what happened here but I'll have somebody look into this.
Anyway, there's a couple of caveats to consider regarding this fix in your scenario. Firstly if you're creating a PowerShell script detection method you must not copy/paste the script text -- you need to "Open" it. Secondly, if you have any previously created
PowerShell script detection methods with signed scripts, you will need to re-add the detection script (again using "Open"). Finally, you must use an administrator console that's been updated to CU2 and a client that's been updated to CU2 for this fix to be
effective.
I hope this helps resolve the issue for you.
Check out my Configuration Manager blog at http://aka.ms/ameltzer -
Where are config.py type scripts located for 11g?
Not sure if this is the right forum, but I just installed OEPE which includes the WLS 10.3 server, and I can't seem to find the config.py and config.properties scripts used to build servers. Where are these located now or what do I need to install? Using the package: oepe (dash) helios (dash) installer (dash) 11.1.1.7.0.201101271036-win32.exe.
Yes, correct, I am trying to set up a new domain. So it looks like there might be a different process than the old config.py? This is the error I get:
C:\Oracle\Middleware\wlserver_10.3\common\bin>java weblogic.WLST config.py
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Problem invoking WLST - java.io.FileNotFoundException: C:\Oracle\Middleware\wlserver_10.3\common\bin\config.py (The system cannot find the file specif
ied)
C:\Oracle\Middleware\wlserver_10.3\common\bin> -
HI ALL,
I am creating a global variable(node) and it has 3 attributes say acc-no,bank-key and bank-country......now wat '" type" should be associated with it?hi urbashi.........
you can give any standard type according to your requirement.
for ex:
account : racct or you can also gon with type string for all values. but using string sometimes might throw error while using select queries.
---regards,
alex b justin
Maybe you are looking for
-
Override the unique record of the table
friends i am having a record in the table , and always i want the latest value in the table. the record is with 4 fields. mandt primary key numb primary key username date now in the program i read the numb from the ztable and after reading that i wa
-
When I click on Bookmarks no History folder appears. How do I fix Safari so it does?
When I select the Bookmarks tab no History option is present. How do I then access my browsing history?
-
Hi Experts, Do someone know the way to expand the rows of dynamic table to the end of its content area, and that in any case ? For example, the table could content only one row with data, but the table should continue to expand until the end of the p
-
Revision: 5008 Author: [email protected] Date: 2009-02-18 20:26:21 -0800 (Wed, 18 Feb 2009) Log Message: Fix for mx.accessibility.AccImpl.as causing a java.io.FileNotFoundException exception in ASDoc QE Notes: None. Doc Notes: None. Bugs: SDK-19340 t
-
Difference between Lightroom and PSE?
I am a long time user of PSE, and I have just been told by a friend about Lightroom. Can someone please help me to understand the difference(s) between these two products?