Search Results

Search: Posts Made By: qiulang
4,298
Posted By qiulang
Of course I know AAA and have a basic idea of...
Of course I know AAA and have a basic idea of what RADIUS does and that why I asked this question b/c there are many ways to do what RADIUS can do.

So my question is why choosing it over the...
4,298
Posted By qiulang
Why use RADIUS for authentication as there are many ways to do it ?
I guess I probably ask a dumb question but why use RADIUS for authentication as there are many ways to do it, as authentication is basically a user/password check?

What is the benifit(s) of using...
1,770
Posted By qiulang
Thanks! :o
Thanks! :o
1,770
Posted By qiulang
clause for setting a variable to $1 if it exists
Hi all,

What is the simplest way to setting a variable to $1 if it exists ?
If I go with name=${"$1":-abc}, bash complains "bad substitution",

So I use
name="$1"
name=${name:-abc}

But...
Forum: AIX 02-25-2010
4,815
Posted By qiulang
Oh hey, thanks! I paste the procedures here...
Oh hey, thanks!

I paste the procedures here in case someone else also needs it. So in the cookbook chapter 2.4.3 , it mentions

1. Shared volume groups that contain file systems that will be...
Forum: AIX 02-25-2010
4,815
Posted By qiulang
Hi, thanks for answering my question! I am a...
Hi, thanks for answering my question!

I am a totally newbie to HACMP, so can you further elaborate how I can use Service Label for the NFS export ?

Thanks again!
Forum: AIX 02-24-2010
4,815
Posted By qiulang
NFS won't work till I start HACMP
Hi,

My NFS does not work till I start HACMP. The NFS service is indeed started when server starts. But it is not in active state, when I use lssrc to check NFS services' status I find they are all...
2,374
Posted By qiulang
Thanks for replying my question. I am using...
Thanks for replying my question.
I am using oracle. I know sql*loader probably works for this situation.
I just want to know whether awk has such kind of utility.
2,374
Posted By qiulang
Is there anyway to make awk "talks" to DB, say any awk-ODBC tools
Hi all,

Is there anyway to make awk talk to DB ? So my awk script reads the data from some text file and eventually those data need to be stored in database.

So is there anyway to do it in awk...
Forum: AIX 10-30-2009
18,503
Posted By qiulang
Thanks for the answer. Actually what I did...
Thanks for the answer.

Actually what I did not understand before was what was the value of running 2 instances of the same application on one node during the failover? If the resource group...
Forum: AIX 10-28-2009
18,503
Posted By qiulang
Thanks for the reply! Man, "possibilities are...
Thanks for the reply! Man, "possibilities are countless" but the learning curve is just :eek:

So another newie question. When failover happens, should I let the failed node auto-reboot or should I...
Forum: AIX 10-27-2009
18,503
Posted By qiulang
Thanks for the answerd and looks like I have got...
Thanks for the answerd and looks like I have got a lot of reading to do! Man :D

BTW my original question was "what is the benefit of running HACMP for an active-active cluster with the same app...
Forum: AIX 10-27-2009
18,503
Posted By qiulang
What is the benefit of using HACMP with RAC
Thanks for answering my question!

But back to my original question, if concurrent HACMP RG means Oracle RAC and since no takeover is involved (and RAC10g has its own clusterware), what is the...
Forum: AIX 10-27-2009
18,503
Posted By qiulang
Question about HACMP for active-active mode
Hi all,

I am new to HACMP. So sorry for the newie question. But I did search the forum and it seems that no one asks this before.

So if a 2-node cluster runs in active-active mode (and the...
9,199
Posted By qiulang
8k
Thanks for replying although this was not what I was looking for.

I find from here Netcat: the TCP/IP swiss army (http://nc110.sourceforge.net/) saying that "Data from the network connection is...
9,199
Posted By qiulang
How does netcat manage the data it transfers ?
Hi all,

When using netcat to transfer the data over socket, if no connection is established, how long will netcat keep the data; will it discard the "oldest" data ?

Say for example I use "Some...
11,318
Posted By qiulang
4 cores
Hi my server is power 550 with 4 core processors at 3.5 GHZ and 8G memory.

The app we develop is a Java application. So will this information help us to determine the sampling rate and peak time...
11,318
Posted By qiulang
sampling rate
Thanks for the reply. And my system is indeed AIX (Power server). How did you know that ? COOL!!

I am not sure exactly why my customer want to monitor the cpu/memory usage. Maybe they want their...
11,318
Posted By qiulang
How often should I monitor the CPU and memory usage ?
Hi all,

When you monitor the CPU and memory usage, how often do you do it ? Do it too often or too rarely will both cause the problem. So does anyone have hand-on experience ?

And for my...
16,925
Posted By qiulang
Thanks for the reply. With your input I further...
Thanks for the reply. With your input I further get the following information,



job control is by default turned off in non-interactive mode (shell script runs in non-interactive mode -- Bash...
16,925
Posted By qiulang
Why can't embed commands like fg or bg in a shell script ?
Hi

Can someone explain in an easy way that why can't embed commands like fg or bg in a shell script ?
15,737
Posted By qiulang
How to make exec 3>&0 in the shell script
So if I put exec 3>&0 in my shell script (call it aname ) like this

#!/usr/bin/sh
exec 3>&0
awk 'BEGIN {printf "Enter your name:" ; getline name < "/dev/fd/3"}{ print name, $3 }' $1

And...
15,737
Posted By qiulang
Thanks for you guys reply, it works!!:b: ...
Thanks for you guys reply, it works!!:b:

Then the question remained is how to make "exec 3>&0" work in shell script (maybe I need to start another thread for it)?
15,737
Posted By qiulang
"exec 3>&0" seems to only work when typing at shell prompt
Well, typing "exec 3>&0" at shell prompt works as you said. But if you put it in shell script, it just doesn't work (I hit this problem before and never figure out why). So the codes as you suggest...
15,737
Posted By qiulang
/dev/fd/0 is the alias for /dev/stdin and no I...
/dev/fd/0 is the alias for /dev/stdin and no I don't mean to open several files in a row(of course the usage of cat in my example is just for demonstation). I just want to read the users' input and...
Showing results 1 to 25 of 43

 
All times are GMT -4. The time now is 06:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy