由买买提看人间百态

topics

全部话题 - 话题: instances
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
s****y
发帖数: 581
1
>lsnrctl status
不解,为什么我的service 会有两个instance(s)
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 31-AUG-2011 13:51:15
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=I2)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 31-AUG-2011 13:48:09
Uptime 0 days 0 hr. 3 ... 阅读全帖
a****l
发帖数: 120
2
最近公司打算把数据从windows single instance 迁移到linux RAC,我以前用过expdp
/impdp是可行的,但是比较麻烦,需要在target database,建立tablespace,
datafile,role,user等。
但是我觉得rman更可靠,所以我想用duplicate rman backup;不过问题是每次都出错
。。。
因为问题在于
windows single instance -> linux RAC
要考虑转码,datafile文件存储位置不同,如ASM
请问,各位有过经验吗?我暂时只想到
如果非要rman duplicate,那么可以
windows single instance -> linux single instance -> linux RAC
我实在不知道怎么直接从windows single instance -> linux RAC;还希望各位老师,
多多帮忙,如果有link或者经验,就更好了。
非常感谢。
x******0
发帖数: 1490
3
【 以下文字转载自 Hardware 讨论区 】
发信人: xzxz0000 (凶涨凶涨), 信区: Hardware
标 题: amazon web service (AWS) 不是第一年使用micro instance免费吗?这是怎么回事?
发信站: BBS 未名空间站 (Fri Feb 10 17:12:17 2012, 美东)
上个月初申请了一个AWS账号,开了一个micor instance 的redhat linux,上面说第一
年免费,所以就一直开着没关,帐单一来,发现按小时收费了,请问用过的同学知道是
怎么一回事吗?
--------------------
US West (Northern California) Region
Amazon EC2 EBS
$0.00 per GB-month of provisioned storage under monthly free
tier 5.444 GB-Mo 0.00
$0.00 per 1 million I/O requests un... 阅读全帖
v*****r
发帖数: 1119
4
Service "orctest" has 2 instance(s).
Instance "orctest", status UNKNOWN, has 1 handler(s) for this service...
Instance "orctest", status READY, has 1 handler(s) for this service...
The first instance is the one you manually configured in listener.ora file,
the second is dynamically registered.
Remove the manual entry for orctest from listener.ora file, you don't need
that.

Production
a*s
发帖数: 425
5
仍然在学习Java中,
关于Java load class的问题
我知道,java可以动态的load外部jar,然后用这个jar的method 初始化instance,
我想知道哦,比如,我有一个runable jar,假设,如果直接运行这个jar,会初始化大
量的object instances
我是否用另外一个java code load 这个jar,然后运行这个runable jar的原本的main,
然后直接access这个runable jar初始化的大量instances,我不需要改动任何东西,只
需要collect一些信息,换句话说,如果,我不可以改动这个runable jar,我想实时
monitor这个程序runtime 初始化的object instances 的状态,这个能否做到?
谢谢
g*****g
发帖数: 34805
6
我刚看了一下我跑的一个cluster, 随便拿个instance, 差不多3-5天就会health check
不响应,被shutdown,然后auto-scaling 再起一个。99.95%是不可能的,我看有99%差
不多,但你看小字就知道Amazon的定义不同。
不过单个instance的availability不是很重要。哪怕只有99%,一个cluster同时不
当超过一个的概率就有99.99%,所以不是关键。
就过去两年以我们公司的记录来看,AWS的region availability大约有99.95%,唯一一
次比较长的当是前年平安夜因为人为原因东部3个zone ELB大面积挂掉,导致整个
region挂掉。
如果你的目标是99.9%-99.95%,zone failover应该够了,就是一个region 3个zone平
均分配instance, 每个服务都至少3个zone里都有instance. 如果你的目标是99.95%-99
.99%,需要实现region failover. 东部挂了能自动换到西部。这个AWS的支持不好,要
自己实现一堆东西。我们的platform ... 阅读全帖
g*****g
发帖数: 34805
7
Hmm, we don't deploy it that way. We would package the app into AMI and
deploy the same AMI to all instances. Php files can use in-instance storage.
On change, we create a new AMI, a new cluster, deploy the new AMI to the
new cluster and shut down the old one. We have it all set up with jenkins,
so it's as simple as running a jenkins job and in dev environment, a check-
in will trigger this jenkins job.
We never change files once deployed. If you change, the instance can be
killed and the new in... 阅读全帖
f*******n
发帖数: 2661
8
请教ORACLE数据库中如何从一个INSTANCE中COPY一个TABLE到另一个INSTANCE。谢谢!
f*******n
发帖数: 2661
9
Sorry, I'am an Oracle Application Developer. Just think copy a table from
one instance to another instance. Actually, it's from one database to
another database. Thanks for your kind answer.
g***l
发帖数: 18555
10
没法控制RESOURCE啊,分几个INSTANCE内存和CPU都可以控制,一个INSTANCE CRASH了
并不影响另外的。很多APPLICATION都要求一个INSTANCE一个数据库。
w*s
发帖数: 7227
11
my DB is in the local pc, some times my program gave such errors, while most
of the time is ok.
any suggestions ?
Unhandled Exception: System.Data.EntityException: The underlying provider
failed
on Open. ---> System.Data.SqlClient.SqlException: A network-related or
instance
-specific error occurred while establishing a connection to SQL Server. The
serv
er was not found or was not accessible. Verify that the instance name is
correct
and that SQL Server is configured to allow remote connections. ... 阅读全帖
x******0
发帖数: 1490
12
上个月初申请了一个AWS账号,开了一个micor instance 的redhat linux,上面说第一
年免费,所以就一直开着没关,帐单一来,发现按小时收费了,请问用过的同学知道是
怎么一回事吗?
--------------------
US West (Northern California) Region
Amazon EC2 EBS
$0.00 per GB-month of provisioned storage under monthly free
tier 5.444 GB-Mo 0.00
$0.00 per 1 million I/O requests under monthly free tier 293
,534 IOs 0.00
Amazon EC2 running Red Hat Enterprise Linux
$0.085 per Micro RHEL Instance (t1.micro) instance-hour (or
... 阅读全帖
N**D
发帖数: 2885
13
【 以下文字转载自 Programming 讨论区 】
发信人: NYPD (New York, Pursuit of Dream), 信区: Programming
标 题: Amazon云计算里的instance是怎么算的?
发信站: BBS 未名空间站 (Thu Jun 28 16:20:02 2012, 美东)
link:http://aws.amazon.com/ec2/
http://aws.amazon.com/ec2/pricing/
我打算把我的一个能利用多cpu的系统移植到云上面,先看了下价格,上面是按
instance来算,我的系统一次计算要用8个cpu,最多可以有2个用户登录使用。这种情
况该怎么计算价格?是上面的价格乘以2,乘以8,还是乘以16。问题有些菜鸟,希望得
到指点。谢谢。
H******e
发帖数: 4682
14
【 以下文字转载自 LeisureTime 讨论区 】
发信人: HappyAve (小街, 倾城), 信区: LeisureTime
标 题: one application, multiple instances, 程序员请进
发信站: BBS 未名空间站 (Tue Nov 24 21:00:26 2015, 美东)
我目前在一家小公司工作, 做学校软件, 遇到了一个有趣的问题。
公司有个学校软件, 一直是把deployed application codes, database release
scripts, 和需要manually update的items(for examples, different images for
different schools, web.config file updates)放进一个package发送给客户--各个不
同的学校, instruct各个不同的学校upgrade or install in their own web and
database server.
请问, this circumstance, one appli... 阅读全帖
B*****g
发帖数: 34098
15
1. 为啥你要用INSTANCE而不用DATABASE?有点糊涂了。
2. 如果是DATABASE之间COPY,DBLink,SQLLoad都行吧。
3. 以上基本上是胡咧咧
a****l
发帖数: 120
16
成功migrate;今天抽空共享下心得和步骤。感谢bridger提供思路。
详细点就是
1. 把windows instance,包括spfile,controlfile,datafile全部 convert to
linux instace。
http://anandoracle.wordpress.com/2012/12/24/migration-database-
2. 把NON-ASM的LINUNX databaseconvert成ASM的LINUX database
http://anandoracle.wordpress.com/2012/12/13/migrating-non-asm-t
3. 我使用的是用rconfig把single linux instance with ASM 转换成 RAC with asm
http://zakkiahmed.wordpress.com/2010/08/04/convert-11gr2-non-ra
注意的事项是
1.如果你的datafile有corrupted block,需要用备份先修复,再convert;可以先用
dbv和v... 阅读全帖
g**********y
发帖数: 14569
17
来自主题: Java版 - XML schema to instance generator?
Anyone knows a good Java XML instance generator (from XSD schema)? open
source is better.
Sun used to have a instance generator, but took off from its website. And I
heard it doesn't do well with XSD. If you still have a copy of this xmlgen.
jar, can you share it?
Thanks.
s*******n
发帖数: 38
18
比方说我双击一个程序,出来一个instance。再双击,又出来一个instance。然后让它
们之间协同, communicate。
是不是要编一个background service program?
有这样的例子么?
a9
发帖数: 21638
19
你得选哪个instance类型,按那个instance类型付钱就是了。
w**z
发帖数: 8232
20
我的另外一个projet 用了Eureka, 不错。
现在,要把我们公司的site (当初脑残用wordpress 搞的)放到EC2上,一个instance
应该不行的。但wordpress的image是存在disk上的。EBS volume 只能attach 在一个
instance. I found this blog,
http://blog.celingest.com/en/2013/09/10/highly-available-wordpr
Looks like I have to set some sort of distribute file system. like GlusterFS
mentioned in the blog.
g*****g
发帖数: 34805
21
Typical solution for images is S3. S3's availability is quite high.
EBS also has lower availability based on experience. We are mostly using S3/
in-instance Cassandra cluster/RDS for storage.
Maybe all you need to do is changing the part of reading file to reading S3.

instance
GlusterFS
H******e
发帖数: 4682
22
我目前在一家小公司工作, 做学校软件, 遇到了一个有趣的问题。
公司有个学校软件, 一直是把deployed application codes, database release
scripts, 和需要manually update的items(for examples, different images for
different schools, web.config file updates)放进一个package发送给客户--各个不
同的学校, instruct各个不同的学校upgrade or install in their own web and
database server.
请问, this circumstance, one application, multiple instances, 你们公司怎么
做install and upgrade?
最近我的老板有一个crazy的想法, 想要做自动升级, 可以怎么操作呢? I am thinking
to have a separate application (can not be in the same ap... 阅读全帖
s*******0
发帖数: 367
23
有大虾帮忙看看这个问题。我在网上renew 一个license, 到最后pay 的时候,点击“
pay and submit”的时候出现了这样的提示“object reference not set to an
instance of an object”,没有办法付款了。这是怎么回事啊?
试了IE, google Chrome, and firefox, 都是在最后出现了这样的提示,导致付款无法
进行。大家知道怎么解决这个问题吗?
非常感谢!
m*******s
发帖数: 22
24
Hi,
I wrote a c program, complied and ran with linux g++. It is no problem with
first 26 runs, I mean, I got the output which I want exactly. However, an
error message is got in the 27th run, that is:
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Aborted
Anyone has an idea about how to solve this problem? Thanks a lot.
l*****k
发帖数: 587
25
来自主题: Database版 - oem instance manager
I installed oracle 8i but in the oem, I can't see instance manager?
should I install more package? it is weird. I logged in as sysman
//bow
g***l
发帖数: 18555
26
11个INSTANCE怎么做的啊,偶的CLUSTER上装了俩,PERFORMACE就很糟糕,尤其是IO
i****a
发帖数: 36252
27
so, you must have a complicated list/setting of which instance would
failover to which node in case of failure?
a9
发帖数: 21638
28
为啥要搞这么多instance呢?
g***l
发帖数: 18555
29
SERVER贵啊,多上几个INSTANCE省钱啊
a9
发帖数: 21638
30
用一个instance多建几个库不行吗?嘿嘿。
t****n
发帖数: 263
31
I guess that's because there is only one tempdb per instance .
b*****r
发帖数: 239
w**2
发帖数: 724
33
请问@6是什么意思?
我用ssms打开database看了,一切正常。
求救,大谢!
Unhandled Exception: System.Data.Entity.Infrastructure.DbUpdateException: An
error occurred while up
dating the entries. See the inner exception for details. ---> System.Data.
UpdateException: An error
occurred while updating the entries. See the inner exception for details. --
-> System.Data.SqlClient
.SqlException: The incoming tabular data stream (TDS) remote procedure call
(RPC) protocol stream is
incorrect. Parameter 9 ("@6"): The supplied value is... 阅读全帖
j******9
发帖数: 72
34
RHEL Instance 的当然收费了!LZ没仔细看FREE的条款啊
m*******s
发帖数: 22
35
Hi,
I wrote a c program, complied and ran with linux g++. It is no problem with
first 26 runs, I mean, I got the output which I want exactly. However, an
error message is got in the 27th run, that is:
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Aborted
Anyone has an idea about how to solve this problem? Thanks a lot.
P********e
发帖数: 2610
36
是不是全 class都volatile了?
如果这个instance 是static呢?
N**D
发帖数: 2885
37
link:http://aws.amazon.com/ec2/
http://aws.amazon.com/ec2/pricing/
我打算把我的一个能利用多cpu的系统移植到云上面,先看了下价格,上面是按
instance来算,我的系统一次计算要用8个cpu,最多可以有2个用户登录使用。这种情
况该怎么计算价格?是上面的价格乘以2,乘以8,还是乘以16。问题有些菜鸟,希望得
到指点。谢谢。
w**z
发帖数: 8232
38
来自主题: Programming版 - 如何在amozon搜索特定的instance, EC2
那是ami吧, 不是instance.
c****i
发帖数: 4
39
来自主题: XML版 - about lexelt and instance
what does it mean? Thanks.

q********g
发帖数: 10694
40
来自主题: Hardware版 - 有人用云搞计算吗?
US-East (Northern Virginia) Region
Amazon EC2 running Linux/UNIX
$0.085 per Small Instance (m1.small) instance-hour (or partial hour)
$0.34 per Large Instance (m1.large) instance-hour (or partial hour)
$0.68 per Extra Large Instance (m1.xlarge) instance-hour (or partial hour)
$0.02 per Micro Instance (t1.micro) instance-hour (or partial hour)
$0.50 per High-Memory Extra Large Instance (m2.xlarge) instance-hour (or
partial hour)
$1.00 per High-Memory Double Extra Large Instance (m2.2xlarge) insta... 阅读全帖
t*****y
发帖数: 445
41
Summary of the Amazon EC2 and Amazon RDS Service Disruption in the US East
Region
Now that we have fully restored functionality to all affected services, we
would like to share more details with our customers about the events that
occurred with the Amazon Elastic Compute Cloud (揈C2 last week, our
efforts to restore the services, and what we are doing to prevent this sort
of issue from happening again. We are very aware that many of our customers
were significantly impacted by this event, and as ... 阅读全帖
z*******n
发帖数: 1034
42
http://www.informit.com/articles/printerfriendly/2211695
Introduction to "The Java Language Specification, Java SE 8 Edition"
By James Gosling, Gilad Bracha, Alex Buckley, Bill Joy, Guy L. Steele
Date: Jun 12, 2014
The Java® programming language is a general-purpose, concurrent, class-
based, object-oriented language. It is designed to be simple enough that
many programmers can achieve fluency in the language. The Java programming
language is related to C and C++ but is organized rather dif... 阅读全帖
p******o
发帖数: 125
43
class1 class2
item1 0.5 0.1
item2 0.5 0.2
item3 0.2 0.5
比如这是每个class_m中的instance含有item_i的概率
就是说,对于任何一个class1中的 instance,instance含有item1的概率是0.9,所以
不含的
概率是0.1
P(instance包含item1|class1)=0.5, so P(instance不包含item1|class1)=0.5
同理P(instance包含item2|class1)=0.5, so P(instance不包含!item2|class1)=0.5
假设P(class1)=P(class2)=0.5
比如来了一个新instance,含有item1, item2, 不含item3,所以
P(class1|instance)=0.5*0.5*0.5*(1-0.2)=0.1
P(class2|instance)=0.5*0.1*0.2*(1-0.5)=0.005
所以instance是class1的
也就是说,
l******t
发帖数: 490
44
来自主题: TrustInJesus版 - 基和穆的神应该是同一个吧?
解答:Allah為什麼有時候用複數代詞“我們”
The Quran, Allah and Plurality Issues (Sam Shamoun)
The Quran, much like the Holy Bible, uses plural pronouns for God even more
so than what we find in God’s true Word. Here are several examples:
This is part of the tidings of the things unseen, which We reveal unto thee
(O Apostle!) by inspiration: Thou wast not with them when they cast lots
with arrows, as to which of them should be charged with the care of Mary:
Nor wast thou with them when they disputed (the point). S... 阅读全帖
c*******9
发帖数: 9032
45
来自主题: Programming版 - 围棋规则haskell表示
http://homepages.cwi.nl/~tromp/go/Go.hs
{-# LANGUAGE ScopedTypeVariables #-}
module Go where
import Data.Ix
import Data.List
import Data.Array
import Control.Monad
import Control.Monad.State
data Player = Black | White deriving (Eq, Enum, Show)
data Color = Empty | Stone Player deriving (Eq, Show)
newtype Position p = Position (Array p Color) deriving (Eq)
color :: (Point p) => Position p -> p -> Color
color (Position pos) p = pos!p
class (Show p, Ix p) => Point p where
pointBounds :: (p,p)
... 阅读全帖
t*****y
发帖数: 445
46
来自主题: _SeattleStartup版 - Lessons Netflix Learned from the AWS Outage
On Thursday, April 21st, Amazon experienced a large outage in AWS US-East
which they describe here. This outage was highly publicized because it took
down or severely hampered a number of popular websites that depend on AWS
for hosting. Our post below describes our experience at Netflix with the
outage, and what we've learned from it.
Some Background
Why were some websites impacted while others were not? For Netflix, the
short answer is that our systems are designed explicitly for these sorts of... 阅读全帖
B*****g
发帖数: 34098
47
来自主题: Database版 - 请教一个问题
抄了一个,嘿嘿
WITH
sorted_requests as (
SELECT
member, from_date, to_date,
ROW_NUMBER() OVER (PARTITION BY member ORDER BY from_date, to_date
DESC) Instance
FROM
TABLE1
),
no_overlap(member, from_date, to_date, Instance, ConnectedGroup) as (
SELECT
member,
from_date,
to_date,
Instance,
Instance as ConnectedGroup
FROM sorted_requests
WHERE Instance = 1
UNION ALL
SELECT
s.member,
s.from_date... 阅读全帖
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)