Escolar Documentos
Profissional Documentos
Cultura Documentos
1) Mount the cdrom 2)/cdrom/eis-dvd/sun/install 3) . ./profile-EIS 4) ./setup-standard.sh 5) cd /cdrom/eis-dvd/sun/patch 6) go to the desired directory where the patches are available 7) unpack_patches 8) provide the path for unpacking for ex : /var/sun 9) init S 10) cd /var/sun 11) ./install_all_patches
Or
1) Need to take the backup file system through ufsdump or need to remove one of the root mirror from the server. 2) Need to check the current patch version on the server # uname -a ( For kernel patch ) # showrev -p ( For other patches ) 3) Check the latest patch in http://sunsolve.sun.com 4) Go through the Read me file 5) Boot the server in to the single user mode #shutdown -g0 -y -i1 (or #init 0 & ok boot -s) 6) Install the patch #Patchadd < Ptach > 7) Down the machine in to the OBP using #init 0 8) Do the reconfiguration boot
Re: I have a hard disk. After inserting this what are the recommended steps to install it on your solaris ?
First check for a new hardware: # devfsadm New you will find a new disk on another bus c1t*do @ /dev/rdsk/c1t*d0s0 (here* indicates the diskette number) to list available disks # ls /dev/rdsk/*s0 Next have to format the new for creating the partitions # format (it will list all the available disks) Then select the disk number hit enter then itll show Selecting c1t*d0 [Disk formatted] If suppose its not formatted automatically, then type format at format prompt to low level format the disk and create a partition, then type y to create the default partition. # format> fdisk No fdisk table exists. The default partition for the disk is: a 100% SOLARIS System partition Type y to accept the default partition, otherwise type n to edit the partition table. Y Go to partition menu by typing partition at format prompt Type print to display the default table #partition > print Then select partition 0 (zero) and create the partition
Flag wm 0
Cylinders 0
Size 0
Enter partition id tag[unassigned]: Enter partition permission flags[wm]: Enter new starting cyl[0]: 1 Enter partition size[0b, 0c, 1e, 0.00mb, 0.00gb]: 1.9gb Then label the partition #partition> label Ready to label disk, continue? Y Then quit #partition> quit #format> quit # Create a file system on the disk bash-3.00# newfs /dev/rdsk/c2t1d0s0 newfs: construct a new file system /dev/rdsk/c2t1d0s0: (y/n)? y /dev/rdsk/c2t1d0s0: 3985408 sectors in 973 cylinders of 128 tracks, 32 sectors 1946.0MB in 43 cyl groups (23 c/g, 46.00MB/g, 11264 i/g) Super-block backups (for fsck -F ufs -o b=#) at: 32, 94272, 188512, 282752, 376992, 471232, 565472, 659712, 753952, 848192, 3109952, 3204192, 3298432, 3392672, 3486912, 3581152, 3675392, 3769632, 3863872, 3958112 bash-3.00# now the new file system is created now mount this and use it ---------------------------------------------------bash-3.00# ls /dev/rdsk/*s0 (checking the avalilable disks) /dev/rdsk/c0d0s0 /dev/rdsk/c1t0d0s0 /dev/rdsk/c2t0d0s0 bash-3.00# devfsadm(checking for new hardware)
bash-3.00# ls /dev/rdsk/*s0 /dev/rdsk/c0d0s0 /dev/rdsk/c1t0d0s0 /dev/rdsk/c2t0d0s0 /dev/rdsk/c2t1d0s0(got the new disk) bash-3.00# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0d0 <DEFAULT cyl 1302 alt 2 hd 255 sec 63> /pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0 1. c2t0d0 <DEFAULT cyl 1020 alt 2 hd 128 sec 32> /pci@0,0/pci15ad,1976@10/sd@0,0 2. c2t1d0 <DEFAULT cyl 1021 alt 2 hd 128 sec 32> /pci@0,0/pci15ad,1976@10/sd@1,0 Specify disk (enter its number): 2 (2 is the new disk) selecting c2t1d0 [disk formatted] FORMAT MENU: disk - select a disk type - select (define) a disk type partition - select (define) a partition table current - describe the current disk format - format and analyze the disk fdisk - run the fdisk program repair - repair a defective sector label - write label to the disk analyze - surface analysis defect - defect list management backup - search for backup labels verify - read and display labels save - save new disk/partition definitions inquiry - show vendor, product and revision volname - set 8-character volume name !<cmd> - execute <cmd>, then return quit format> fdisk No fdisk table exists. The default partition for the disk is: a 100% "SOLARIS System" partition
Type "y" to accept the default partition,otherwise type "n" to edit the partition table. y format> p PARTITION MENU: 0 - change `0' partition 1 - change `1' partition 2 - change `2' partition 3 - change `3' partition 4 - change `4' partition 5 - change `5' partition 6 - change `6' partition 7 - change `7' partition select - select a predefined table modify - modify a predefined partition table name - name the current table print - display the current table label - write partition map and label to the disk !<cmd> - execute <cmd>, then return quit partition> p Current partition table (original): Total disk cylinders available: 1020 + 2 (reserved cylinders) Part Tag Flag Blocks 0 unassigned wm (0/0/0) 0 1 unassigned wm (0/0/0) 0 2 backup wu (1020/0/0) 4177920 3 unassigned wm (0/0/0) 0 4 unassigned wm (0/0/0) 0 Cylinders 0 0 0 - 1019 0 0 Size 0 0 1.99GB 0 0
5 unassigned wm (0/0/0) 0 6 unassigned wm (0/0/0) 0 7 unassigned wm (0/0/0) 0 8 boot wu (1/0/0) 4096 9 unassigned wm (0/0/0) 0 partition> 0 Part Tag Blocks 0 unassigned (0/0/0) Flag wm 0
0 0 0 0 0 0
0 0 0 2.00MB 0
Cylinders 0
Size 0
Enter partition id tag[unassigned]: Enter partition permission flags[wm]: Enter new starting cyl[0]: 1 Enter partition size[0b, 0c, 1e, 0.00mb, 0.00gb]: 1.9gb(creating partiation with 1.9gb) partition> p Current partition table (unnamed): Total disk cylinders available: 1020 + 2 (reserved cylinders) Part Tag Flag Blocks 0 unassigned wm (973/0/0) 3985408 1 unassigned wm (0/0/0) 0 2 backup wu (1020/0/0) 4177920 3 unassigned wm (0/0/0) 0 4 unassigned wm (0/0/0) 0 5 unassigned wm (0/0/0) 0 Cylinders 1 0 0 - 1019 0 0 0 973 Size 1.90GB 0 1.99GB 0 0 0
0 0 0 0 0
0 0 2.00MB 0
Partition> label Ready to label disk, continue? y Partition> quit FORMAT MENU: disk - select a disk type - select (define) a disk type partition - select (define) a partition table current - describe the current disk format - format and analyze the disk fdisk - run the fdisk program repair - repair a defective sector label - write label to the disk analyze - surface analysis defect - defect list management backup - search for backup labels verify - read and display labels save - save new disk/partition definitions inquiry - show vendor, product and revision volname - set 8-character volume name !<cmd> - execute <cmd>, then return quit format> quit bash-3.00# newfs /dev/rdsk/c c0d0p0 c0d0s15 c1t0d0p3 c1t0d0s4 c2t0d0s1 c2t0d0s7 c2t1d0s12 c0d0p1 c0d0s2 c1t0d0p4 c1t0d0s5 c2t0d0s10 c2t0d0s8 c2t1d0s13 c0d0p2 c0d0s3 c1t0d0s0 c1t0d0s6 c2t0d0s11 c2t0d0s9 c2t1d0s14
c0d0p3 c2t1d0p0 c0d0p4 c2t1d0p1 c0d0s0 c2t1d0p2 c0d0s1 c2t1d0p3 c0d0s10 c2t1d0p4 c0d0s11 c2t1d0s0 c0d0s12 c2t1d0s1 c0d0s13 c2t1d0s10 c0d0s14 c2t1d0s11
c0d0s4 c2t1d0s15 c0d0s5 c2t1d0s2 c0d0s6 c2t1d0s3 c0d0s7 c2t1d0s4 c0d0s8 c2t1d0s5 c0d0s9 c2t1d0s6 c1t0d0p0 c2t1d0s7 c1t0d0p1 c2t1d0s8 c1t0d0p2 c2t1d0s9
bash-3.00# newfs /dev/rdsk/c2t1d0s c2t1d0s0 c2t1d0s11 c2t1d0s14 c2t1d0s3 c2t1d0s6 c2t1d0s9 c2t1d0s1 c2t1d0s12 c2t1d0s15 c2t1d0s4 c2t1d0s7 c2t1d0s10 c2t1d0s13 c2t1d0s2 c2t1d0s5 c2t1d0s8 bash-3.00# newfs /dev/rdsk/c2t1d0s0 newfs: construct a new file system /dev/rdsk/c2t1d0s0: (y/n)? y /dev/rdsk/c2t1d0s0: 3985408 sectors in 973 cylinders of 128 tracks, 32 sectors 1946.0MB in 43 cyl groups (23 c/g, 46.00MB/g, 11264 i/g) super-block backups (for fsck -F ufs -o b=#) at: 32, 94272, 188512, 282752, 376992, 471232, 565472, 659712, 753952, 848192, 3109952, 3204192, 3298432, 3392672, 3486912, 3581152, 3675392, 3769632, 3863872, 3958112 bash-3.00# mkdir /harish (creating a directory to mount) bash-3.00# mount /dev/dsk/c2t1d0s c2t1d0s0 c2t1d0s11 c2t1d0s14 c2t1d0s3 c2t1d0s6 c2t1d0s9
c2t1d0s1 c2t1d0s12 c2t1d0s15 c2t1d0s4 c2t1d0s7 c2t1d0s10 c2t1d0s13 c2t1d0s2 c2t1d0s5 c2t1d0s8 bash-3.00# mount /dev/dsk/c2t1d0s0 /harish/ bash-3.00# df -h Filesystem size used avail capacity Mounted on /dev/dsk/c0d0s0 6.9G 3.5G 3.3G 52% / /devices 0K 0K 0K 0% /devices ctfs 0K 0K 0K 0% /system/contract proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab swap 1022M 984K 1021M 1% /etc/svc/volatile objfs 0K 0K 0K 0% /system/object sharefs 0K 0K 0K 0% /etc/dfs/sharetab /usr/lib/libc/libc_hwcap1.so.1 6.9G 3.5G 3.3G 52% /lib/libc.so.1 fd 0K 0K 0K 0% /dev/fd swap 1021M 40K 1021M 1% /tmp swap 1021M 32K 1021M 1% /var/run /dev/dsk/c2t0d0s0 1.8G 1.9M 1.8G 1% /NFS /dev/dsk/c0d0s7 2.4G 2.5M 2.3G 1% /export/home /dev/dsk/c2t1d0s0 1.8G 1.9M 1.8G 1% /harish(now the new harddisk is formated and mounted) bash-3.00#
ypservd
If /etc/system file is corrupted how will you recover it, if we dont have a CDROM then what is the procedure? If /etc/system file corrupted we will use backup tapes and recover it. if at all we r having no backup then we will go to ok prompt and copy the file /dev/null file to the /etc/system. /dev/null file copies the default contents to the /etc/system file to boot the sys
Re: In a E6800 server, how can you login to domain shell and system Console?
schostname:SC>console -d <domain_ID> connected to Domain A Domain Shell for domain A OK> or login:
Re: In a two node cluster how can you bring the one of the node in maintenance mode.
Bring the resource groups offline scswitch -F -g resourcegroup then shutdown -y -g0 -i0
Re: What is the command to check the connectivity between 2 nodes? ping hostname or ip address.
if you get hostname is alive, then the connectivity is ok.
Re: What are the daemons in VERITAS? Vxconfigd Vxbackupd Vxnotifyd Vxrelocd Vxiod Re: What is difference between incremental backup and differential backup?
Incremental: Only those files will be included which have been changed since the last backup. Differential: Only those files will be included which have been changed since the last Full backup
Tar: 1. Used for single or multiple files backup. 2. Can't backup special character & block device files. 3. Works only on mounted file system.
RAID 1 Mirroring RAID 5-Striped array with rotating parity. Concatenation: Concatenation is joining of two or more disk slices to add up the disk space. Concatenation is serial in nature i.e. sequential data operations are performed serially on first disk then second disk and so on. Due to serial nature new slices can be added up without having to take the backup of entire concatenated volume, adding slice and restoring backup. Striping: Spreading of data over multiple disk drives mainly to enhance the performance by distributing data in alternating chunks - 16 k interleave across the stripes. Sequential data operations are performed in parallel on all the stripes by reading/writing 16k data blocks alternatively form the disk stripes. Mirroring: Mirroring provides data redundancy by simultaneously writing data on to two sub mirrors of a mirrored device. A sub mirror can be a stripe or concatenated volume and a mirror can have three mirrors. Main concern here is that a mirror needs as much as the volume to be mirrored. RAID 5: RAID 5 provides data redundancy and advantage of striping and uses less space than mirroring. A RAID 5 is made up of at least three disks, which are striped with Parity information written alternately on all the disks. In case of a single disk failure the data can be rebuild using the parity information from the remaining disks.
Re: How to change the hostname and Ethernet address in single command # /usr/sbin/sysidconfig
Otherwise open the /etc/nodename or /etc/hostname file and edit the hostname and ip address.
Inodes store information on files, such as user and group Ownership, access mode (read, write, execute permissions) and type of file. On many types of file systems the number of inodes available is fixed at file system creation, limiting the maximum number of files the file system can hold. A typical fraction of space allocated for inodes in a file system is 1% of total size. The inode number indexes a table of inodes in a known location on the device; from the inode number, the kernel can access the contents of the inode, including the data pointers, and so the contents of the file. A file's inode number can be found using the ls -i command, while the ls -l command will retrieve inode information (i.e. the file information). Some Unix-style file systems such as ReiserFS may avoid having a table of inodes, but must store equivalent data in order to provide equivalent functions. The data may be called stat data, in reference to the stat system call that provides the data to programs. File names and directory implications: Inodes do not contain file names, only file metadata. Unix directories are lists of "link" structures, each of which contains one filename and one inode number. The kernel must search a directory looking for a particular filename and then convert the filename to the correct corresponding inode number if the name is found. The kernel's in-memory representation of this data is called struct inode in Linux. Systems derived from BSD use the term vnode, with the v of vnode referring to the kernel's virtual file system layer.
POST: Power on self-test, it will detect hardware, machine host ID, serial No, architecture type, memory and Ethernet address and it will load the primary program called bootblk. OBP: Open boot programmable, 1. Diagnosing all the system hardware and 2. Initializing the boot parameter. 3. Creating device trees and load the boot block From (0-15 sector), it is called as secondary boot programmable ufsboot. KERNELINITIALIZATION: ufsboot load the kernel (generic unix), kernel will load all the necessary devices modules to mount the root partition to continue the booting process. Init Phase: It will started by executing of /etc/init program and start other process reading the /etc/inittab files, as the directory in the /etc/inittab files. . memory.
How to now the network speed, whether it is a full duplex or half duplex? and what is full duplex and half duplex?
# dladm show-dev bge0 link: up duplex: full bge1 link: down duplex: unknown speed: 100 speed: 0 Mbps Mbps
ls -la
How to set the hostname or username at command prompt? where to set password length, max and min?
Set password length edit /etc/default/password file and modify max length and min length. #hostname kiran #hostname kiran to update it permanently update file /etc/hosts /etc/inet/ipnodes /etc/nodename /etc/hosts.nic
the /etc/vfstab
Re: How to find out MAC address as well as IP address of the host?
ifconfig -a
How to find out the how many disks attached in the server?
format
By default sys is booting upto runlevel 3 In reverse way (3,2,1,S,s,0) it is shutting down
OR 1-Boot the server with the help of solaris os cd ok>boot cdrom -s 2-Mount the root file #mount /dev/dsk/<Physical name e.g. c0t0d0s0> /a 3-Go inside in this directory #cd a 4-Edit the shadow file #vi /etc/shadow ......loginID: passwd remove the passwd field which is the second field in this file. 5-remount the file system #cd / #umount a #reboot
Remove the os cd and boot the machine normally. Login with root account and press enter this time it will not ask any password.
If you have forgotten the root password for a server, how do you get back in?
boot cdrom -s
mount /dev/dsk/cotdos0 /a cd /a/etc TERM=vt100 export TERM vi shadow //remove passwd field after save the file cd / umount /a init 6
You can receive e-mail, but when u try to send e-mail.. u can't send any. What is wrong?
problem may be in RELAY / DNS lookup
Step 1: First take the backup of all the mail configuration files like /etc/system, /etc/vfstab, /etc/mnttab, df -h, format. Step 2: Download the patch from www.sun.sunslove.com or from the CJS server. Step 3: Raise a ticket to the concern teams for the downtime to install the patch. Step 4: Get the approvals from the client about the change management for installing the patch. Step 5: We have to study the README.txt file to follow the procedure for installing the patch. step 6: Check the previously installed patch using showrev -p or patchadd -p Step 7: If the disk is in root mirroring, we have to detach the root mirror and restart the server. step 8: We need to check by the disks are working fine or not by logging into single user mode. step 9: We need to confirm from the sun people whether the patch is suitable on the server on which we are going to install whether it supports or not. Step 10: If all the approvals and the patch is ready install the patch using the command patchadd patch name. Step 11: restart the server to check the cpu utilization after the installation of the patch. step 12: we need to keep in observation for 3 to 4 days. step 13: If the utilization is great than 60% we have the patch is not supported so we have to install the previous patch using the command patchadd -d step 14: If everything is fine the patch is installed and we may use the server.
After adding LUNs disk is not showing in the format command. How to resolve that?
just run devfsadm command OR Add the lun entry in /kernel/drv/sd.conf Run the devfsadm command If still didn't show the disks, reboot the server #reboot -- -r
Re: what are the run levels that are used in solaris10?
init init init init init init init init 0:ok prompt mode 1: single user mode with the existing files s/init S:single user mode without the existing files 2:multiuser mode without supporting NFS file system 3:multiuser mode with NFS file system support 4:allocated for feature reference 5:Shoutdown 6:Reboot
C] Pseudo files system (virtual file system, memory based file system, swapfs, procfs, mntfs, dev, & tmpfs)
how to check network card speed ? set it mode(half/full duplex)? ndd -get /dev/hme0 link-speed ndd get /dev/hme0 link-mode
dladm show-dev
SSH is nothing but Secure Shell..!! Which help us to login to the remote system without any interruption or hacking. Most of the Environments using this SSH to login to the remote servers. User is not able to perform cron jobs. How do u troubleshoot? By default root user have permission to run crontab, check wheter /etc/cron.d/cron.allow file is present , if it then check entry for the user who performing the cron jobs then set the #EDITOR=vi; , # export EDITOR & run crontab -e command,
Troubleshooting SMF? step1: remove the error.The error will show when ur system rebooted then follow the steps #svcs -x #svcs clear filesystem/local #svcs enable filesystem/local Re: Root mirroring in veritas?
#vxencap -c -g rootdg -s 1024 -f sliced rootdisk=c0t0d0s0 Reboot the system after encap to effect the changes and modify the vfstab file #vxdisksetup -i c0t1d0s0 #vxdg -g rootdg adddisk rootmirror=c0t1d0s0 #vxmirror -g rootdg rootdisk rootmirror
OR vxdisksetup -i rootmirror=c1t0d0
vxdg -g rootdg -k adddisk rootmirror=c1t0d0 vxrootmiror rotdisk rootmirror or vxdiskadm option mirroring
In SVM, get new disk and partion the new disk same as boot disk # prtvtoc /dev/rdsk/<> |fmthard -s - <new_disk> # create meta with metainit command and do metattach with all volumes # On root partion, run metaroot command to convert it under meta. Also need to edit /etc/system with set md:mirrored_root_flag=1 with veritas root mirroring. 1. Initialize the both disk under veritas and add into root disk group 2. once initialize, encapsulate the disk so that no data to be lost. 3. use vxrootmir command or vxdiskadm and option 6.
OR
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# mapping primary mir metainit d20 -m d21 metaroot d20 ( update /etc/system to /etc/vfstab)
Re: Jumpstart?
The custom JumpStart installation method is a command line interface that enables you to automatically install or upgrade several systems, based on profiles that you create. The profiles define specific software installation requirements. You can also incorporate shell scripts to include preinstallation and postinstallation tasks. Youchoose which profile and scripts to use for installation or upgrade. Also, you can use a sysidcfg file to specify configuration information so that the custom JumpStart installation is completely hands-off.
$ :> file_name
How to check version of NFS? nfsstat -m nfsstat -s How do you connect to remote machines? I said using secure crt using ssh.
you can use ssh if sshd dameon running on server. Else telent,rlogin are couple of solutions.
Re: How to bring New LUN under veritas, create f/s on it?
# devfsadm # label the disk with format command # vxdctl enable # initilize and add the disk in diskgroup either vxdiskadm or vxdisksetup -i and vxdiskadd command # create volume with vxassist command # create file system with mkfs or newfs command.
Solaris Server is not running in multi-level? Continously restarting after installing the package?
Go the single user mode and remove the package and reboot
When iam loging in to my system as through the telnet iam not able to appears on the screen is unable to host:the connection is refused.pls as soon as possible.
For solaris 10
#svcadm enable telnet/ssh #vi /etc/default/login (through console) #console=/dev/console (comment the line) press ESC : wq return
I am not login to server with telnet and ssh then what to do?
1. Try to first ping the server, if not pingable check network configurations. 2. Make sure the server is in run level 3. 3. Check both services telnet, ssh svcs telnet svcs ssh 4. Enable them if they are disabled, svcadm enable telnet svcadm enable ssh
Re: how many layouts we have in veritas volume manager and what is the task of those layouts?
If the question is related to disk-layouts there are 3+1. 1.Simple 2.Sliced 3.CDS +4.NONE (We can initialize a disk without above three when we have a special purpose. If the question is related to volume-layouts there are 1.concat-mirror 2.mirror-stripe 3.raid5 4.mirror 5.concat 6.stripe
Custom jumpstart works on which protocol? or What basis custom jumpstart works on?
Reverse address resolution protocol (RARP) and Trivial File Transfer Protocol (TFTP)
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?
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 <olddiskname> <newdisklname>
Re: If root file system 100% full what you have to do?
If system is running, affirmative action is that mv all log files to some other file system then find out which file/files have been created recently other than logs and then first stop the process which is creating and then mv or delete that files.
Re: what are soft links and hard links, and differentiate them. soft link : we can create soft link by using #ln -s command we can create soft link,if the source file doesnt exist. If the source file delete,we cannot access the content.But the link exist.we can create a link file which is belong to another file system,another directory. Soft link doesnt share the inode number.if u issue ls -l command l in the first column display the file is a soft link. Hard link: #ln <source file> <link> we cannot link the file,if the file doesnt exist. we can link the file with in a directory. if the source file delete,we can view the content of the link file.. Hd share the inode number. Re: How can i stop the telnet service in solaris 8 and 9?
#/etc/init.d/telnetd start #/etc/init.d/telnetd stop
I want to Know how many LUNs are in my Solaris10 server as well as NIC cards?
#fcinfo hba-port #dladm show-dev
take offline or brought online and failover is also disabled. To freeze and unfreeze a service group hagrp -freeze service_group hagrp -unfreeze service_group Re: purpose of lost+found..? while the system boots it runs fsck on each file system, and if any inconsistency is found then it tryes to correct it. but if it is not able then then it it creates a Lost+Found directory and writes thes files into it ex: inode incosidtant files unreferenced files etc.
After the system is booted successes fully creat a file /etc/system file using touch command
Re: wht is the difference between mkfs & newfs.... is there any difference b/w both of them.?
mkfs creates file systems depends upon the option witch we have given. for example : mkfs -o vxfs /dev/rdsk/c0t0d0s7
mkfs -o ufs /dev/rdsk/c0t0d0s6 but whith the help of #newfs we can creates only UFS,this command is only for unix file system
Re: How to use disk quotas in solaris (command mode) ? what is the procedure for checking disk space of the particular user in command mode? for checking the disk quotas for all the file systems in a disk. #repquota -av
for a perticular user quota #quota -v /home/username
u have 10 solaris boxes and u have given to add 200 users? At fast how can u add the 200 users?
By using Shell Scripting..... OR Create a model template and use that template to add all other users.
2) tar can't skip the bad blocks. 3) tar can't to take the multi volume backups. 4)it is used only for normal files (or) directories not for file systems.
how to take backup and restore with Ufsdump and Ufsrestore and full backup
for taking back up you can use by, #ufsdump 0uf /dev/rmt/0 / for restoring the root backup you can use by, #ufsrestore -ivf ufsrestore>ls --->it will shows all contens
(OR) We can use backup stages from 0-9 0 is used for taking full backup,1 to 9 is used for Incremental backup.
#ufsdump 0uf /dev/rmt/0(destination)/xxx(source) Remember: it is recommended while taking backup,please unmount the file system or do it in single user mode. to restore Go to the location where you want to save the data. #ufsrestore xvf /dev/rmt/0
By using this we can restrict/deny access to the particular users ...... syntax ------#inetadm -p it will display the status of tcpwrappers By default tcp_wrappers=false then we have to modify into true by typing #inetadm -M tcp_wrappers=TRUE to enable the service.
Administrators can securely delegate tasks to non-root users more easily, including the ability to configure, start, stop, or restart services (as described in the smf_security(5) man page). Large systems boot faster by starting services in parallel according to their dependencies. Despite these changes, compatibility with existing administrative practices has been preserved wherever Possible. For example, most site-local and ISVsupplied "rc" scripts will still work as usual.
Re: which is best os in UNIX flavors Solaris or HP-UX or IBM AIX or Linux
All Might be best,but on which platform we have worked or Presently working, that is obviously best.Becoz u r familiar with that.
If a user is logged in to your system, and now you want to restrict that user what will you do? 1) who -a |grep username
2) get the process id 3)kill -9 pid 4)passwd -l username 5)passwd username --change the user password
Re: If you can ping a server, but can't telnet or ssh to it, what could be the problem?
That means the server is Single user mod in. Single user mod we can ping the server but we cant telnet,ssh
If a user logs in to UNIX, it displays the desktop and then immediately logs you back out, what could be wrong?
probably a login shell is not defined for the user. We can check the /etc/passwd and see whether he has a nologin shelldefined or not. If yes change it to /bin/bash or whatever shell you want
2. Incremental backup: it includes all files that we are changed into last backup 3. Differencial backup: it includes all file, that we are changed into last full backup
Re: what r the phases in fsck? there r 5 phases. 1. checks blocks & sizes 2. checks path path name. 3. check connectivity. 4. Check reference counts. 5. Checks cylinder groups. Re: what is zone configuration file?
/etc/zones/zonename.xml
encrypted from.So that it is difficult for hackers to understand what is going on network. In telnet& ftp data will be transfer in alphabhital, so hackers easily hack u r server For this very reason login to other systems using ssh would be recommended.
OR Interactive custom jump start Command mode Graphical mode Single user mode Re: how to repair /etc/system file without using jump start and without using os software cd?
If the /etc/system file is totally corrupted and irreparable. Then do the following procedure.
Rename the /etc/system file and go to OK prompt and issue the following command boot /dev/null it will create new /etc/system file
Re: how to see the kernel information or how many bit operating system you have #isainfo -b this is correct answer Re: what are the daemon for nfs server? Mountd,Nfsd,Lockd,Statd,Nfslogd Re: how to make processor online and offline
psradm -a <processor number> online psradm -f <processor number> offline
Re: How do you boot from CD-ROM? command boot cdrom -s we can use this command Re: What is the difference between NFS version 2 and NFS version 3? nfs 2 default 8kb transfer rate, it did not check the Authentication at the time connection. Client wants to access unauthorized file it shows error messages like "write error","read error" nfs 3 32kb transfer rate. It check at the time connection.ACL Support Re: What does init 0 do? init 0 is ok boot prom level Re: What is meant by jumpstart? -> Mechanism for "one button-installs" from central Server. ->Simultaneously support multiple system configurations & OS version ->Extensible to Allow automatic local customizations Re: How can you set EEPROM settings from Solaris? using eeprom command OR # eeprom output-device=/dev/term/a Re: If you try to send an e-mail to someone and the following message appear "Message Undeliverable", what could be wrong?
1) ps -ef |grep sendmail 2) Check the network connectivity between server and Mail-relay server. 3) Find the mail relay server name in sendmail.cfg file 4) restart the send mail service 5) check the status of send mail service port netstat -rna |grep 25
Re: If you mistype a password, how do you clear it out to retype the password again?
If you are in the middle of typing a Solaris Unix password and you fat finger it, <Ctrl- can immediately retype the entry while at the same prompt.
Re: If you can ping a server, but can't telnet or ssh to it, whats wrong?
Ping mean its check system is on network and telnet check access of application. If you can Ping but can't telnet it means a specific port which that application use to communicate is blocked. Check your firewall rule to fix it.
Re: what is incident management and change management and prob management in ticketing tool, can u explain briefly?
Incident Management is a process for managing incidents that can interrupt the functioning of IT services. These incidents can include events such as error in printing, hard disk failure and network server failure. Change Management is a process that helps introduce changes in the IT services provided by a company, such as changes in business needs and introduction of new technologies.
Problem Management is a process of resolving problems that can occur in IT services due to the incidents, which are not resolved by Incident Management. Problem Management is of two types, reactive and proactive. The reactive Problem management helps resolve the problems that have occurred in an IT service. The proactive Problem Management identifies problems that are likely to occur. Re: when iam loging in to my system as a normal user through the telnet iam not able to login, the message appears on the screen is unable to connect the host: the connection is refused.pls tell me the answers as soon as possible. Hash out the console entry in /etc/default file
Re: How can you check the disk status in, is it locally connected or remotely connected?
#cfgadm -al If you want know specifically fc or scsi devices #cfgadm -la -o show_FCP_dev #cfgadm -la -o show_SCSI_dev
Re: How do you connect to remote machines? I said using secure crt using ssh
You can use ssh if sshd dameon running on server. Else telent, rlogin are couple of solutions.
LDAP, Lightweight Directory Access Protocol, is an Internet protocol that email and other programs use to look up information from a server.
Every email program has a personal address book, but how do you look up an address for someone who's never sent you email? How can an organization keep one centralized up-to-date phone book that everybody has access to?
That question led software companies such as Microsoft, IBM, Lotus, and Netscape to support a standard called LDAP. "LDAP-aware" client programs can ask LDAP servers to look up entries in a wide variety of ways. LDAP servers index all the data in their entries, and "filters" may be used to select just the person or group you want, and return just the information you want. For example, here's an LDAP search translated into plain English: "Search for all people located in Chicago whose name contains "Fred" that have an email address. Please return their full name, email, title, and description. Tell me Solaris Admin Real Time Issues ________________________________________ 1) Check the status of all the servers (Health Check) (We are using nagios tool to monitor CPU Memory Processes Services Disk Space) and fix the warning alerts raised on the previous day. There will be a 24x7 monitoring team will be monitoring the servers and alert us if any critical issue happens (after the Office hours) we will fix the issue and we will be fixing the warning alerts on the following business day. 2) Check the Backup Report (scheduled by crontab and ctrl-m) in my company - Veritas Netbacku 6.5 is using for backup (Backup types will be BCV / Snap / Tape /D2D) If any client backup fails I have to re-run if it is hot backup otherwise inform the application or database owner regarding the re-run of the failed backup. As backup is the critical (which are used for restoration if required) for any organization so we need to make sure all the backup are successful. 3) Look for any TSR (Technology Service Request) or ARMS (Access Rights Management System) is assigned to unix team (general request Extending the file systems / creating new mount points User Administration). 4) If any incident happens (Server rebooted by itself if any hardware component failed) then raise the IM Ticket (Incident Management) and we are using HP Open view Service Center for IM. 5) Apart from the above BAU (Business As Usual) Operations we need to work on the New Projects (if any) if no new-projects then working on the scripts to automate the jobs and fine tuning the process. Consider the following crontab entry: 59 23 13 * 5 /wipe. Disk What time will this cronjob Consider the following crontab entry: 59 23 13 * 5 /wipe. Disk What time will this cronjob run? 11:59PM
On Solaris 8 where is the log file for a failed patch installation stored?
/tmp/log. Latest Answer : All the patch logs are stored in /var/sadm/patch//log ...
When using the admin tool, the membership list for groups is separated by what?
Commas