Skip to main content

Posts

VCS Questions Answers

1: How do check the status of VERITAS Cluster Server status ? Ans: hastatus –sum 2.Which is the important config file for VCS and where it is located? Ans: main.cf is the important configuration file for VCS and it is located in /etc/VRTSvcs/conf/config. 3: Which command you will use to check the syntax of the main.cf? Ans: hacf -verify /etc/VRTSvcs/conf/config 4: How to switchover the service group in VCS? Ans: # hagrp –switch -to SYSTEM_NAME 5: How to online the service groups in VCS? Ans: # hagrp –online -sys SYSTEM_NAME 6: How to set the VCS configuration Read-Only? Ans: # haconf –dump –makero 7: How to set the VCS configuration Read-Write? Ans: # haconf -makerw 8: How to display the list of all snapshots? Ans: # hasnap –display –list 9: How to add a user with cluster administrator/Operator access? Ans: # hauser –add <user> -priv Administrator/Operator 10: How to add a user with group administrator/Operator access? Ans: # hauser –add <user> -priv Adm...

List of important Veritas Cluster (VCS) Interview Questions

List of important Veritas Cluster (VCS) Interview Questions 1.How do check the status of VERITAS Cluster Server ? Ans: hastatus –sum 2. Which is the main config file for VCS and where it is located? Ans: main.cf is the main configuration file for VCS and it is located in /etc/VRTSvcs/conf/config. 3. Which command you will use to check the syntax of the main.cf ? Ans: hacf -verify /etc/VRTSvcs/conf/config 4. How will you check the status of individual resources of VCS cluster? Ans: hares –state 5. What is the service group in VCS ? Ans: Service group is made up of resources and their links which you normally requires to maintain the HA of application. 6. What is the use of halink command ? Ans: halink is used to link the dependencies of the resources 7. What is the difference between switchover and failover ? Ans: Switchover is an manual task where as failover is automatic. You can switchover service group from online cluster node to offline cluster node in case o...

Installation of splunk and splunkforwarder

splunk and splunk forwarder installation create a group and account for splunk user --------------------------------------- /usr/sbin/groupadd -g 9991 splunk /usr/sbin/adduser  -c "Splunk" -u 9991 -g 9991 -s /bin/bash -d /opt/splunk -m splunk cp -r /etc/skel/ /opt/splunk chown -R splunk:splunk /opt/splunk/ set the limit for the splunk --------------------------------------- vi /etc/security/limits.d/99-mrll-splunk.conf splunk  hard    nofile  20240 splunk  soft    nofile  10240 splunk  hard    nproc  10240 splunk  soft    nproc  2048 Set the environment path for the splunk home directory echo "# The btool command does not have the right LD_LIBRARY_PATH... LD_LIBRARY_PATH=:/opt/splunk/lib export LD_LIBRARY_PATH # also set the splunk home for the application SPLUNK_HOME=/opt/splunk export SPLUNK_HOME # and set the path for the user PATH=${PATH}:/opt/splunk/bin export PATH...

Splunk Administration -1

here is my design to work for learning purpose.

Command for finding process using too much CPU

Command for finding process using too much CPU   Try doing this : top - b - n1 - c   And if you want the process that takes the most %CPU times : top - b - n1 - c | awk '/PID *USER/{print;getline;print}' or top - b - n1 - c | grep - A 2 '^$'       Or using a few other utils you could do: ps aux | sort - rk 3 , 3 | head - n 5   Change the value of head to get the number of processes you want to see.

How to reset HP ILO password without reboot when you forgot the admin (root) password: ESX, Windows & Linux

How to reset HP ILO password without reboot when you forgot the admin (root) password: ESX, Windows & Linux This is still a test subject and i gathered all the methods and pasting it here for future reference & need to check whether the below steps are working or not on ESX and ESXI.  I am sure its working for Linux and Windows if the ILO drivers installed. ESX: You can configure the ILO board when you reboot your server and press <F8> but all your VM’s will be powered down. The other way is installing hponcfg in the service console.First we need to download the below three rpm files from HP site. Then copy files to the tmp folder of your server console. Install the rpm files using the following command. [root@esxhost tmp]# rpm -ihv hponcfg-version.linux.rpm hpasm-version.rhel3.i386.rpm hprsm-version.rhel3.i386.rpm Create a Password_ILO_reset.xml file and copy it to your tmp folder. <RIBCL VERSION=”2.0″> <LOGIN USER_LOGIN=”Admi...

HP ProLiant Servers - How to Reset the HP ILO

HP ProLiant Servers - How to Reset the HP ILO Inband Root/Administrator Password in Linux Information How to reset the HP ILO Inband root/Administrator password in Linux. Details Use the  hponcfg  command to reset the HP ILO Inband password. Check if the package is already installed or not using the below command. # rpm -qf /sbin/hponcfg     hponcfg-1.9.0-3      List/Check the content of the package. # rpm -ql hponcfg-1.9.0-3     /sbin/hponcfg       Create a xml file like below or user can copy the same content and change the “newpass” to users password. # vi passwd_reset_ilo.xml       # cat passwd_reset_ilo.xml     <ribcl version="2.0">     <login user_login="Administrator" password="boguspassword">     <user_info mode="...