Programaticaly remove(disable/enable) origin server from WebCache Cluster

Hi.
Can I programaticaly disable/enable origin server (OAS) from WebCache Cluster for safe node Up/Down ?
Thanks.

I found only one way - simulate HTTP request from web console by wget.
wc_balance.bat (windows script):
@rem Using a script: parameter ON - enable node, OFF - disable node
@rem server env
set HOST=class4.tst.lan:4000
set AUTH=ias_admin:system
@rem req env
set u_host=class4.tst.lan
set u_port=7888
set u_capacity=100
set u_numRetry=5
set u_url=/
set u_interval=10
@rem !!! line number server in the Origin Server !!!
set u_id=h2
set U1="hostname=%u_host%&port=%u_port%&routing=%1&capacity=%u_capacity%&numRetry=%u_numRetry%&URL=%u_url%&interval=%u_interval%&SSL_TYPE=NONE&ACTION=Submit&id=%u_id%&SCREEN_ID=CGA.Site.OriginServers_Edit"
set U2="webcacheadmin?SCREEN_ID=CGA.ConfigTree&ACTION=Apply+Changes"
@rem set new status
wget http://%AUTH%@%HOST%/webcacheadmin?%U1%
@rem commit changes
wget http://%AUTH%@%HOST%/webcacheadmin?%U2%
Message was edited by:
sisaev

Similar Messages

  • How do I remove the "MATRIXx License Server" from my WinXP control panel?

    I am running Windows XP and have a "MATRIXx License Server" applet that appears in my control panel. I have been unable to remove it. In the "About" window of the applet, the following information is given:
    Flexlm Version 6.0 Copyright 1996-1998
    Copyright 1996-1998
    Globetrotter Software
    San Jose, California USA
    I looked briefly at the Macrovision web site (pointed to by the globetrotter link above), but there is nothing obvious about this.

    The MATRIXx License Server is part of the MATRIXx License Manager installation and is the utility that you use to manage the MATRIXx licenses, especially if you are using floating licenses. As of MATRIXx 7.1 the LM Tools utility is used instead, and it can be accessed from the MATRIXx category on the Start Menu. I would not recommend removing the MATRIXx License Server from the Control Panel, but here is a KB from the Microsoft website that gives instructions:
    http://support.microsoft.com/default.aspx?scid=kb;en-us;261241&sd=tech
    It mentions Windows 2000, but the steps are very similar for Windows XP. Once removed you will not be able to configure the license manager until you unhide it again.
    Carl L
    National Instruments
    www.ni.com/matrixx

  • "Phantom Remnant" - How to remove a non-existing server from Snow Leopard

    I have a very strange problem that I am sure has a very simple solution, but I cannot figure it out.
    Previously, my network was centered on my Time Capsule, which, due to router settings, was at 192.168.1.1. However, since moving, the address has changed, but my Mac Pro continues to look for it as a server or device.
    It presents itself any time there is a network or filesystem request of any sort. So anytime I click on Finder (or PathFinder), click on a folder, file, connect to a server, etc., I get a window that pops up saying:
    Connection failed
    The server "192.168.1.1" may not exist or it is unavailable at this time.
    I cannot figure out where the Mac stores it's list of servers that it has used in the past. I have looked through all of my apps that cause this to happen, in their preferences, and I've searched for hours on Google to no avail. It does not happen when I am using a web browser, so I don't think it's looking for the server as a DNS service, but I am thinking it is looking for the Time Capsule as a disk server or something similar.
    Does anyone have any ideas of where else to look? I am comfortable at any level of editing or command line usage. I have set up networking dozens of times on Linux/Windows boxes, but I've not touched the details on my Mac (never had to before ). Is there a way to "flush" the hosts SL thinks exist?
    PS: My new network setup is kind of screwy, and my router to the internet is at 192.168.1.1 internally (and in /etc/resolv.conf), but it does not have a disk of any sort inside (that is accessible at least), but I still have the TC on an internal network with 10.0.1.1 as it's new address.
    TIA
    Message was edited by: ramzy.darwish

    This may help go into the Utilities folder and lunch Keychain Access.
    Make sure you click on login and make sure the category is All Items. Delete all the references to your previous network that appears on the right hand side.

  • Enable/start VNC server from terminal?

    Is it possible to start or enable VNC server from the terminal in Snow Leopard? It is currently disabled and never has been enabled.
    My graphics card must have gone out on my macbook pro (i don't have any video at all on either the internal screen or if I hook up an external monitor). I DO have ssh on and am able to login to my computer though that, but would like to be able to access it graphically until I get it repaired.

    open vnc://…
    http://www.macgeekery.com/tips/cli/settingremote_desktops_vnc_password_interminal

  • Manually removing Exchange Server from Exchange 2010 Organization

    Hi everybody, I need some help with a problem removing my last Exchange Server 2003 (the only one now, back-end) from my mixed environment, actually I have one Exchange 2010 server with all the mailboxes, I have replicated public folders and OAB and List
    Address Books to it, after that i removed my front end server from my environment but when I tryed to remove my back-end, I have the error 0x80072030 (8240) when I ran the uninstallation of Exchange from Add/remove Programs:  I read
    tons of articles but anyone helps (i have removed all mailboxes from that server), my last resource is removing the last Exchange Server 2003 from my mixed (2003/2010) organization, I have read articles about to remove Exchange from one server and to remove
    Exchange from one site, also to remove Exchange to reinstall after, but my goal is remove Exchange at all because I have Exchange Server 2010 too and finally need to migrate to Exchange 2013 so I need to clean Exchange 2003 manually from my
    organizatión.
    Please somebody knows a procedure to remove Exchange Server 2003 from Active Directory and left only Exchange 2010 to be able to migrate to Exchange 2013.
    thanks in advance.
    Felxs
    Felx

    Hi,
    Let’s begin with the following similar thread:
    http://social.technet.microsoft.com/Forums/exchange/en-US/1c10c868-9b1d-43fe-afe1-d630626e2c28/exchange-2003-removal-fails-w-error-code-0x80072030-8240-there-is-no-such-object-on-the-server?forum=exchangesvrdeploylegacy
    And we can check the following possible reasons:
    1. HomeMDBBL attribute
    http://social.technet.microsoft.com/Forums/en-US/exchangesvrmigration/thread/f0e3edd7-34e5-46b8-8061-1991aaffc30f
    2.  msExchHomeServerName attribute (all pointing to Exchange 2010 server)
    3.  the "famous" postmaster issue: 
    http://support.microsoft.com/kb/283089/en-us
    We can also try to manually remove the old Exchange Server by:
    http://support.microsoft.com/kb/833396
    Thanks,
    Angela Shi
    TechNet Community Support

  • How to Remove a bad mailbox server and add new mailbox server to DAG and copy mailboxes over

    DAG
    2- cas - VM
    2- mbx- physical blade  (mbx1, mbx2)
    5- mailbox databases
    OS: Win 2008 SP2
    Exchange 2010SP3
    Storage: Tegile Disk jbod  Luns
    We have bad disks on mbx1.  our plan is to get a new blade to replace the bad one named mbx3. we need to do this asap since we are running on 1 server without failover capability
    How can I safely:
    1. Add a new mailbox server to the DAG
    2. Copy\Move the databases from the old (passive) server to the new server
    3. Remove the bad mailbox server from DAG

    You'll want to make sure that the new server is on all the same networks that the server you are removing is on, specifically networks that are DAG networks. Also, you'll want to avoid using Windows Network Load Balancing on the new mailbox server
    since it will be part of the DAG. Also, just as you did with the current DAG members, ensure that the disk drive letters match the existing disks that hold databases & logs. Other than that, it's as simple as you have stated.
    1.) Once you have the new mbx server built & configured with the mailbox role, you can use:
    Get-DatabaseAvailabilityGroup "Name of DAG" | Add-DatabaseAvailabilityGroupServer "Name of New MBX Server"
    2.) Add the databases to the new DAG member:
    Add-MailboxDatabaseCopy "name of database" -MailboxServer "name of new DAG member" -ActivationPreference "[you decide based on the server replacing mbx1]"
    3.) Once your databases are Mounted and/or Healthy on the new DAG member, you'll want to remove the databases from the "bad" server (make sure they are all passive on the server first):
    Get-MailboxDatabaseCopy "SERVER\Database" | Remove-MailboxDatabaseCopy
    4.) Once all of the databases are removed from the "bad" DAG member, remove him from the DAG:
    Get-DatabaseAvailabilityGroup "Name of DAG" | Remove-DatabaseAvailabilityGroupServer "Name of old MBX Server"
    Before you pull the blade, uninstall Exchange Server gracefully, as this will save you AD & Exchange headaches later on.
    Petri has a pretty good GUI walk-through for some of the above steps here:
    How to Configure Database Availability Group for Exchange Server 2010
    Woody Colling, MCITP Exchange 2010
    --The incentive for the experts to answer posts is to get their replies marked as helpful, or as the answer to our questions, help them help us, mark posts accordingly--

  • Remove Enable, Disable and Delete columns from searchUser.do

    Hello,
    What jsp form do I need to modify to remove the enable, disable and delete columns from the searchUser.do page? I edited tjspSearchUserResultsTiles.jsp but that didn't seem to do it.
    Thanks

    Hi,
    TableGenerator.jsp is the general jsp so you shouldn't modify it.You need to extend tcSearchUserAction.java class aand create a custom class.You need to over ride populateColumnHeadings and populateTableData.
    I won't suggest this approach until you are very much familiar with struts development and oim classes.
    Regards
    Nitesh

  • The asp twosafe mode the return server from disable to re-enabled condition

    our two node as the one active standby pair.the rerurn server is disabled.
    get the result by
    Command> call TTREPSYNCSUBSCRIBERSTATUS('ocedata','S1ZSOCE');
    < 1 >
    During running the return server is automatic re-enabled?
    the replication shceme as follows:
    create active standby pair
    OCEDATA on "S2TEST", OCEDATA on "S1TEST" return twosafe
    store OCEDATA on "S2TEST"
    disable return all 1
    durable commit off
    resume return 0
    local commit action commit
    return services off when stopped
    store OCEDATA on "S1TEST"
    disable return all 1
    durable commit off
    resume return 0
    local commit action commit
    return services off when stopped
    exclude table
    exclude cache group
    exclude sequence
    as i know from diabled return server to re-enabled return server is restart the active replication agent.
    Edited by: user3288537 on 2010-7-26 上午1:44
    Edited by: user3288537 on 2010-7-26 上午1:44

    You should specify a sensible value for RESUME RETURN. Maybe 100. using 0 prevents return services ever being resumed automatically.
    Chris

  • Remove X-Smtp-Server from Header in Mail

    I'm having an issue with Mail (7.3) leaking my personal email address in outgoing email.
    Background:
    I have a grandfathered free google apps account and use [email protected] to handle my personal email. Under this same user in google apps, I also have an alias setup using the name [email protected] (I use the alias for non-personal correspondence). Per a discussion over on google's forums (thanks Warren Chang and Goldy Arora) when I set up the alias under the 'Accounts' tab on google, I deselected 'Treat as an alias' and selected 'Send through mydomain.com SMTP servers' for outgoing mail. I then filled in the SMTP server settings with 'smtp.gmail.com' instead of 'smtp.mydomain.com'. For username and password I used [email protected] and its corresponding password.
    After doing this when I send email using the google web interface and [email protected], everything goes as desired and the following is an example of a header on an outgoing message (notice [email protected] does not appear):
    MIME-Version: 1.0
    Received: by XXX.XXX.XXX.XXX with HTTP; Fri, 5 Sep 2014 19:23:46 -0700 (PDT)
    X-Originating-IP: [YYY.YYY.YYY.YYY]
    Date: Fri, 5 Sep 2014 19:23:46 -0700
    Delivered-To: [email protected]
    Message-ID: <[email protected]>
    Subject: Header Test Google
    From: My Name <[email protected]>
    To: Recipient Name <[email protected]>
    Content-Type: multipart/alternative; boundary=STRING
    --STRING
    Content-Type: text/plain; charset=UTF-8
    --STRING
    Content-Type: text/html; charset=UTF-8
    <div dir="ltr"><br></div>
    --STRING--
    In Apple's Mail I set up a Google IMAP account with the following settings:
    Email Address: [email protected], [email protected]
    Incoming Mail Server: imap.gmail.com
    Username: [email protected]
    Outgoing Mail Server: smtp.gmail.com
    Username: [email protected]
    Problem:
    When I compose an email in Apple Mail, select [email protected] in the 'From' dropdown and send the email, a look at the header shows this:
    From: My Name <[email protected]>
    Content-Type: text/plain
    Content-Transfer-Encoding: 7bit
    X-Smtp-Server: smtp.gmail.com:[email protected]
    Subject: Header Test Apple Mail
    Message-Id: <[email protected]>
    X-Universally-Unique-Identifier: STRING
    Date: Fri, 5 Sep 2014 19:22:50 -0700
    To: My Name <[email protected]>
    Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
    This is not ideal because it is leaking my personal email address to anyone I send an email to using [email protected].
    I also have an alias set up in Mail on my iOS devices using the generic IMAP account option under 'Mail, Contacts, Calendars' and have found the desired behavior in sent emails:
    Return-Path: <[email protected]>
    Received: from [192.168.0.3] (pool-YYY-YYY-YYY-YYY.lsanca.fios.verizon.net. [YYY.YYY.YYY.YYY])
            by mx.google.com with ESMTPSA id STRING
            for <[email protected]>
            (version=TLSv1 cipher=STRING);
            Fri, 05 Sep 2014 19:32:53 -0700 (PDT)
    From: My Name <[email protected]>
    Content-Type: text/plain;
      charset=us-ascii
    Content-Transfer-Encoding: 7bit
    Mime-Version: 1.0 (1.0)
    Subject: Header Test iOS
    Message-Id: <[email protected]>
    Date: Fri, 5 Sep 2014 19:32:53 -0700
    To: My Name <[email protected]>
    X-Mailer: iPhone Mail (11D257)
    Are there any options for removing the X-Smtp-Server line in the header from emails sent from Apple Mail so that my personal email isn't exposed? Or is there a better way to configure the account in Mail? I'd rather use Apple's Mail client across the board and not use Thunderbird or another mail client that might be more configurable.
    Thanks in advance for any insight.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • Disable set as background from right click in internet explorer 8,9,10,11 by GPO in Win Serv 2008 R2

    Hi.
    How to disable ''set as background'' from right click in internet explorer 8,9,10,11 by GPO in Win Serv 2008 R2.
    People in my domain can set their background by right click in the pics on their IE, I enabled by GPO a wallpaper by default in ''Administrative Templates > Desktop > Desktop > Desktop Wallpaper''  and I enable too the  ''Administrative Templates
    > Control Panel > Personalization > Prevent changing desktop background'' at login people have the corporative Desktop but they can change by IE. What can I do? thanks.
    <u5:p></u5:p>

    Hi,
    I test this issue, actually, in IE 11, the option "set as backgroud" is grayed out after I applied policy  Administrative Templates > Control Panel > Personalization > Prevent changing desktop background, but seems not suitable for
    other versions of IE.
    You can try other solutions listed in the similiar thread
    How to disable the "Set as Desktop background"?<o:p></o:p>
    http://social.technet.microsoft.com/Forums/en-US/889447df-8452-44b4-bcdf-bf217b75ce6f/how-to-disable-the-set-as-desktop-background?forum=windowssteadystate
    Regards<o:p></o:p>
    Yolanda
    TechNet Community Support

  • Trouble removing disabled jobs from oracle scheduler.

    Hi,
    When I run the query :-
    select job_name,job_subname,program_name,enabled,auto_drop,state
    from all_SCHEDULER_JOBS
    where enabled = 'FALSE'
    and state = 'RUNNING'
    I get the following results :-
    job_name     job_subname     program_name     enabled     auto_drop     state
    DAILY_LOAD     STEP30     EQUIP_STATUS_EXECUTE_SCRIPT     FALSE     TRUE     RUNNING
    WEEKLY_CHAIN_IMMEDIATE_JOB     STEP30_1     MONITOR_EXECUTE_SCRIPT     FALSE     TRUE     RUNNING
    There are no entries on the 'ALL_SCHEDULER_RUNNING_CHAINS' table for these jobs.
    How can I remove these jobs that are not disabled but have a state of 'running'.

    Hi DomBrooks,
    When I try :-
    begin
    dbms_scheduler.stop_job(
    'WEEKLY_CHAIN_IMMEDIATE_JOB',
    TRUE
    end;
    I get :-
    ORA-27475: "XXXXX.WEEKLY_CHAIN_IMMEDIATE_JOB" must be a job
    ORA-06512: at "SYS.DBMS_ISCHED", line 164
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 483
    ORA-06512: at line 2
    I get the same when I try :-
    BEGIN
    DBMS_SCHEDULER.DROP_JOB (
    job_name => 'WEEKLY_CHAIN_IMMEDIATE_JOB');
    END;
    When I try :-
    select job, log_user, what from user_jobs;
    I get no rows returned.
    From what I can tell it seems the oracle scheduler does not think the job exist even though it shows up as 'disabled' in the all_scheduler_jobs query.
    I am wondering if a db recycle might fix the problem or if you have any other ideas?
    I really appreciate your help.

  • Webcache origin server auto up and down

    hi all,
    I've configure 2 node and try to perform load balance within each other. i notice from origin server statistic, each of the 2 node keep on restarting by itself. The node alive with the longest time, the load balance will transfer the connection the the node until the node disconnected.
    how can i disable the node by restart itself? i want to force 80% of the connection to node 2.
    thank you

    Hi,
    Web Cache doesn't restart itself without a reason. Please try to check why this is happening. Check logs in $OH/opmn/logs
    Regards,
    Martin

  • HT3842 Does iTunes store the original music file and copy it into a separate folder? If i delete the original file from finder will it remove it from my iTunes library?

    Hi, on my last PC when transferring music to my new MacBook Pro i noticed i had about 6 duplicated of each song in every album i took hours in removing them.
    I Just wondered Does iTunes store the original music file and then copy it into a separate folder?
    If i delete the original file from finder will it remove it from my iTunes library or vice versa. I didnt want to lose any music like i have some how managed to on my old computer.
    Or should i keep both files of it in the Music folder and also iTunes library folder?
    Which is best ?

    DrewPowell wrote:
    I Just wondered Does iTunes store the original music file and then copy it into a separate folder?
    It does both at the same time.
    When you add files to iTunes, it copies them into /Music/iTunes/iTunes media/ folder. The original file remains where it was.
    You can drag a file to /Music/iTunes/iTunes media/Automatically add to iTunes/ folder.
    This will add to iTunes and move it to /Music/iTunes/iTunes media/.
    I keep a shortcut of this folder on my desktop then simply drag files to the shortcut to add to iTunes.
    Then there are no "extra" files around.

  • What should be done in certmap.conf for 2-way SSL support from a standalone Java application to an SSL enabled LDAP Server

    To support certficate based client authentication using 2-way SSL from a standalone java application which uses JNDI and JSSE1.0.2 to connect to an SSL enabled LDAP Server how do we configure the certmap.conf?Is there any additional setup required at the LDAP Server side apart from enablinf SSL with the option"Required Client Authentication" enabled.The 2 way SSL handshake goes through but the access log file (After configuring the certmap.conf for the issuer DN of the client certficate etc..)shows SSL failed to LDAP DN?But inspite of this access log error the Java client does get an SSL Connection object with which it is able to connect to the LDAP.IS the certmap.conf file being looked up by the LDAP Server at all?

    have you out.flush() and out.close() before you call connection.getInputStream()?

  • Removing mailbox server from Exchange 2010 DAG - Node not fully cleaned up

    Hi,
    We are in the process of decommissioning some old Exchange 2010 servers. I have just attempted to remove one of our mailbox servers and have received a number of errors, related to its removal from the DAG.
    I have already removed the Public Folder replicas and all mailbox database copies. I then tried to evict the server from the DAG and received the following warning:
    I then ran the command that was recommended, from another server and in an administrative command prompt:
    I have looked in this log on both the server I ran the command on, a CAS server, and the mailbox server itself and can see no evidence of this error 2 that is listed here.
    If I run the Powershell command to look at the DAG I cannot see it there any more. I am assuming that this error message might only be an issue if I was planning on re-using this server somewhere else in Exchange or perhaps adding this server to another
    DAG. But I just want to decommission it.
    Can anyone put my mind at rest as to whether this is a genuine concern or not. If not my next step is to uninstall Exchange 2010 from this server and turn it off.

    Hi Belinda,
    I get the following:
    [PS] C:\Windows\system32>Get-DatabaseAvailabilityGroup
    Name             Member Servers                                                         
    Operational Servers
    DAG01            {WSR-EX-01, WSR-EX-101, WSR21}
    It doesn't look like that server is part of the DAG any more as far as I can see. I just can't explain that error message reported from the cluster command. As far as I can see the server is isolated. I already removed its database copies as a pre-requisite
    before removing it from the DAG as per this guide:
    http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_27039933.html
    I found a nice little script that gave reports on your Public Folder configuration and it highlighted that some of our folders were not being replicated properly across our mailbox servers. This helped me in removing these services from the server.
    It is currently doing nothing at this time as far as Exchange Services are concerned.

Maybe you are looking for

  • Questions about System Requirements for Adobe Air programs

         Earlier today I asked someone who runs Tweetdeck if they knew what the system requirements were for running Tweetdeck on my desktop (Windows) they gave me a link here: http://www.adobe.com/products/air/systemreqs/ and I found this: Windows 2.33G

  • Directory path not working in CS6

    I have an extension that I am updating for Dreamweaver CS6. Here's the link on Adobe: http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=2430523 The gist is during install it provides the user with the option select a custom

  • ALC-DSC-005-000: com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable

    We've created a process with an input parameter (String) and an output parameter. There is only one "Query Single Row" node. The SQL we've put has been tested successfully. But when the client Java program invokes it, it got the exception of "ALC-DSC

  • ASM file layout report

    is there a way to report how ASM layedout is datafile on which disks? I understand that asm strips its datafiles and evenly distributes the file (1mb) to its disks. I would like to have a report on this distribution ratio. any help would be appreciat

  • Problem in report 10g(CA utility)

    Hi I am using forms 10g developer version Forms and reports [32 Bit] Version 10.1.2.0.2 (Production) on Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production In one of my report, when pages of report create more than 70 pages then it