Add an instance to a cluster
Hi,
I tried to add an new wls instance to a cluster, but after I added the new one,
all the triffic goes to the new one. I have to restart the old instances. After
I restart everything is fine. I am in wls7.0sp1 with IIS proxy. Thanks
The IIS plug-in is supposed to do round-robin. I assume your settings have other
servers and if so it sounds like a bug. LEt's know what you hear.
S
"Jen" <[email protected]> wrote:
>
>Hi,
>
>I tried to add an new wls instance to a cluster, but after I added the
>new one,
>all the triffic goes to the new one. I have to restart the old instances.
>After
>I restart everything is fine. I am in wls7.0sp1 with IIS proxy. Thanks
Similar Messages
-
Unable to add remote instance to a cluster
Hello,
I’m having an issue with setting up Cold Fusion 8 as a
remote instance cluster. I’m unable to get the remote
instance shown in the Cluster Manager.
I have registered the remote instance with the appropriate
instance name. It picks up the C:\JRun4/servers/cfusion
but it does not show the restart remote CF service button or
pause the remote CF instance or stop.
I followed the instructions which were here:
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=clustering_6.html
The remote Cold Fusion system used is version
ColdFusion 8 Update 1 (8.0.1)
Release Date: April 03, 2008
This is running on Windows 2000 Server standard
This is a workgroup server
Has an internal IP address and an external one
Jrun4
This currently runs a site that can be accessed
The Cluster controlled is running on
ColdFusion 8 CF Hotfix 3
This is running on Windows 2000 Server standard
This is a workgroup server.
Jrun4
Have an internal IP address and an external one
This currently runs a site that can be accessed.
Both servers are licensed to the Enterprise level
When I click on the Coldfusion administrator to open the
remote instance CF Administrator the ‘404 error’
message was shown.
i.e. (
http://hostname:8300/CFIDE/administrator).
I have since copied the CFIDE into this location
C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\CFIDE
When I click on the Coldfusion administrator on the remote
instance this will now display a listing of the remote CFIDE
directory but not the CF Administrator page!
When I change the CFIDE directory to CFIDE1 and change the
URL for the CF Administrator it will show; very strange.
I have restarted both Coldfusion instances but I cannot get
the remote instance to appear in the Cluster Manager so I can
configure this as a Load Balancing Cluster
I have looked at the security properties in this file:
although both servers are on the same subnet.
In the ColdFusion8/runtime/lib/security.properties file by
default, the jrun.subnet.restriction property is set to the value
255.255.255.0, which limits JNDI access to the 255.255.255.0
subnet. You can use jrun.trusted.hosts on its own or in combination
with jrun.subnet.restriction to allow JNDI access to a
comma-separated list of IP addresses (recommended) or host names.
Any help in problem solving this issue, advise and pointers
would be great.
Kind Regards
Chris BlackmoreI'm having exactly the same problem on multiple machines, both Intel octocore and G5 quadcore. I'm running 10.5.4 with all the latest updates on all machines. Everything was working, now we can't drag any of the machines into a cluster to make a new one. Like you say, they only appear if Managed is unchecked (on the machine providing the QMaster service), and then are still greyed out, and not draggable. And you can't save a cluster without specifying the cluster controller, which you can't because nothing can be dragged in. The nodes appear to be unlocked (although the icon isn't very obvious), but even if they're locked, there is no password entry that pops up when clicked, and none have a password set in their QMaster System Preferences.
To test, I did a totally 100% fresh pristine Leopard install and a dual G5, ran all OS upgrades, then did a fresh FCP Studio 2 install, and ran upgrades again and repaired permissions just for good measure. No dice. Exactly the same problem as on the other machines. This is a brand new install and it doesn't work!
Very frustrating problem and I can't believe more people aren't seeing it. Totally fresh install, what else can be done? Well, time to call AppleCare, I guess. -
Is there a way to programmatically add datasources to multiple instance in a cluster?
Hi,
I am wondering whether it is possible to loop through the instances in a cluster and add the same datasource to each using the setMSSQL function from cfide.adminapi.datasource.cfc.
We are running CF9.01 on Windows Server 2008 r2 (64 Bit).
If you can't do this, what would be the best way to achieve this without having to log in to each administrator and add them manually?
Thanks in advance,
MarkYou can't add datasources across a cluster with the Server Administrator? That surprises me.
Honestly, I have never done it, but according to Adobe's feature page, that is one thing it does:
http://www.adobe.com/products/coldfusion/features/
"You can create data sources, schedule tasks, apply hot fixes, clear caches, and compare settings across a cluster of ColdFusion servers."
According tot he docs here:
http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSfd7453be0f56bba4-2a6b48f122a6582c7f-7ff e.html
You do need to register each instance as a server, but once that is done, you shouldn't need to worry about it again.
Sorry if that's not the answer you're looking for. -
Re: Throughput drops dramatically when I increase the number of instances in a cluster
Thanks for the quick reply.
Yes, we are running WLS with the performance pack.
"Bernie Wong" <[email protected]> wrote in message
news:[email protected]...
> Fellow clusterers ....
>
> I have an EJB driver program that pumps work into a WLS cluster. For
> scalability, I increase the number of drivers. The drivers have a big pool
> of work to pump into the cluster.
>
> I noticed that with 6 (nothing special about that number) drivers, I can
get
> 500K worked items per hour in a single instance (clustered). That is, the
> instance is cluster enabled and is watching for multicast, etc..
>
> When I add the second instance into the cluster, the cluster-wide
throughput
> with the six drivers drops to 370K items per hour. When I add the third
> instance, the cluster-wide throughput drops further to 250K items per
hour.
> When I kill an instance, the throughput grows back to 370K items per hour.
> When I kill another instance (to get back to one instance), the throughput
> grows back to 500K/hr.
>
> Can somebody point out what we are doing wrong - do we need to tweek some
> WLS parameters, do we have to avoid some features that limit cluster
> scalability, etc..
>
> My WLS configuration is .....
> - WLS 5.1, SP5
> - JDK 1.2.1_04c with JIT, no Hotspot
>
> My hardware/software configuration consists of:
> - an E4500 - 8 processor database server - this is only running at 15%
> server busy
> - three E4500 - all 8 processors/6GB RAM - application processors
>
> The cluster is implemented with one instance per application server.
> Each application server is only 10-15% busy.
>
> My driver and application is ....
> - stateless EJB driver and stateless EJB bean
>
> Your thoughts and comments would be greatly appreciated.
>
> Bernie
>
>
Thanks. It works. We screwed up the settings.
"Bernie Wong" <[email protected]> wrote in message
news:[email protected]...
> Thanks for the reply.
>
> We ran the benchmark again and got the same scaling profile. This
afternoon,
> we are going to run a benchmark with a really simple driver + bean (a do
> nothing bean) and see if we get the same scaling profile. From all the
> responses, it would appear that WLS can scale therefore we want to isolate
> the problem to either our code or our configuration (or both).
>
> I will let you know.
>
> Bernie
>
> "Rob Woollen" <[email protected]> wrote in message
> news:[email protected]...
> > Make sure that this was set on the client not the server.
> >
> > -- Rob
> >
> > Bernie Wong wrote:
> > >
> > > Jim,
> > >
> > > Thanks for the suggestions. One of my performance engineers ran
several
> > > experiments last week where he set the executeThreadCount to 6 and to
10
> > > along with a percentSocketReaders to 50. He saw no improvement. We
will
> > > rerun that experiment again since that seems to be the most common
> > > recommendation.
> > >
> > > Bernie
> > >
> > > "Jim Zhou" <[email protected]> wrote in message
> > > news:[email protected]...
> > > > One possible reason is not enough socket reader execute threads, try
> to do
> > > > this:
> > > > "-Dweblogic.system.executeThreadCount=10"
> > > > "-Dweblogic.system.percentSocketReaders=50" on your client JVM
startup
> > > > command line.
> > > >
> > > > http://www.weblogic.com/docs51/admindocs/tuning.html#tuning clients
> > > >
> > > > WebLogic RMI
> > > > If you are using WebLogic RMI clients and there are more than 2
> Weblogic
> > > > servers in a cluster, you may encounter a significant performance
> > > > degradation (very long round trip times for stateless session beans,
> for
> > > > instance). The solution is to make some property changes on the
client
> > > side
> > > > as explained below.
> > > >
> > > > The solution to this problem is to ensure that there are at least as
> many
> > > > socket reader threads as there are connections to the server and
also
> > > > allowing for some extra threads for processing other tasks. This is
> > > > accomplished by starting the client with the command line argument
> > > > "-Dweblogic.system.percentSocketReaders" set to a sufficiently high
> > > > percentage (say 50) and by ensuring that there sufficient number of
> > > execute
> > > > threads for other processing on the client. A metric of twice the
> number
> > > of
> > > > execute threads as there are servers in a cluster should work fine
if
> the
> > > > above percentage is at 50. The command line argument affecting the
> number
> > > of
> > > > execute threads is
> > > >
> > > > "-Dweblogic.system.executeThreadCount".
> > > >
> > > > For instance, we could use:
> > > >
> > > > "-Dweblogic.system.executeThreadCount=10"
> > > >
> > > > and
> > > >
> > > > "-Dweblogic.system.percentSocketReaders=50"
> > > >
> > > > when testing with 3 or 4 servers in a cluster.
> > > >
> > > >
> > > > Bernie Wong <[email protected]> wrote in message
> > > > news:[email protected]...
> > > > > Thanks for the quick reply.
> > > > >
> > > > > Yes, we are running WLS with the performance pack.
> > > > >
> > > > >
> > > > > "Bernie Wong" <[email protected]> wrote in message
> > > > > news:[email protected]...
> > > > > > Fellow clusterers ....
> > > > > >
> > > > > > I have an EJB driver program that pumps work into a WLS cluster.
> For
> > > > > > scalability, I increase the number of drivers. The drivers have
a
> big
> > > > pool
> > > > > > of work to pump into the cluster.
> > > > > >
> > > > > > I noticed that with 6 (nothing special about that number)
drivers,
> I
> > > can
> > > > > get
> > > > > > 500K worked items per hour in a single instance (clustered).
That
> is,
> > > > the
> > > > > > instance is cluster enabled and is watching for multicast, etc..
> > > > > >
> > > > > > When I add the second instance into the cluster, the
cluster-wide
> > > > > throughput
> > > > > > with the six drivers drops to 370K items per hour. When I add
the
> > > third
> > > > > > instance, the cluster-wide throughput drops further to 250K
items
> per
> > > > > hour.
> > > > > > When I kill an instance, the throughput grows back to 370K items
> per
> > > > hour.
> > > > > > When I kill another instance (to get back to one instance), the
> > > > throughput
> > > > > > grows back to 500K/hr.
> > > > > >
> > > > > > Can somebody point out what we are doing wrong - do we need to
> tweek
> > > > some
> > > > > > WLS parameters, do we have to avoid some features that limit
> cluster
> > > > > > scalability, etc..
> > > > > >
> > > > > > My WLS configuration is .....
> > > > > > - WLS 5.1, SP5
> > > > > > - JDK 1.2.1_04c with JIT, no Hotspot
> > > > > >
> > > > > > My hardware/software configuration consists of:
> > > > > > - an E4500 - 8 processor database server - this is only
> running at
> > > > 15%
> > > > > > server busy
> > > > > > - three E4500 - all 8 processors/6GB RAM - application
> processors
> > > > > >
> > > > > > The cluster is implemented with one instance per application
> > > server.
> > > > > > Each application server is only 10-15% busy.
> > > > > >
> > > > > > My driver and application is ....
> > > > > > - stateless EJB driver and stateless EJB bean
> > > > > >
> > > > > > Your thoughts and comments would be greatly appreciated.
> > > > > >
> > > > > > Bernie
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
>
>
-
Throughput drops dramatically when I increase the number of instances in a cluster
Fellow clusterers ....
I have an EJB driver program that pumps work into a WLS cluster. For
scalability, I increase the number of drivers. The drivers have a big pool
of work to pump into the cluster.
I noticed that with 6 (nothing special about that number) drivers, I can get
500K worked items per hour in a single instance (clustered). That is, the
instance is cluster enabled and is watching for multicast, etc..
When I add the second instance into the cluster, the cluster-wide throughput
with the six drivers drops to 370K items per hour. When I add the third
instance, the cluster-wide throughput drops further to 250K items per hour.
When I kill an instance, the throughput grows back to 370K items per hour.
When I kill another instance (to get back to one instance), the throughput
grows back to 500K/hr.
Can somebody point out what we are doing wrong - do we need to tweek some
WLS parameters, do we have to avoid some features that limit cluster
scalability, etc..
My WLS configuration is .....
- WLS 5.1, SP5
- JDK 1.2.1_04c with JIT, no Hotspot
- we enabled performance pack
My hardware/software configuration consists of:
- an E4500 - 8 processor database server - this is only running at 15%
server busy
- three E4500 - all 8 processors/6GB RAM - application processors
The cluster is implemented with one instance per application server.
Each application server is only 10-15% busy.
My driver and application is ....
- stateless EJB driver and stateless EJB bean
Your thoughts and comments would be greatly appreciated.
BernieThe short answer is to set the following tuneables on the client side:
java -Dweblogic.system.executeThreadCount=10
-Dweblogic.system.percentSocketReaders=50 <your client program>
http://www.weblogic.com/docs51/admindocs/tuning.html#tuning clients
Srikant, [email protected], http://weblogic.bea.com/, etc.
Bernie Wong wrote:
Fellow clusterers ....
I have an EJB driver program that pumps work into a WLS cluster. For
scalability, I increase the number of drivers. The drivers have a big pool
of work to pump into the cluster.
I noticed that with 6 (nothing special about that number) drivers, I can get
500K worked items per hour in a single instance (clustered). That is, the
instance is cluster enabled and is watching for multicast, etc..
When I add the second instance into the cluster, the cluster-wide throughput
with the six drivers drops to 370K items per hour. When I add the third
instance, the cluster-wide throughput drops further to 250K items per hour.
When I kill an instance, the throughput grows back to 370K items per hour.
When I kill another instance (to get back to one instance), the throughput
grows back to 500K/hr.
Can somebody point out what we are doing wrong - do we need to tweek some
WLS parameters, do we have to avoid some features that limit cluster
scalability, etc..
My WLS configuration is .....
- WLS 5.1, SP5
- JDK 1.2.1_04c with JIT, no Hotspot
- we enabled performance pack
My hardware/software configuration consists of:
- an E4500 - 8 processor database server - this is only running at 15%
server busy
- three E4500 - all 8 processors/6GB RAM - application processors
The cluster is implemented with one instance per application server.
Each application server is only 10-15% busy.
My driver and application is ....
- stateless EJB driver and stateless EJB bean
Your thoughts and comments would be greatly appreciated.
Bernie -
SQL2008R2 new named instance in existiong cluster as a new resource.
Hello everyone.
I'm trying to find out the best way to install a new named instance of a SQL2008R2 server in clustered environment.
The current windows cluster is a 2 node cluster and contains the DTC and 2 Named SQL Server instance:
MSSQLSERVER(Default) Network name: Clust1
Example1 Network name: Clust2
I need another instance but i want to reach it through the MSSQLSERVER's SQL Network Name.
In the end I need to be able to connect to the default instance with Clust1 and the new instance with Clust1\New.
Is it even possible to install SQL server not as a cluster service, more like inside a service as a new Resource?Hello,<o:p></o:p>
Thank you for your reply.<o:p></o:p>
I want to create the installation on both nodes,
so when a failover occurs on the Clust1 SQL cluster, both the default and
the new instance fails over and starts up at the new node.<o:p></o:p>
I tested the standalone installation method, the
problem is that it won’t show up as a resource in the cluster service.
I have to add it manually?
No,what you are suggesting cannot be attained by standalone installation you need to add new instance in cluster aware mode.That would be your third instance in cluster which would require new disk ,IP for data files and Virtual name respectively.MSDTC can
be shared.
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Converting a standalone SOA/AIA instance to a cluster instance.
Hi Architects,
We have a SOA/AIA11g instance running as a standalone instance with DR configured. Now team wants to convert this standalone instance to a 2 node clustered instance.
Can someone let us know if it is possible to convert a standalone SOA instance to a clustered instance.
Thanks,
Edited by: user1144870 on Jun 14, 2011 4:44 AMThat is quite some work.
You can add a cluster by using the console and add the soa_server to the cluster.
The problem is that when you add another server to the cluster the resources (such as JMS) are targetted to the soa_server
are not targetted to the other server in the cluster. So you have to retarget all the resources to the cluster.
The trouble you are going to run into are the distributed JMS resources (such as queues and topics) for those
you have to add new resources and target them to the right server instance.
Some extra information can be found here: http://middlewaremagic.com/weblogic/?p=6872
I think the best way to proceed is the configure a new clustered environment an example of the configuration steps
involved can be found here: http://middlewaremagic.com/weblogic/?p=6040 -
JNDI Lookup for multiple server instances with multiple cluster nodes
Hi Experts,
I need help with retreiving log files for multiple server instances with multiple cluster nodes. The system is Netweaver 7.01.
There are 3 server instances all instances with 3 cluster nodes.
There are EJB session beans deployed on them to retreive the log information for each server node.
In the session bean there is a method:
public List getServers() {
List servers = new ArrayList();
ClassLoader saveLoader = Thread.currentThread().getContextClassLoader();
try {
Properties prop = new Properties();
prop.setProperty(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl");
prop.put(Context.SECURITY_AUTHENTICATION, "none");
Thread.currentThread().setContextClassLoader((com.sap.engine.services.adminadapter.interfaces.RemoteAdminInterface.class).getClassLoader());
InitialContext mInitialContext = new InitialContext(prop);
RemoteAdminInterface rai = (RemoteAdminInterface) mInitialContext.lookup("adminadapter");
ClusterAdministrator cadm = rai.getClusterAdministrator();
ConvenienceEngineAdministrator cea = rai.getConvenienceEngineAdministrator();
int nodeId[] = cea.getClusterNodeIds();
int dispatcherId = 0;
String dispatcherIP = null;
String p4Port = null;
for (int i = 0; i < nodeId.length; i++) {
if (cea.getClusterNodeType(nodeId[i]) != 1)
continue;
Properties dispatcherProp = cadm.getNodeInfo(nodeId[i]);
dispatcherIP = dispatcherProp.getProperty("Host", "localhost");
p4Port = cea.getServiceProperty(nodeId[i], "p4", "port");
String[] loc = new String[3];
loc[0] = dispatcherIP;
loc[1] = p4Port;
loc[2] = null;
servers.add(loc);
mInitialContext.close();
} catch (NamingException e) {
} catch (RemoteException e) {
} finally {
Thread.currentThread().setContextClassLoader(saveLoader);
return servers;
and the retreived server information used here in another class:
public void run() {
ReadLogsSession readLogsSession;
int total = servers.size();
for (Iterator iter = servers.iterator(); iter.hasNext();) {
if (keepAlive) {
try {
Thread.sleep(500);
} catch (InterruptedException e) {
status = status + e.getMessage();
System.err.println("LogReader Thread Exception" + e.toString());
e.printStackTrace();
String[] serverLocs = (String[]) iter.next();
searchFilter.setDetails("[" + serverLocs[1] + "]");
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl");
prop.put(Context.PROVIDER_URL, serverLocs[0] + ":" + serverLocs[1]);
System.err.println("LogReader run [" + serverLocs[0] + ":" + serverLocs[1] + "]");
status = " Reading :[" + serverLocs[0] + ":" + serverLocs[1] + "] servers :[" + currentIndex + "/" + total + " ] ";
prop.put("force_remote", "true");
prop.put(Context.SECURITY_AUTHENTICATION, "none");
try {
Context ctx = new InitialContext(prop);
Object ob = ctx.lookup("com.xom.sia.ReadLogsSession");
ReadLogsSessionHome readLogsSessionHome = (ReadLogsSessionHome) PortableRemoteObject.narrow(ob, ReadLogsSessionHome.class);
status = status + "Found ReadLogsSessionHome ["+readLogsSessionHome+"]";
readLogsSession = readLogsSessionHome.create();
if(readLogsSession!=null){
status = status + " Created ["+readLogsSession+"]";
List l = readLogsSession.getAuditLogs(searchFilter);
serverLocs[2] = String.valueOf(l.size());
status = status + serverLocs[2];
allRecords.addAll(l);
}else{
status = status + " unable to create readLogsSession ";
ctx.close();
} catch (NamingException e) {
status = status + e.getMessage();
System.err.println(e.getMessage());
e.printStackTrace();
} catch (CreateException e) {
status = status + e.getMessage();
System.err.println(e.getMessage());
e.printStackTrace();
} catch (IOException e) {
status = status + e.getMessage();
System.err.println(e.getMessage());
e.printStackTrace();
} catch (Exception e) {
status = status + e.getMessage();
System.err.println(e.getMessage());
e.printStackTrace();
currentIndex++;
jobComplete = true;
The application is working for multiple server instances with a single cluster node but not working for multiple cusltered environment.
Anybody knows what should be changed to handle more cluster nodes?
Thanks,
GergelyThanks for the response.
I was afraid that it would be something like that although
was hoping for
something closer to the application pools we use with IIS to
isolate sites
and limit the impact one badly behaving one can have on
another.
mmr
"Ian Skinner" <[email protected]> wrote in message
news:fe5u5v$pue$[email protected]..
> Run CF with one instance. Look at your processes and see
how much memory
> the "JRun" process is using, multiply this by number of
other CF
> instances.
>
> You are most likely going to end up on implementing a
"handful" of
> instances versus "dozens" of instance on all but the
beefiest of servers.
>
> This can be affected by how much memory each instance
uses. An
> application that puts major amounts of data into
persistent scopes such as
> application and|or session will have a larger foot print
then a leaner
> application that does not put much data into memory
and|or leave it there
> for a very long time.
>
> I know the first time we made use of CF in it's
multi-home flavor, we went
> a bit overboard and created way too many. After nearly
bringing a
> moderate server to its knees, we consolidated until we
had three or four
> or so IIRC. A couple dedicated to to each of our largest
and most
> critical applications and a couple general instances
that ran many smaller
> applications each.
>
>
>
>
> -
Oracle ORA_16000 when trying to add standby instance to existing rac node
I attempted to use dbca to add a new standby instance to an existing cluster. The cluster is 4 nodes, Linux RHEL 5.3 Oracle 11.1.0.7. Also using ASM, asmlib, ocfs2 and shared block devices.
ASM instances are up and functional on all nodes. current config appears to be running normally and correctly.
I have a 4 instance database running on the cluster. I also have 3 physical standby active data guard instances running on 3 of the nodes. I wanted to add a new ADG instance to the 4th node.
While running dbca I received ORA-00604 and ORA-16000.
The active data guard database was open (read only) and redo apply was on. I am using data guard broker as well, but not grid control.
Does anyone have a procedure for adding an instance in this environment? Do I need to have the standby in mount state? If dbca won't work does anyone have a manual procedure for adding a new instance?
Thankszulo
Let's say you adding node nusclust160## to you existing cluster and dbca is a pain to use.
Extend clusterware to the nusclust160## server.
re: Page 64 of Oracle® Clusterware Administration and Deployment Guide 11g Release 1 (11.1)
1a.
Add undo tablespace to support additional node.
Re-check space for DATA1 on nusclust16007 and /dbdata/ORADB on sun16109.
As of Thursday, May 21, 2009 the DATA1 asm group has 53,584M free.
As of Thursday, May 21, 2009 the /dbdata/ORADB has 77G free.
In a separate terminal window on nusclust16007 run the following in sqlplus
CREATE UNDO TABLESPACE UNDOTBS4 datafile '+DATA1' SIZE 13300M AUTOEXTEND ON ;
This will take a long time to create this tablespace. Please minimize the window after submitting the ddl and move on to the next step.
1b.
Insure .bash_profile on nusclust160## should look like this:
vi .bash_profile
export ORACLE_HOSTNAME=nusclust160##
export ORACLE_SID=ORADB4
export ORA_CRS_BASE=/apps/ocr/oracle
export ORACLE_BASE=/apps/dbs/oracle
export PATH=/usr/ccs/bin:/usr/X/bin:/usr/bin:/usr/sfw/bin:/usr/sbin:/usr/local/bin
export server=`uname -n`
export PS1="$ORACLE_SID@$HOSTNAME >"
alias cls='clear'
alias More='more'
alias ll='ls -lt | more'
Gather IP addresses for fourth node from /etc/hosts:
222.65.125.### nusclust160##
222.65.125.### nusclust160##-vip
10.333.248.### nusclust160##-priv
2. Start Oracle Universal Installer:
Go to CRS_home/oui/bin and run the addNode.sh script on one of the existing
nodes. Oracle Universal Installer runs in add node mode.
The Oracle inventory on nusclust16007, nusclust16008, and nusclust16036 are found under:
/home/oracle/oraInventory
Use a X windows enabled session (The OUI takes 33 minutes)
cd /apps/ocr/oracle/product/11.1.0/crs/oui/bin
./addNode.sh
a. In the first screen specify a new node as :
Public Node Name: nusclust160##
Private Node Name: nusclust160##-priv
Virtual Host Name: nusclust160##-vip
If you receive the error:
" tar. ./bin/racgvip.orig: Permission denied"
Do the following:
cd /apps/ocr/oracle/product/11.1.0/crs/bin
ls -al racgvip.orig
paste here:
chown root:oinstall racgvip.orig
chmod 771 racgvip.orig
should now show:
-rwxrwx--x 1 root oinstall 19213 Feb 11 08:36 racgvip.orig
As root:
a.
On nusclust160##:
cd /home/oracle/oraInventory
./orainstRoot.sh
b.
On nusclust16007:
cd /apps/ocr/oracle/product/11.1.0/crs/install
./rootaddnode.sh
clscfg: EXISTING configuration version 4 detected.
clscfg: version 4 is 11 Release 1.
Attempting to add 1 new nodes to the configuration
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 4: nusclust160## nusclust160##-priv nusclust160##
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
/apps/ocr/oracle/product/11.1.0/crs/bin/srvctl add nodeapps -n nusclust160## -A nusclust160##-vip/255.255.255.224/bge0
c.
On nusclust160##:
cd /apps/ocr/oracle/product/11.1.0/crs/
./root.sh
WARNING: directory '/apps/ocr/oracle/product/11.1.0' is not owned by root
WARNING: directory '/apps/ocr/oracle/product' is not owned by root
WARNING: directory '/apps/ocr/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured
OCR LOCATIONS = /raw/ocr/ocrconf1,/raw/ocr/ocrconf2
OCR backup directory '/apps/ocr/oracle/product/11.1.0/crs/cdata/rac_cluster' does not exist. Creating now
Setting the permissions on OCR backup directory
Setting up Network socket directories
Oracle Cluster Registry configuration upgraded successfully
The directory '/apps/ocr/oracle/product/11.1.0' is not owned by root. Changing owner to root
The directory '/apps/ocr/oracle/product' is not owned by root. Changing owner to root
The directory '/apps/ocr/oracle' is not owned by root. Changing owner to root
clscfg: EXISTING configuration version 4 detected.
clscfg: version 4 is 11 Release 1.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: nusclust16007 nusclust16007-priv nusclust16007
node 2: nusclust16008 nusclust16008-priv nusclust16008
node 3: nusclust16036 nusclust16036-priv nusclust16036
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
Cluster Synchronization Services is active on these nodes.
nusclust16007
nusclust16008
nusclust16036
nusclust160##
Cluster Synchronization Services is active on all the nodes.
Waiting for the Oracle CRSD and EVMD to start
Oracle CRS stack installed and running under init(1M)
4. After this is done crs_stat -t will show nusclust160## in the crs i.e.
I see:
Name Type Target State Host
ora....160##.gsd application ONLINE ONLINE sun...160##
ora....160##.ons application ONLINE OFFLINE
ora....160##.vip application ONLINE ONLINE sun...160##
Do not be concerned about ora.nusclust160##.ons being OFFLINE, as that will be fixed shortly in a step that follows this one.
5. As oracle :
On nusclust16007:
cd /apps/ocr/oracle/product/11.1.0/crs/bin
./racgons add_config nusclust160##:6251
This should take about one second to run.
If it says that it has already been added to the OCR you are fine.
If it hangs, you may need to reboot all servers to clear this issue.
6. Insure new node is properly added to ocr by running
On nusclust16007:
ocrdump
Check for the entries that show:
[DATABASE.ONS_HOSTS.nusclust160##.PORT]
ORATEXT : 6251
7. Check that your cluster is integrated and that the cluster is not divided into
partitions by completing the following operations:
On nusclust16007:
cd /apps/ocr/oracle/product/11.1.0/crs/bin
./cluvfy comp clumgr -n all -verbose
Should see Verification of cluster manager integrity was successful.
8.
Use the following command to perform an integrated validation of the Oracle
Clusterware setup on all of the configured nodes, both the preexisting nodes
and the nodes that you have added:
AS oracle on nusclust16007:
cluvfy stage -post crsinst -n all -verbose
Post-check for cluster services setup was successful.
good: Post-check for cluster services setup was successful.
9.
On nusclust160## as oracle run the following:
cd /apps/ocr/oracle/product/11.1.0/crs/bin
./crs_stat -t | grep OFFLINE
If you see this:
ora.nusclust160##.ons application ONLINE OFFLINE
then run this:
./crs_start -all
After:
./crs_stat -t
ora.nusclust160##.ons application ONLINE ONLINE nusclust160##
If you see the above then you can move on the next step.
Adding database binaries to the nusclust160## server and setting up the listener.
1.
From nusclust16007:
Open an X window (The OUI part takes 13 minutes)
cd /apps/dbs/oracle/product/11.1.0/db_1/oui/bin
./runInstaller -addNode ORACLE_HOME=/apps/dbs/oracle/product/11.1.0/db_1 $*
You should get a prompt to specify a new node, in this case you should see nusclust160## where you will need to put a check mark beside it.
2.
from nusclust160##:
Eventually you will be prompted to run the following as root on the new node
On nusclust160##
cd /apps/dbs/oracle/product/11.1.0/db_1
./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /apps/dbs/oracle/product/11.1.0/db_1
Enter the full pathname of the local bin directory: [usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /var/opt/oracle/oratab file...
Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
3. verification
Now set up the .bash_profile and .asm profile to on nusclust160## to support new ORADB4 and +ASM4 instances for the oracle userid.
On nusclust160##:
cp .bash_profile .bash_profile.bak
On nusclust16007:
sftp nusclust160##
put .bash_profile
On nusclust160##:
vi .bash_profile
change ORALCE_SID to ORADB4
cp .bash_profile .asm
vi .asm
change ORALCE_SID to +ASM4 in .asm file
which sqlplus
Should show the path below is $PATH environmental variable is set correctly.
/apps/dbs/oracle/product/11.1.0/db_1/bin/sqlplus
On nusclust160##:
oifcfg getif
This should show:
ce4 10.333.248.192 global cluster_interconnect
ce5 222.65.125.128 global public
4.
Run Netbackup Oracle Agent link script.
As oracle make sure ORACLE_HOME is fined.
env | grep ORACLE_HOME
then
cd /usr/openv/netbackup/bin/
./oracle_link
ls -al $ORACLE_HOME/lib/libobk.so
should show:
/apps/dbs/oracle/product/11.1.0/db_1/lib/libobk.so -> /usr/openv/netbackup/bin/libobk.so64.1
5.
On the target node, run the Net Configuration Assistant (NETCA) to add a
listener. Add a listener to the target node by running NETCA from the target node and
selecting only the target node on the Node Selection page.
I shall do the following on nusclust160## using X Windows
Now before I do this I see:
crs_stat -t
ora.nusclust160##.gsd application ONLINE ONLINE nusclust160##
ora.nusclust160##.ons application ONLINE ONLINE nusclust160##
ora.nusclust160##.vip application ONLINE ONLINE nusclust160##
Connect to nusclust160## and open up X windows session.
netca
Choose Cluster configuration.
select nusclust160## as the node to configure.
Choose Listener configuration, then Add.
When it prompts you for a listener name choose LISTENER as it will append _NUSCLUST160##(server name) to end of the LISTENER name to make a complete listener name.
At this point you will have listener to support the new node in the crs.
now
crs_stat -t
will show:
ora....0#.lsnr application ONLINE ONLINE nusclust160##
ora.nusclust160##.gsd application ONLINE ONLINE nusclust160##
ora.nusclust160##.ons application ONLINE ONLINE nusclust160##
ora.nusclust160##.vip application ONLINE ONLINE nusclust160##
At this point the necessary crs entries for gsd, ons, vip, and the listener on nusclust160## all we need now are the ORADB4 and +ASM4 instances added.
III. 7/11/2009 7:40 AM Sat [120 min] NTTA DBA
Use NON dbca method to create additional instances on the nusclust160## server. This will involve a complete shutdown of all RAC instances.
1.
Undo tablespace creation was taken care of in Step I,1. Check on the progress of the creation of tablespace UNDOTBS4 in the minimized window. Should see tablespace on primary and physical standby databases.
2. First we shall set up the +ASM4 instance on nusclust160## and add it to the cluster.
On nusclust160##
cd $ORACLE_HOME/dbs
vi init+ASM4.ora
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Cluster Database
cluster_database=true
cluster_database_instances=6
# Miscellaneous
diagnostic_dest=/apps/dbs/oracle
instance_type=asm
# Pools
large_pool_size=12M
asm_diskgroups='DATA1','ARCH','REDO1','REDO2'
asm_diskstring='/raw/asm'
+ASM1.instance_number=1
+ASM2.instance_number=2
+ASM3.instance_number=3
+ASM4.instance_number=4
3.
On nusclust16007
cd $ORACLE_HOME/dbs
sftp nusclust160##
put orapw+ASM1 /apps/dbs/oracle/product/11.1.0/db_1/dbs
put orapwORADB1 /apps/dbs/oracle/product/11.1.0/db_1/dbs
4.
On nusclust160##
cd $ORACLE_HOME/dbs
cp orapw+ASM1 orapw+ASM4
cp orapwORADB1 orapwORADB4
5.
On nusclust160##
cd $HOME
. ./.asm
sqlplus '/ as sysasm'
startup
create spfile from pfile='/apps/dbs/oracle/product/11.1.0/db_1/dbs/init+ASM4.ora' ;
shutdown immediate ;
startup
show parameters spfile
6. Now that we have a running asm instance add it the cluster.
On nusclust160##
srvctl add asm -n nusclust160## -i +ASM4 -o /apps/dbs/oracle/product/11.1.0/db_1
srvctl enable asm -n nusclust160## -i +ASM4
7. Now that we have an asm instance let's set up a database instance.
On nusclust16007/ORADB1 :
alter system set cluster_database_instances=6 scope=spfile ;
alter system set instance_name=ORADB4 scope=spfile sid='ORADB4' ;
alter system set instance_number=4 scope=spfile sid='ORADB4' ;
alter system set local_listener=LISTENER_ NUSCLUST160## scope=both sid='ORADB4' ;
alter system set thread=4 scope=both sid='ORADB4' ;
alter system set undo_tablespace=UNDOTBS4 scope=both sid='ORADB4' ;
alter database add logfile thread 4 group 28 ('+REDO1', '+REDO2' ) size 100M ;
alter database add logfile thread 4 group 29 ('+REDO1', '+REDO2' ) size 100M ;
alter database add logfile thread 4 group 30 ('+REDO1', '+REDO2' ) size 100M ;
alter database add logfile thread 4 group 31 ('+REDO1', '+REDO2' ) size 100M ;
alter database enable public thread 4;
Need to add 5 groups to support standby
So at the end of the day 900M will be added to REDO1(29,577M free) and 900M will be added to REDO2 (29,577M free).
8. Set up init.ora, listener.ora, and tnsnames.ora for ORADB4 on nusclust160##.
a. init.ora set up
cd $ORACLE_HOME/dbs
vi initORADB4.ora
SPFILE='+DATA1/ORADB/spfileORADB.ora'
b. add entries to tnsnames.ora:
ORADB4 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORADB)
(INSTANCE_NAME = ORADB4)
ORADB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16007-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16008-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16036-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORADB)
LISTENERS_ORADB =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16007-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16008-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16036-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
LISTENER_NUSCLUST160## =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
ORADB_PRIM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16007-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16008-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16036-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORADB)
c. add entries to listener.ora, The entries for most of this file should be set already, just insure modifications that need to be made are made.
SID_LIST_LISTENER_NUSCLUST160## =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /apps/dbs/oracle/product/11.1.0/db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = ORADB)
(ORACLE_HOME = /apps/dbs/oracle/product/11.1.0/db_1)
(SID_NAME = ORADB4)
LISTENER_NUSCLUST160## =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = NUSCLUST160##-vip)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = 222.65.125.###)(PORT = 1521)(IP = FIRST))
9. Reload the listener.
lsnrclt
set current_listener LISTENER_NUSCLUST160##
reload
exit
10. Check audit trail, add instance to cluster, and start db instance.
a.
Check for audit directory and start the instance.
/apps/dbs/oracle/product/11.1.0/db_1/rdbms/audit
If this audit trail directory does not exist then create it.
b.
srvctl add instance -d ORADB -i ORADB4 -n nusclust160##
srvctl modify instance -d ORADB -i ORADB4 -s +ASM4
srvctl enable instance -d ORADB -i ORADB4
Will probably show: PRKP-1017 : Instance ORADB4 already enabled.
c.
sqlplus '/ as sysdba'
startup
**Because the cluster_database_instances parameter requires the complete shutdown of all instances in the cluster, you might have an issue when it attempts to start the instance. If you receive an error then run:
srvctl stop database -d oradb
sqlplus '/ as sysdba'
startup
shutdown
srvctl start database -d oradb
shutdown
srvctl start instance -d ORADB -i ORADB4 -o open
11.
Modify spfile of ASM1, ASM2, +ASM3
On nusclust16007
. ./.asm
sqlplus '/ as sysasm'
alter system set instance_number=4 scope=spfile sid='+ASM4' ;
On nusclust16008
. ./.asm
sqlplus '/ as sysasm'
alter system set instance_number=4 scope=spfile sid='+ASM4' ;
On nusclust16036
. ./.asm
sqlplus '/ as sysasm'
alter system set instance_number=4 scope=spfile sid='+ASM4' ;
b Modify tnsnames.ora on nusclust nusclust16007, nusclust16008, and nusclust16036
On nusclust16007
ORADB4 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORADB)
(INSTANCE_NAME = ORADB4)
Add the following line to the ORADB alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
Add the following line to the LISTENERS_ORADB alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
Add the following line to the ORADB_PRIM alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
On nusclust16008
ORADB4 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORADB)
(INSTANCE_NAME = ORADB4)
Add the following line to the ORADB alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
Add the following line to the LISTENERS_ORADB alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
Add the following line to the ORADB_PRIM alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
On nusclust16036
ORADB4 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORADB)
(INSTANCE_NAME = ORADB4)
Add the following line to the ORADB alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
Add the following line to the LISTENERS_ORADB alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
Add the following line to the ORADB_PRIM alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
c Add standby logs on primary to support 4th node.
alter database add standby logfile thread 4 group 32 ('+REDO1', '+REDO2' ) size 100M ;
alter database add standby logfile thread 4 group 33 ('+REDO1', '+REDO2' ) size 100M ;
alter database add standby logfile thread 4 group 34 ('+REDO1', '+REDO2' ) size 100M ;
alter database add standby logfile thread 4 group 35 ('+REDO1', '+REDO2' ) size 100M ;
alter database add standby logfile thread 4 group 36 ('+REDO1', '+REDO2' ) size 100M ;
12.
Test the cluster to make sure everything is set up correctly.
a. Shutdown resources.
On nusclust16007:
emctl stop dbconsole
ps -ef | grep perl
ps -ef | grep agent
ps -ef | grep java
On nusclust16008:
emctl stop dbconsole
On nusclust16036:
emctl stop dbconsole
On nusclust16008:
cd $HOME
. ./.rman
cd scripts
./go
shutdown immediate
cd $HOME
. ./.bash_profile
srvctl stop database -d oradb
crs_stop -all
crs_stat -t
b. Startup resources
On nusclust16007:
cd $HOME
. ./.bash_profile
crs_start -all
crs_stat -t
The command above should show everything up and running.
ocrcheck
On nusclust16008:
cd $HOME
. ./.rman
cd scripts
./go
startup
On nusclust16007:
emctl start dbconsole
On nusclust16008:
emctl start dbconsole
On nusclust16036:
emctl start dbconsole
How does that work for you?
-JR jr -
Add Dialog instance in Oracle RAC Environment
Hi Gurus,
Do we have to isntall Dialog Instance from sapinst if you want to add a dialog instance in the Cluster Environment?
I want to add two dialog instance to run on node-2 and node-4 using SAPCTL.Yes, you should run sapinst to install DI.
-
ADF: want to add multiple instance of .jsff page in af:region dynamically
Hi,
I am having following requirement.
We have one .jsff page, and we want to add multiple instance of this fragment page in <af:region> at runtime.
Basically our requirement is anyhow we want to add multiple panel which is having many other child component at run time.
Your suggestion will be very helpful.
Regards,
Deepak ParmarVinod,
Hmm.. only option left is i should add component at run time. but i am facing following issue...
I am trying to add child component into RichPanelStretchLayout object at runtime, but getFacetCount() and getFacet() method of RichPanelStretchLayout is returning 0 and null respectively.
can you please suggest me how can i add child component into RichPanelStretchLayout object?, i have directly added component using getChildered.add() method. but it wont work as i must need one facet object ( either START,BOTTOM or CENTER).
Regards,
Deepak -
Hi there,
Would it be possible for someone to help with a problem I'm having trying to add a subform instance? I've looked at an example and tried to use the same method but for some reason cannot get it to work and I've no idea why! Happy to send the form if that helps.
Any help greatly appreciated,
Thanks.
Ken//_<subformname>.addInstance(1); //is syntax do not get confused it starts with underscore followed by subform name (no need to give entire hierarchy)
//and the number 1 in the parenthesis adds one instance if use 2 two new instances are added
//check the example below
// Invoke the Instance Manager to add one instance of the detail subform.
_Section2Detail.addInstance(1);
//Invoke the recalculate method to include the field values from the added subform in calculations.
//add to forec the layout manager to redraw screen
xfa.form.recalculate(1);
if you still run into issues do email me copy at n_varma(AT)lycos.com.
Good luck, -
Revision: 9522
Author: [email protected]
Date: 2009-08-24 10:37:30 -0700 (Mon, 24 Aug 2009)
Log Message:
Add new configuration options to cluster defined in qa-regress. These options were added in checkin 9201 and expose JGroups channel configuration settings that weren't configurable previously.
Modified Paths:
blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/services-config.mods.xmlRemember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them. This may or may not be unique to Arch Arm, so you might try asking on their forums as well.
-
Get weblogic instance name in cluster env.
Hi, there, how can I get each weblogic instance name in cluster env. in my code?
thanks.
If you want the current instance name, it is 'weblogic.Name' I think. If you
want a list of all instances in the cluster, you can probably find it by browsing
WebLogic MBeans.
black <[email protected]> wrote:
> Hi, there, how can I get each weblogic instance name in cluster env. in my code?
> thanks.
Dimitri
-
I would like to Add multible instances of one Movieclip, (Library Name = Bats | instance name = none), inside of another Movieclip (instance name = back.visuals) // (By HAND) NOT by addChild(mc_name); // Easy
If anyone could help me out with code to do the next steps:
Search the Movieclip, (instance name = back.visuals), that contains the Movieclips, (Library Name = Bats | instance name = none), manually added to the stage by hand.
Then for all instances of this movieclip (Library Name = Bats | instance name = none) add them to an Array.
Thank You,
DyamiI think we are having some missed communication. I do not wish to Change Flash's IDE or deveolp new features for flash. I was wondering if there was a way to do my question with AS3. something along the lines of :
var enemyList:Array = new Array;
for (var index:int = 0;index < back.visuals.numChildren;index++)
var wall:MovieClip = back.visuals.getChildAt(index) as MovieClip;
/* Check to see if wall is of a Specfic MovieClip */
/* if (Above is True){ enemyList.push(wall) };
Maybe you are looking for
-
itunes is not recognising my ipod!! says i need to install 64 bit version, it is 64 bit version though!!
-
Hi Guys, I have to develop a custom report intended for use by our factories and is design to give them detail information on raw materials actual usage relative to how much should have been used (standard usage) by an individual product or product
-
Dear All, I have created a GR for value 1000. I run Account Maintenance for the created GR. Whether it is possible to reverse the GR now? please explain. Regards
-
Hi Does anyone know if there are any plans to get the Lumia 1020 released on Virgin Mobile monthly contracts? I'm with Virgin at the moment and am looking to replace my N8 sometime soon. Thanks Solved! Go to Solution.
-
Photo album disappears from iphoto
My two most recent albums keep disappearing from iPhoto, and thus from my iPad and iPhone. I've repaired permissions and the iPhoto database, but no joy. Any suggestions would be appreciated.