[SunHELP] total Number of Files in A Directory

TAMTONAX abdulrashed.tamton at aramco.com
Mon May 1 04:02:39 CDT 2006


Hello Saim,

Solaris and AIX - both are different flavours - but still UNIX.

ls -l|wc -l  (calculate the no. of files in the current dir)

ls -la|wc -l (calculate the no. of files in the current dir including hidden
ones)


ls -lR|wc -l (calculate the no. of files in the current dir and beneath -
with subdirectories)

ls -laR|wc -l (calculate the no. of files in the current dir and beneath
including the hidden ones)

find . -type f |wc -l (find all files and calculate the number including
whatever files in the subdirectoris beneath)

find . -type d|wc -l  (find all dirs and calculate the number including
whatever subdirectoris beneath)

Just check the prune option with the find (man find) for more info.

Regards,
Rasheed Tamton.

-----Original Message-----
From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org] On
Behalf Of Abrar, Saaim M.
Sent: Monday, May 01, 2006 11:04 AM
To: sunhelp at sunhelp.org
Subject: [SunHELP] total Number of Files in A Directory

Hello Gurus,

How do we know total number of files in a directory on Solaris and AIX.

Many Regards

Saaim Abrar
System Engineer
Jeraisy Computers and Communications
Oracle Certified 10G Professional
Database Administrator
Sun Solaris 8 Certified UNIX System Administrator Cellular 00966-508160132

-----Original Message-----
From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org]
On Behalf Of sunhelp-request at sunhelp.org
Sent: Wednesday, April 26, 2006 1:34 AM
To: sunhelp at sunhelp.org
Subject: SunHELP Digest, Vol 40, Issue 4

Send SunHELP mailing list submissions to
	sunhelp at sunhelp.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://www.sunhelp.org/mailman/listinfo/sunhelp
or, via email, send a message with subject or body 'help' to
	sunhelp-request at sunhelp.org

You can reach the person managing the list at
	sunhelp-owner at sunhelp.org

When replying, please edit your Subject line so it is more specific than
"Re: Contents of SunHELP digest..."


Today's Topics:

   1. Re: Spam:SunHELP Digest, Vol 40, Issue 3 (Abrar, Saaim M.)
   2. Licence (Sunil Rawat)
   3. Re: NIS query (TAMTONAX)
   4. Sun Fire X2100 IPMI (Martin Frost)


----------------------------------------------------------------------

Message: 1
Date: Tue, 25 Apr 2006 15:26:09 +0300
From: "Abrar, Saaim M." <ABRARS at RCJubail.gov.sa>
Subject: Re: [SunHELP] Spam:SunHELP Digest, Vol 40, Issue 3
To: <sunhelp at sunhelp.org>
Message-ID:
	<40FB8ACA8661B9489590A7F98E98E89005B09716 at RCJEX.JUBAIL.RC.GOV>
Content-Type: text/plain; charset="us-ascii"

Hello Vijay,

I will appreciate if you could write in details.

Thanks in Advance

Saaim Abrar
System Engineer
Jeraisy Computers and Communications
Oracle Certified 10G Professional
Database Administrator
Cellular 00966-508160132

-----Original Message-----
From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org]
On Behalf Of sunhelp-request at sunhelp.org
Sent: Tuesday, April 25, 2006 2:55 PM
To: sunhelp at sunhelp.org
Subject: Spam:SunHELP Digest, Vol 40, Issue 3

Send SunHELP mailing list submissions to
	sunhelp at sunhelp.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://www.sunhelp.org/mailman/listinfo/sunhelp
or, via email, send a message with subject or body 'help' to
	sunhelp-request at sunhelp.org

You can reach the person managing the list at
	sunhelp-owner at sunhelp.org

When replying, please edit your Subject line so it is more specific than
"Re: Contents of SunHELP digest..."


Today's Topics:

   1. Re: Solaris OS Boot Process (vijay  kumar)
   2. Re: RSM 214 sparc storage array on sparcstation 4/5 (Dave Fischer)
   3. Re: RSM 214 sparc storage array on sparcstation 4/5
      (Brigance, Leslie V, WCS)
   4. NIS query (Amit GUPTA)
   5. Re: NIS query (Yazid)
   6. How to check mounted partition ? (Marek Grinberg)
   7. Re: How to check mounted partition ? (TAMTONAX)
   8. Re: How to check mounted partition ? (Marek Grinberg)
   9. Re: NIS query (Brigance, Leslie V, WWCS)


----------------------------------------------------------------------

Message: 1
Date: 18 Apr 2006 10:07:00 -0000
From: "vijay  kumar" <vijay_sys at rediffmail.com>
Subject: Re: [SunHELP] Solaris OS Boot Process
To: "The SunHELP List" <sunhelp at sunhelp.org>
Message-ID: <20060418100700.10949.qmail at webmail25.rediffmail.com>
Content-Type: text/plain; charset="us-ascii"


Hi Saaim

This is a little bit long sequence.  Do you want it in detailed mode or
consized one....

regards
vj



On Tue, 18 Apr 2006 Abrar,Saaim M.
wrote :
>Hello Gurus,
>What are the Phases involved during Sun Solaris Boot
Activity? Step By
>Step.
>
>Many Regards
>
>Saaim Abrar
>System Engineer
>Jeraisy Computers and Communications
>Oracle Certified 10G Professional
>Database Administrator
>Sun Solaris 8 Certified UNIX System Administrator Cellular
>00966-508160132
>
>
>This message is proprietary to Royal Commisson
for Jubail and or its
>customers and intended solely for the use of the
individual or
>organisation to whom it is addressed. It may contain privileged
or
>confidential information. If you have received this message in error,
please notify the originator immediately. If you are not the
>intended
recipient, you are notified that you are strictly
>prohibited from using,
copying, altering, or disclosing the contents
>of this message. Royal
commission for Jubail accepts no
>responsibility for loss or damage arising
from the use of the
>information transmitted by this email including damage
from virus,
>Trojan or Worm.
>_______________________________________________
>SunHELP maillist  -  SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp


------------------------------

Message: 2
Date: Tue, 18 Apr 2006 19:55:54 -0400
From: Dave Fischer <dave at cca.org>
Subject: Re: [SunHELP] RSM 214 sparc storage array on sparcstation 4/5
To: sunhelp at sunhelp.org
Message-ID: <E1FW030-0006Pr-00 at cca.org>

cox_douglas at hotmail.com writes:

>David --
>    Thanks for your reply.  I'm feeling quite ignorant now -- I didn't
>realize the RSM differential HVD wouldn't direct connect to the SE
coming
>out the back of the sparcstation.  Do you think it would be worth it to
buy
>an adapter, or should I just forget it and use the drives individually?
I
>don't know anything about their reliability or cost, although I
wouldn't
>want to spend much more than $40 or so.  Thanks for the advice.
>Doug

Definately worth using the RSM tray.

There's some F/W differential sbus cards on ebay now for under $10.

------ David Fischer ------- dave at cca.org ------- http://www.cca.org
------
------------------------ Drink Your Ovaltine!
-----------------------------


------------------------------

Message: 3
Date: Wed, 19 Apr 2006 07:36:16 -0500
From: "Brigance, Leslie V, WCS" <lbrigance at att.com>
Subject: Re: [SunHELP] RSM 214 sparc storage array on sparcstation 4/5
To: "The SunHELP List" <sunhelp at sunhelp.org>
Message-ID:

<56569A300E14674492BFB3DE2417B14A012B3588 at OCCLUST03EVS1.ugd.att.com>
Content-Type: text/plain; charset="US-ASCII"

Also the reliability of the ones I have used in production in the past & at
home now has been excellent.  As I previously mentioned (I think), it is
also nice to be able to locate the rather noisy array tray a fair distance
away from your workstation. The 2 big fans in the back of the tray keep the
drives nice and cool.
Also be sure that your SCSI cable is compatible.
LesB

-----Original Message-----
From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org]
On Behalf Of Dave Fischer
Sent: Tuesday, April 18, 2006 6:56 PM
To: sunhelp at sunhelp.org
Subject: Re: [SunHELP] RSM 214 sparc storage array on sparcstation 4/5

cox_douglas at hotmail.com writes:

>David --
>    Thanks for your reply.  I'm feeling quite ignorant now -- I didn't
>realize the RSM differential HVD wouldn't direct connect to the SE
coming
>out the back of the sparcstation.  Do you think it would be worth it to
buy
>an adapter, or should I just forget it and use the drives individually?
I
>don't know anything about their reliability or cost, although I
wouldn't
>want to spend much more than $40 or so.  Thanks for the advice.
>Doug

Definately worth using the RSM tray.

There's some F/W differential sbus cards on ebay now for under $10.

------ David Fischer ------- dave at cca.org ------- http://www.cca.org
------
------------------------ Drink Your Ovaltine!
-----------------------------
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp


------------------------------

Message: 4
Date: Tue, 25 Apr 2006 09:59:33 +0530
From: Amit GUPTA <amit-cmg.gupta at st.com>
Subject: [SunHELP] NIS query
To: sunhelp at sunhelp.org
Cc: Amit-cmg Gupta <amit-cmg.gupta at st.com>
Message-ID: <444DA5AD.4010806 at st.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

Hello Gurus,

Greetings !!

My question is :

 In my environment, i have 700 sun blade 150/100, all are binded to NIS.

One of my user wants to have the root access of the machine but also want
the machine to be on the network. My all the clients machines are binded to
the NIS slave servers and in my NIS master server i have also configure the
securenets which has the entry of only NIS slave servers.
Is there any way out, if i can make sure that client machine will be on the
n/w but not binded to any of the NIS servers.


thanks in advance for your response.

regards
amit


------------------------------

Message: 5
Date: Tue, 25 Apr 2006 13:15:46 +0800
From: Yazid <mohd.yazid at gmail.com>
Subject: Re: [SunHELP] NIS query
To: "The SunHELP List" <sunhelp at sunhelp.org>
Message-ID:
	<753628ee0604242215l34630587v1a460d65a17d3ed5 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

I know a bit about NIS, but I don't really understand your question, maybe
you can rephrase in simpler sentence.
What's a securenets?
Do you want to remove one of the machine from NIS?
If you want to give a user root access, what's the problem of just giving
the root passwd of that particular machine to him?
How's the machine being in the network relates to the NIS? I think you can
just remove the machine from NIS, and configure everything using local files
and still able to access the network, or you can also combine the  use of of
local files and NIS.

cheers;
--yazid

On 4/25/06, Amit GUPTA <amit-cmg.gupta at st.com> wrote:
> Hello Gurus,
>
> Greetings !!
>
> My question is :
>
>  In my environment, i have 700 sun blade 150/100, all are binded to
NIS.
> One of my user wants to have the root access of the machine but also
> want the machine to be on the network. My all the clients machines are
> binded to the NIS slave servers and in my NIS master server i have
also
> configure the securenets which has the entry of only NIS slave
servers.
> Is there any way out, if i can make sure that client machine will be
on
> the n/w but not binded to any of the NIS servers.
>
>
> thanks in advance for your response.
>
> regards
> amit
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>


------------------------------

Message: 6
Date: Tue, 25 Apr 2006 10:19:42 +0200
From: Marek Grinberg <marek.grinberg at tele2.se>
Subject: [SunHELP] How to check mounted partition ?
To: The SunHELP List <sunhelp at sunhelp.org>
Message-ID: <444DDB9E.604 at tele2.se>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,

I have mounted a /dumpfiles, and /etc/vfstab shows:
# cat /etc/vfstab
#device         device          mount           FS      fsck    mount
mount
#to mount       to fsck         point           type    pass    at boot
options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr          ufs     1       yes
-
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c0t0d0s1       -       -       swap    -       no      -
/dev/dsk/c0t0d0s0       /dev/rdsk/c0t0d0s0      /       ufs     1
no      -
swap    -       /tmp    tmpfs   -       yes     -
/dev/dsk/c0t9d0s0       /dev/rdsk/c0t9d0s0      /dumpfiles      ufs
1       no      -
/dev/dsk/c0t10d0s0      /dev/rdsk/c0t10d0s0     /temp   ufs     1
no      -

How do I check/verify that files in /dumpfiles reside in c0t9d0s0, and not
in root ?

Regards,

Marek


------------------------------

Message: 7
Date: Tue, 25 Apr 2006 11:46:37 +0300
From: TAMTONAX <abdulrashed.tamton at aramco.com>
Subject: Re: [SunHELP] How to check mounted partition ?
To: 'The SunHELP List' <sunhelp at sunhelp.org>
Message-ID: <0IY900MMCSDQ5J30 at mmp02.aramco.com>

Hello Marek,

df -k /dumpfiles

or to be sure

cd /dumpfiles
df -k .  (dot)

It should show what file system yor are in; it must be c0t9d0s0; if it is
correctly mounted.


Regards,
Rasheed Tamton.
-----Original Message-----
From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org]
On
Behalf Of Marek Grinberg
Sent: Tuesday, April 25, 2006 11:20 AM
To: The SunHELP List
Subject: [SunHELP] How to check mounted partition ?

Hello,

I have mounted a /dumpfiles, and /etc/vfstab shows:
# cat /etc/vfstab
#device         device          mount           FS      fsck    mount
mount
#to mount       to fsck         point           type    pass    at boot
options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr          ufs     1       yes
-
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c0t0d0s1       -       -       swap    -       no      -
/dev/dsk/c0t0d0s0       /dev/rdsk/c0t0d0s0      /       ufs     1
no      -
swap    -       /tmp    tmpfs   -       yes     -
/dev/dsk/c0t9d0s0       /dev/rdsk/c0t9d0s0      /dumpfiles      ufs
1       no      -
/dev/dsk/c0t10d0s0      /dev/rdsk/c0t10d0s0     /temp   ufs     1
no      -

How do I check/verify that files in /dumpfiles reside in c0t9d0s0, and not
in root ?

Regards,

Marek
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp


------------------------------

Message: 8
Date: Tue, 25 Apr 2006 12:08:40 +0200
From: Marek Grinberg <marek.grinberg at tele2.se>
Subject: Re: [SunHELP] How to check mounted partition ?
To: The SunHELP List <sunhelp at sunhelp.org>
Message-ID: <444DF528.3010109 at tele2.se>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

After saving the files, I mounted /dumpfiles, changed 'mount at boot' to

'yes' in /etc/vfstab, and copied the files back.

Thank you for your reply.

Marek

TAMTONAX skrev:
> Hello Marek,
>
> df -k /dumpfiles
>
> or to be sure
>
> cd /dumpfiles
> df -k .  (dot)
>
> It should show what file system yor are in; it must be c0t9d0s0; if it
is
> correctly mounted.
>
>
> Regards,
> Rasheed Tamton.
> -----Original Message-----
> From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org]
On
> Behalf Of Marek Grinberg
> Sent: Tuesday, April 25, 2006 11:20 AM
> To: The SunHELP List
> Subject: [SunHELP] How to check mounted partition ?
>
> Hello,
>
> I have mounted a /dumpfiles, and /etc/vfstab shows:
> # cat /etc/vfstab
> #device         device          mount           FS      fsck    mount
> mount
> #to mount       to fsck         point           type    pass    at
boot
> options
> #
> #/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr          ufs     1       yes
-
> fd      -       /dev/fd fd      -       no      -
> /proc   -       /proc   proc    -       no      -
> /dev/dsk/c0t0d0s1       -       -       swap    -       no      -
> /dev/dsk/c0t0d0s0       /dev/rdsk/c0t0d0s0      /       ufs     1
> no      -
> swap    -       /tmp    tmpfs   -       yes     -
> /dev/dsk/c0t9d0s0       /dev/rdsk/c0t9d0s0      /dumpfiles      ufs
> 1       no      -
> /dev/dsk/c0t10d0s0      /dev/rdsk/c0t10d0s0     /temp   ufs     1
> no      -
>
> How do I check/verify that files in /dumpfiles reside in c0t9d0s0, and
not
> in root ?
>
> Regards,
>
> Marek
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>
>


------------------------------

Message: 9
Date: Tue, 25 Apr 2006 06:54:38 -0500
From: "Brigance, Leslie V, WWCS" <lbrigance at att.com>
Subject: Re: [SunHELP] NIS query
To: "The SunHELP List" <sunhelp at sunhelp.org>
Message-ID:

<56569A300E14674492BFB3DE2417B14A012B35A1 at OCCLUST03EVS1.ugd.att.com>
Content-Type: text/plain; charset="US-ASCII"

I would agree with Yazid. On 2 counts - I also know a Little about NIS.
Used it a lot in past
years but have not implemented it in at least 5 years.
However, UNLESS you have set the root password on ALL the machines to be the
same (big no-no), but in that case you need to change the root password of
JUST the machine on which this user needs root.
Above all don't pass out the NIS root password.
Alternatively install sudo - that user can blow up his/her own machine but
cannot do anything to any other box on which they do not have sudo
privileges.
I'd need more info before I could really help you much. I am sure that you
know NIS enough to know that when you look at the password file on the
client machine the user probably has no account there. No account - no
password unless you are using a combination of local accounts & passwords
AND nis accounts and passwords (shudder).
but that each client box does have a root, sys, and so forth that are local
only to that box.
Are you using NIS or NIS+. (NIS being kind of a security no-no)

-----Original Message-----
From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org]
On Behalf Of Yazid
Sent: Tuesday, April 25, 2006 12:16 AM
To: The SunHELP List
Subject: Re: [SunHELP] NIS query

I know a bit about NIS, but I don't really understand your question, maybe
you can rephrase in simpler sentence.
What's a securenets?
Do you want to remove one of the machine from NIS?
If you want to give a user root access, what's the problem of just giving
the root passwd of that particular machine to him?
How's the machine being in the network relates to the NIS? I think you can
just remove the machine from NIS, and configure everything using local files
and still able to access the network, or you can also combine the  use of of
local files and NIS.

cheers;
--yazid

On 4/25/06, Amit GUPTA <amit-cmg.gupta at st.com> wrote:
> Hello Gurus,
>
> Greetings !!
>
> My question is :
>
>  In my environment, i have 700 sun blade 150/100, all are binded to
NIS.
> One of my user wants to have the root access of the machine but also
> want the machine to be on the network. My all the clients machines are
> binded to the NIS slave servers and in my NIS master server i have
also
> configure the securenets which has the entry of only NIS slave
servers.
> Is there any way out, if i can make sure that client machine will be
on
> the n/w but not binded to any of the NIS servers.
>
>
> thanks in advance for your response.
>
> regards
> amit
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp


------------------------------

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp


End of SunHELP Digest, Vol 40, Issue 3
**************************************


This message is proprietary to Royal Commisson for Jubail and or its
customers and intended solely for the use of the individual or organisation
to whom it is addressed. It may contain privileged or confidential
information. If you have received this message in error, please notify the
originator immediately. If you are not the intended recipient, you are
notified that you are strictly prohibited from using, copying, altering, or
disclosing the contents of this message. Royal commission for Jubail accepts
no responsibility for loss or damage arising from the use of the information
transmitted by this email including damage from virus, Trojan or Worm.


------------------------------

Message: 2
Date: Tue, 25 Apr 2006 18:09:32 +0530
From: "Sunil Rawat" <sunil.rawat at techbooks.com>
Subject: [SunHELP] Licence
To: <sunhelp at sunhelp.org>
Message-ID: <200604251233.SAA11797 at delhimail.tbdelhi.com>
Content-Type: text/plain; charset="us-ascii"

Hi All,
This is not a technical question but !!!

We had lost the L-100 Tape Lib Licence kit any body help me.






Sunil Rawat

System Administrator

Techbooks - The Content Transformation Company

+91 11 41682525 - ext 316

 <mailto:sunil.rawat at techbooks.com> sunil.rawat at techbooks.com

A-28, Mohan Cooperative Industrial Estate Mathura Road, New Delhi 110044

 <http://www.techbooks.com/> www.techbooks.com

 <http://www.techbooks.com/>










[demime 1.01d removed an attachment of type image/jpeg which had a name of
image001.jpg]


------------------------------

Message: 3
Date: Tue, 25 Apr 2006 15:50:55 +0300
From: TAMTONAX <abdulrashed.tamton at aramco.com>
Subject: Re: [SunHELP] NIS query
To: 'The SunHELP List' <sunhelp at sunhelp.org>
Message-ID: <0IYA001JK3OWR0A0 at cairo.aramco.com>

Hello Amit,

By using a different setup than your standard one, I assume the said server
is not a production one.

Also, it is almost five years since I administered a NIS domain. So, can't
remember all the issues. But this might work:

Just stop all the yp services on the client.
/usr/lib/netsvc/yp/ypstop  (man ypstop/ypstart for more info)

You can test whether it is stopped by using ps -ef|grep yp domainame or
ypcat hosts

Modify the /etc/nsswitch.conf ; update/remove nis with files and add all the
hostnames you want to access in the /etc/hosts.

Change the root pw and give to that privileged person to play with your
out-of-NIS system.

Regards,
Rasheed Tamton.



-----Original Message-----
From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org]
On
Behalf Of Brigance, Leslie V, WWCS
Sent: Tuesday, April 25, 2006 2:55 PM
To: The SunHELP List
Subject: Re: [SunHELP] NIS query

I would agree with Yazid. On 2 counts - I also know a Little about NIS.
Used it a lot in past
years but have not implemented it in at least 5 years.
However, UNLESS you have set the root password on ALL the machines to be the
same (big no-no), but in that case you need to change the root password of
JUST the machine on which this user needs root.
Above all don't pass out the NIS root password.
Alternatively install sudo - that user can blow up his/her own machine but
cannot do anything to any other box on which they do not have sudo
privileges.
I'd need more info before I could really help you much. I am sure that you
know NIS enough to know that when you look at the password file on the
client machine the user probably has no account there. No account - no
password unless you are using a combination of local accounts & passwords
AND nis accounts and passwords (shudder).
but that each client box does have a root, sys, and so forth that are local
only to that box.
Are you using NIS or NIS+. (NIS being kind of a security no-no)

-----Original Message-----
From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org]
On Behalf Of Yazid
Sent: Tuesday, April 25, 2006 12:16 AM
To: The SunHELP List
Subject: Re: [SunHELP] NIS query

I know a bit about NIS, but I don't really understand your question, maybe
you can rephrase in simpler sentence.
What's a securenets?
Do you want to remove one of the machine from NIS?
If you want to give a user root access, what's the problem of just giving
the root passwd of that particular machine to him?
How's the machine being in the network relates to the NIS? I think you can
just remove the machine from NIS, and configure everything using local files
and still able to access the network, or you can also combine the  use of of
local files and NIS.

cheers;
--yazid

On 4/25/06, Amit GUPTA <amit-cmg.gupta at st.com> wrote:
> Hello Gurus,
>
> Greetings !!
>
> My question is :
>
>  In my environment, i have 700 sun blade 150/100, all are binded to
NIS.
> One of my user wants to have the root access of the machine but also
> want the machine to be on the network. My all the clients machines are
> binded to the NIS slave servers and in my NIS master server i have
also
> configure the securenets which has the entry of only NIS slave
servers.
> Is there any way out, if i can make sure that client machine will be
on
> the n/w but not binded to any of the NIS servers.
>
>
> thanks in advance for your response.
>
> regards
> amit
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp


------------------------------

Message: 4
Date: Tue, 25 Apr 2006 23:33:30 +0100 (BST)
From: Martin Frost <martin at omniconsumerproducts.com>
Subject: [SunHELP] Sun Fire X2100 IPMI
To: sunhelp at sunhelp.org
Message-ID: <Pine.GSO.4.10.10604252226490.8297-100000 at azathoth>
Content-Type: TEXT/PLAIN; charset=US-ASCII

I have a Sun Fire X2100 with the IPMI option card, which I fitted myself.

The machine is installed with Solaris 10 1/06 from a downloaded DVD ISO.

I have downloaded the supplemental CD v1.3 and flashed the BIOS up to
1.09
and the IPMI firmware up to 4.12. I have configured the IPMI IP address,
netmask, and passwords using the util.exe tool.

Using ipmitool 1.8.7 compiled from source on a nearby Solaris 8 box (with
--enable-solaris-opt --disable-shared) the IPMI seems to be working fine on
the second (bge) ethernet port as expected:

$ ./src/ipmitool -H 192.168.1.11 -U Admin -P xxx sensor list
DDR 2.6V         | 2.600      | Volts      | ok    | na        | 2.496
| na        | na        | 2.704     | na
CPU core Voltage | 1.416      | Volts      | ok    | na        | 0.796
| na        | na        | 1.556     | na
[...snip...]

Apart from this I am having problems.

Firstly, I can't get the "bmc" driver to load on Solaris. I've tried
"devfsadm -i bmc" and a reconfiguration boot. The devfsadm command just
gives me the error "devfsadm: driver failed to attach: bmc". I found one
other person having this same problem using Google but no-one had suggested
a solution. Solaris 10 1/06 includes the 120081-02 bmc driver patch, so it's
not that.

Without the "bmc" driver I cannot use IPMI locally to monitor the machine
status. This is less important than the remote network connection to IPMI,
but I still want it to work, and it may be indicative of some underlying
problem.

Secondly, I can't get the IPMI to share the network port with the OS.
Currently I have the IPMI on 192.168.1.11 on bge0 (second port) and the OS
on 192.168.1.10 on bge0 (first port), but I'm going to send this machine to
the colo soon and they charge an extra monthly fee for extra switch ports
and IP addresses, so I'd like to avoid this if at all possible.

I'm pretty sure that it's possible to share both the network port and even
the IP address. As far as I know the X2100 is based on the Tyan 2865
motherboard. A friend uses these motherboards and IPMI cards under Linux at
work and says that it shares the port fine. I also found this blog
entry:

http://blogs.sun.com/roller/page/shepler?entry=port_623_or_the_mount

suggesting that the V65x Sun Xeon servers could share the port and even the
IP address for IPMI.

If I plumb the bge0 interface, assign it an IP address (either a different
IP address, or the same one as the IPMI card) and bring it up then the IPMI
seems to stop responding and will not respond in the future even if the
interface is unplumbed.

Additionally, I have at least once had the IPMI simply stop responding
remotely on its own IP address, even in the absence of any interface
plumbing provocation.

Can anyone shed light? Does this sound like faulty hardware, or do I need to
update some firmware or driver?

The IPMI card is a Tyan M3290, and the util.exe tool is identical to that
supplied by Tyan. The IPMI card ("SMDC") manual is at:

ftp://ftp.tyan.com/software/tso/m3290/manuals/M3289M3290%20v1.0_0915.pdf

but this doesn't mention Solaris.

Tyan's support site also mentions flashing the Broadcom Ethernet ASIC
firmware, and provides the files in:

ftp://ftp.tyan.com/software/tso/m3290/firmware/s2865/BCM5721/6.09/

Is this appropriate on an X2100? Sun supply the SMDC firmware but not the
Broadcom ASIC firmware.

I'd be grateful for any help anyone can offer.

Thanks!

Martin


------------------------------

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp


End of SunHELP Digest, Vol 40, Issue 4
**************************************


This message is proprietary to Royal Commisson for Jubail and or its
customers and intended solely for the use of the individual or organisation
to whom it is addressed. It may contain privileged or confidential
information. If you have received this message in error, please notify the
originator immediately. If you are not the intended recipient, you are
notified that you are strictly prohibited from using, copying, altering, or
disclosing the contents of this message. Royal commission for Jubail accepts
no responsibility for loss or damage arising from the use of the information
transmitted by this email including damage from virus, Trojan or Worm.
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list