this is a manual to know all the command in the BRMS tool which used for Backup managment in AS400 server
Abinitio CommandsFull description
nsn
Full description
kubernetes command descriptionFull description
Solaris Commands For SA-I & SA-II
SUN SOLARIS SA-I
S.No 1 2 3 4 5 6 7 8 9 10 11 12
Commands
13 14 15 16 17 18 19 20 21 22 23 24 25 26
ls | ls –l mkdir cd | cd .. df | df –k du cat > pwd rm | rmdir | rm-r cp mv touch chmod < 777 > chmod u+w,g-r,o+w clear man bc cal banner date find / -name grep getent wc sort head -<100> tail -<100> ln
Functions To list the files at current location To create a directory For logging in to a directory To view disk free To view disk usage Catenation – to create a file To view current location To remove file and directory To copy a file To move a file and to rename To create a file To set permission | rwxrwxrwx =777 | owner group & other | i.e. : r=4 w=2 x=1 by total 7 To clear the screen To view manual Binary count To view calculator To view banner To view date To find a specific file To grep a word from a file To search using specific entry in admin file To view word count To sort the content of a file To list only the first <100> lines To list only the last <100> lines hard link – both file points the i-node number, link count increases If source is lost entire content is lost, L will be at the front of filename To create a user account | u-user id, g-pri. group, G-sec. group, m-mk dir, d-path To set password for an user To modify and to delete a user account To create a new group |-o to reallocated gid To create a SM-User
To modify a present user
To delete a present user To create, modify and to delete a smgroup To invoke the SMC tool in GUI mode This value will make effect on permission i.e “/etc/profile” | attains default – restarted To open a file through VI-Editor
To view system config–memory, peripheral To view the system process status To view information about the processor To view the i/o device status To view the current system process status To view the system activity in average To kill a process which is listed in prstat To make slices in an hard disk To identify the hardware changes To invoke cleanup | then only –v fn works To make a new file system on the disk To mount the new disk for use To view the diagnostic messages To view the environment messages To view the m/c name, version, archi. etc., To view the entire system status includes memory, cpu, patches, os-version, etc., To install a package | if –s spool is used in btw_only copies the pkg to spool directory To check for error in a particular package To get info about package in local machine To remove a package from local machine To check for number of packages installed To check for the current “minfree” value To set minfree value i.e #% with that of root To run file system check | -o f, p for yes to all To restore backup sup. Block|#-sup. Block To view summarized FS ownership To mount all FS which have entry at vfstab To mount only the local FS listed in ‘vfstab’ To unmount the mounted file system 1 by 1 To unmount forcible | may affect data To unmount all mounted FS includes N/W To unmount all locally mounted FS To view any process is accessing the FS To kill all process which access the FS To check whether the floppy is ready or not To start the volume mgt | to stop, give stop To mount a cdrom manually To mount a floppy drive manually To uncompress a tar file To install a patch |–d is for no rollback To uninstall and rollbacks the patch To OK prompt To single user mode To multi user without network To console – super user | multiuser with nfs To shutdown the server To restart the server To single user mode
shutdown –y –g <#> -i Halt poweroff | Reboot who –r who | -a who –m whoami | who I am rusers –l finger |-m last | last -n 5 reboot chown root : sys /var/adm/loginlog su | su - chown filename chmod 1777 chmod 4555 chmod 2555 lpadmin –d lpstat –d lp reject disable enable accept /usr/lib/lpsched | lpshut (or) /etc/init.d/lp start | stop lp –d lpstat –a lpmove at |at> job |ctrl d crontab –e |-r to remove job at -l & crontab –l ufsdump 0uf /dev/rmt/0n /dev/dsk/c#t#d#s# ufsrestore rvf /dev/rmt/0 ufsrestore i /dev/rmt/0 mt status |rewind |offline mt fsf count fssnap –F ufs –o bs=/var/tmp /export/home fssnap –i prtvtoc /dev/rdsk/ct0ds2 > / fmthard –s / /dev/rdsk/ct1ds2
To shutdown the system |-y for interactive mode| # - grace time in seconds To switch over to OK prompt suddenly Alternate command to switch-off & restart To view the current run level To view all logged-in users in the local sys To view the current user name alone To view effective user | To view actual user To identify all users logged in through n/w To view the activity of the users To view full details for all users | record To view only the last five reboot activity To activate loginlog entry i.e. to note the failure login |you must create the directory To switch into another user | home dir – acti To change the ownership of a file|-R for dir Sticky bit permission | user can access dir Users exe this file will get root privilege Group exe this file will get root privilege To config a printer manually | -x to remove To view the systems default printer To give an print request To stop the queuing printer request To stop the printer To activate the printer To start the queuing printer request To start the LP printer service | To stop the LP printer service To divert your printing job to a new printer To view the status of the printer To divert one prt job to another printer To assign job at AT schedule| ctrl d to close To assign a job in crontab – it opens a editor To view the AT and crontab content To perform backup | 0-full backup, uupdate{/ etc/dump dates}, 0-drive or disk number i.e for incremental, n-no rewind To restore the backup To view the list of files present in the tape To view the status| To rewind | To eject To move the tape forward count records To perform a snapshot backup which usually stores at /dev/fssnap/0 To display a list of snapshot ct avail in sys. To store the structure of the given hard disk to an file through prtvtoc To copy the structure from / and to make available on the destiny hard disk
Commands vi Esc h Esc l Esc j Esc k Esc i Esc x | 4x Esc X | 4X Esc R Esc o Esc O Esc u Esc G Esc w Esc b Esc H Esc M Esc L Esc I
20 21 22 23 24 25
Esc A Esc dw Esc dd Esc yy Esc p Esc yw
26 27
Esc J Esc ~
28 29 30
Esc : wq Esc : wq! Esc : !sh
31 32
Esc : r! Esc : r
33 34 35 36 37 38 39 40
Esc : q Esc : q! Esc : w Esc ZZ Esc : set nu Esc : set nonu ctrl f ctrl b
Functions To open vi editor for a specific file To move the cursor left - command mode To move the cursor right - command mode To move the cursor down - command mode To move the cursor up - command mode To Enter into Insertion mode To delete a character | deletes 4 character To delete left i.e. Back-Space To over-write a character To insert a line below the cursor To insert a line above the cursor Undo To move to the last line first character To move word by word right To move word by word left To move to the first line of the current page To move to the middle of the current page To move to the last line of current page To move to the beginning of the line & append To move to the end of the line & append To delete a word to the right To delete the current line completely To copy the current line – yanking To paste the copied content To copy a word – cursor must be at the starting To join two separate line To change the case i.e. upper to lower & Vvia To save & quit a file – EX-command mode To save & quit a file forcibly To go to shell temp. & type Exit to come back To add the output into the file To add the content of into the current file To quit the file without saving To quit the file without saving – forcibly To save the file and continue working To save & quit the file To assign the number for the lines To remove the assigned number for the lines Page down Page Up
Functions To get into OK prompt For extensive post diagnostics To set default parameter |press until kbd led flashes To boot from cdrom To boot and get into single user mode using cdrom To reconfigure |config result will be at /reconfigure To boot through the default configuration To boot via specified disk|devalias - entry must exist To get into the single user mode For interactive booting Detailed device information to the console To get command details at OK prompt To print the environment detail To set environment for a specific parameter To save the changes and followed by reboot To set the values to the manufacturers setting To set the value for a specific parameter alone To check for internal scsi/ide status To check for internal & external scsi/ide status To check for fiber optics status To view the alias name & to which its mapped To add the alias and its physical address to the list To remove an alias from the current list To see the physical add of all drives i.e. sec storage To view the version, Ethernet address details etc., To view cpu speed, bus speed, etc., To view only the Ethernet address To view all the devices i.e. secondary storage only To view the ip, mac add, subnet mask etc To view the status of NIC card To view the status of NIC and network cable
Abbreviation Hme Qfe c0t0d0s0 Sparc UFS HSFS | under ufs PCFS | under ufs NFS | under Distributed FS TmpFS | under Pseudo FS SwapFS | under Pseudo FS FDFS | under Pseudo FS Explicit Name ProcFS | under Pseudo FS MntFS | under Pseudo FS
Expansion – Purpose Network Interface Card Quad Fast Ethernet Controller Target Disk Slice Scalable Process Architecture Unix File System – for disk mgt High Sierra FS – for SCSI cdrom’s PC-DOS Formatted FS – for floopys Network File System – for network Temp. FS – for avoid Overhead writing Swap FS – for Kernel use File Descriptor FS – for explicit names It’s the representative of Directory’s Process FS –for currently running proc. Mount FS – for locally mounted FS
Important Locations S.No 1 2 3
5 6 7 8 9 10 11 12 13
Important Locations /etc/profile /etc/path_to_inst /usr/bin/dmesg /usr/sbin/dmesg /etc/default/kbd kbd –I _ To initialization above file /var/sadm/install/contents /var/spool/pkg /var/sadm/pkg /etc/vfstab _ Manual Entry /etc/mnttab _ Auto Entry /var/sadm/patch /usr/bin /var/adm/utmpx /var/adm/wtmpx
14 15
/var/adm/loginlog _ create it /etc/default/su
16
/etc/default/login_ edit this file for root logging restrictions | If PASSREQ=no then null password for root
Purpose / Usage umask value | profile during login Physical address mapping - for kernel Diagnostic message will be here dmesg _ shows the content of this files Put # before keyboard_abort=disable |this is for preventing stop A in console Contains details about installed packages Default location for adding a package It has the currently installed package Entries for mounting FS during booting Entries for currently mounted FS It has the currently installed patches Mostly all commands will be here Who command reads this location Alone last -n command reads this location | in case root is full then clear this file. To view the failed login attempts To view the switching attempts | For this remove # in console= /dev/console and put # in more /var/adm/sulog If #console=/dev/console _ remote root login is allowed, if no # _ only through single machine, if console= then root cant be logged anywhere Users listed here are not allowed for ftp It holds the request and the print Queue It holds the history of the printer jobs It has the LP server configuration contains IP and hostnames of sys. In n/w To restrict users from using AT & Cron
6
Solaris Commands For SA-I & SA-II
Hints & Purposes S.No 1 2 3 4 5 6 7 8 9 10 11 12
Commands Host Bus Adopter Max 7 Slices Slice S2 – Back Up SUNWCxall SUNWCall SUNWCprog SUNWCuser SUNWCreg Web Installation JumpStart Installation Vi Editor – 3 Modes OE file system
13 14
File Types – 4 types Device naming
15 16 17
Sd n | dad n NV Ram – EEPROM # before any line in a file
18
19 20 21 22 23 24 25 26 27 28 29 30 31
what happens during the Booting of Sun System Backup Superblock Cylinder group – size Boot block – active for ‘/’ Pointer types “Minfree” Value Preen Vol Mgr -/etc/vold.conf 105050-01 patch name sys wide & user environ Restoresymtable /etc/hosts /opt RSC
32
LOM
33
ALOM
34
SCC
35 36
KVM switch Part Number
Functions All harddisk will have a common HBA Only 7 slices are possible in a hard disk Points entire disk – cant be changed or used Entire Distribution with OEM support 64 bit Entire Distri 64 bit – no 3rd party support Developer Sys Supp –only manuals & network End User Sys Supp – limited network support Core Sys Support – no network 1st Installation CD then 1 of 2 CD & 2 of 2 CD Installing the OS through network Command, Insert and Ex-Command Mode Disk based(ufs), Distributed(nfs) & Pseudo(swap) Regular, directories, symbolic link & device files Logical, physical(actual) & instance(kernal) name For scsi | ide n-number – instance name Removable chip, inbuilt Lithium battery, host id This makes that particular line or process inactive Post, generic devi ce drivers, loads config done by admin, other default parameter, then OS files
It resides at several areas of disk| for restoration Default size is 16 cylinders per group Boot strap program resides here – 15 disk sector Direct Pointer and Indirect Pointer It’s the space utilized by the operating sys in root During sys boot fsck runs at Non Intractive mode Automatically mounts the cdrom and floopy 105050 is base code & 01 is the revision number While user logs this files get executed by shell This is a image file of tape formed in hard disk It is an link to /etc/inet/hosts Common location for utilities and 3rd party tools Remote System Console |consist of serial, n/w mgt port and modem Light Out Management | consists of only serial port and not a part of OS. Advanced LOM | Consists of serial port and a part of OS and also an n/w mgt port. System Controller Card | nvram data are stored here its an removable card – resp’ble for booting Keyboard Video Mouse switch |common unit Identity Number 300-4250 |product-exact no/.