saravanan


{ City } bangalore
< Country > india
* Profession * admin
User No # 64871
Total Questions Posted # 0
Total Answers Posted # 13

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 36
Users Marked my Answers as Wrong # 20
Questions / { saravanan }
Questions Answers Category Views Company eMail




Answers / { saravanan }

Question { TCL, 7142 }

if storage contain 500 disks in this one disk is failed,we
placed new disk in failed disk place,how can we find out
exact path of the newly installed disk when we execute
format command?


Answer

iostat -En for solaris it will show all disk include failed
disk... after find out failed disk..

this is SVM
(1) metadb -i all disk ... after findout failed disk..
(2) metadb -d remove disk
(3) metadb -i verify the disk whether disk removed..
(4) phycsically insert new disk
(5) devfsadm to run... it will bring disk into OS level after
(6) cfgadm to run it will bring disk under SVM
(7) metadb -a -c ctds create state data base
(8) metadb -e

Is This Answer Correct ?    0 Yes 0 No

Question { Satyam, 6930 }

Root mirroring in SVM, in Veritas ?


Answer

SVM


first we take backup /etc/system and /etc/vfstab file
copy some size of two hard disk using prtvtoc cmd with
fmthard -s -

then create 3 replica using metadb -a -f -c c#t0d#s#
C#t1d#s# c#t2d#s#
create primary submirror metainit d21 1 1 c#t#d3s#
create 2nd submir metainit d22 1 1 c#t#d#s#
mappingg primry mir metainit d20 -m d21
metaroot d20 ( update /eyc/system to /etc/vfstab)
metaattach d20 d22

Is This Answer Correct ?    1 Yes 1 No


Question { Satyam, 8675 }

What is top cmd?


Answer

top cmd is third party tools of system monitoring...
top cmd showing following info.. about system

Load Avarage
total no.of process
cpu status
memory
top ten output

Is This Answer Correct ?    3 Yes 0 No

Question { Thomson Reuters, 5315 }

I have a TCP error how can fix this error?


Answer

1) first check tcp service whether is running or not
grep tcp /etc/inetd/inetd.conf
check port services
grep tcp /etc/service
check whether daemons run or not
ps -eg | grep tcp

svcadm start tcp

Is This Answer Correct ?    0 Yes 0 No

Question { Banking, 12821 }

If / (root) file system is full,How to increase root file
system under Solaris volume manager (SVM)?


Answer

metaattach d20 -p 20mb
growfs -m /mountpoint/dev/mt/rdsk/metadevicesname(d20)

Is This Answer Correct ?    8 Yes 2 No

Question { TCS, 5584 }

how to create passwords in nis?


Answer

first you create user frm useradd cmd
then create passwd for user..

finally update /etc/passwd to /var/up/domain/passwd

Is This Answer Correct ?    3 Yes 0 No

Question { TCS, 5584 }

how to create passwords in nis?


Answer

another method..
create user in NIS... USER TO LOGIN IT..
THEN CREATE passwd using :
yppasswd set passwd

Is This Answer Correct ?    3 Yes 0 No

Question { 4756 }

How to add a FS in zone?


Answer

first of all create zone,, during this time.. we can add FS

add fs
set special devies /dev/dsk/c#t#d#s#
set raw devies /dev/dsk/c#t#d#s#
set fs type UFS
end

Is This Answer Correct ?    0 Yes 2 No

Question { 3916 }

What is the config file in DNS?


Answer

DNS SERVER CONFIG FILE :


/etc/named.conf

and

DNS SERVER CONFIG FILE :

/etc/resolve.conf

Is This Answer Correct ?    1 Yes 0 No

Question { CTS, 14154 }

In Solaris, how to check the number of Users currently
logged in ?


Answer

currently logged
# who cmd

Remote login
#rlogin -l

Is This Answer Correct ?    0 Yes 5 No

Question { Wipro, 3603 }

i dont have access to the FTP server, what is the problem
and how to trouble shoot?


Answer

whether the ftb daemons in.ftpd running then

u check entry in /etc/ftpd/ftpusers..if hav no entry you
cant access ftp server.... finally check login name and
password... if incorrect .. you cant do

Is This Answer Correct ?    6 Yes 1 No

Question { CTS, 6049 }

I would like to create users and the users account should be
locked after 3 login attempts. How to create ? And where
these locked information has been stored.
Environment : NIS
and if LDAP also


Answer

the locked info is stored in /etc/shadow .. file
login attempt is stored in /var/adm/loginlog...
the admin set to new password for user....
#passwd username

Is This Answer Correct ?    8 Yes 9 No

Question { Fujitsu, 4791 }

how to create zoneusers


Answer

first create Zone name(myzone) by using #zonecfg -Z my zone

after created zone install and boot zone
#zoneadm -z myzone install
#zoneadm -z myzone boot
after
login to zone
#zlogin -C myzone
now u can create zone user from
useradd -u uid -g gid -G gid -d (dir) -m -s -c username

passwd username

Is This Answer Correct ?    3 Yes 0 No