Labels

hpunix (63) marathi kavita (52) linux (21) solaris11 (10) AWS (5) numerology (5)

Monday, July 27, 2015

पांडुरंग तु, माझी विठू माऊली ॥

पांडुरंग तु, माझी विठू माऊली ॥

गेला एक महिना प्रयत्न करत होतो माऊलीवर काही लिहायचं, पण जमतंच नव्हतं अन् माझी-मित्रांची इच्छा हिच की आषाढी एकादशी च्या दिवसापर्यंत काही लिहावं....

बस्स माऊलीला आर्त हाक दिली अन् माऊलीच्या कृपेनेच हे काहीतरी लिहिलं... सो थॅंक्यु माऊली ॥

टाळ तु, भजनातली टाळी तु
वारकर्यांच्या ओठातील ओळी तु
कधी भेटसी तु, होऊनी अभंग
कधी भेटसी , होऊन कवाली

पांडुरंग तु, माझी विठू माऊली ॥

बाप तु, आईची ममता तु
सुर्य तु, चंद्र शितलता तु
कधी भेटसी तु, होऊन ऊन
कधी भेटसी, होऊन सावली

पांडुरंग तु, माझी विठू माऊली ॥

धन्य तु, धन-धान्य तु
पिक तु, पाऊसपाणी तु
सोडी सारं तुझ्या विश्वासावर
तुच या संसाराचा रखवाली

पांडुरंग तु, माझी विठू माऊली ॥

तुझ्या चरणी अमृत, कुशीत स्वर्ग
घेईन नाम तुझे, करूनी देहाचा मृदंग
तुझ्या एका दर्शनासाठी देवा
आतुरलेय या डोळ्यांची बाहुली

पांडुरंग तु, माझी विठू माऊली ॥

भावनांना या, तुझ्या अश्वाचा वेग दे
शब्दांना माझ्या, विठ्ठला तु जाग दे
काय लिहणार तुझ्या स्तुतीत कोणी
बस हात जोडून उभा हा मवाली

पांडुरंग तु, माझी विठू माऊली ॥


‪#‎किरण_जाधव‬ (२५_०७_२०१५)

Monday, July 20, 2015

ntpdate: no server suitable for synchronization found + HPUX

ntpdate[9523]: no server suitable for synchronization found

While starting the ntp service, we were getting below error:

tigersrv:/home/root> /sbin/init.d/xntpd start
16 Jul 09:17:12 ntpdate[9523]: no server suitable for synchronization found

solution:

1.

tigersrv:/home/root> ntpq -p
     remote           refid      st t when poll reach   delay   offset    disp
=========================================================================
 NTP IP      0.0.0.0         16 -    -   64    0     0.00    0.000 16000.0

The “refid” should reflect some value.


2. Try to update the date through ntp server

tigersrv:/home/root> ntpdate -d NTP IP
transmit(NTP IP)
transmit(NTP IP)
transmit(NTP IP)
transmit(NTP IP)
transmit(NTP IP)
server NTP IP, port 123
stratum 0, precision 0, leap 00, trust 000
refid [0.0.0.0], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time:      00000000.00000000  Thu, Feb  7 2036  1:28:16.000
originate timestamp: 00000000.00000000  Thu, Feb  7 2036  1:28:16.000
transmit timestamp:  d9523075.8c7a1000  Thu, Jul 16 2015  9:30:29.548
filter delay:  0.00000  0.00000  0.00000  0.00000
               0.00000  0.00000  0.00000  0.00000
filter offset: 0.000000 0.000000 0.000000 0.000000
               0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000

16 Jul 09:30:30 ntpdate[29299]: no server suitable for synchronization found

3. Try to ping the server; if it not pingable then check whether the server is down or not.

4. If you have other ntp server then add that entry in ntp config file etc..

Try to sync the time by using new NTP server.

tigersrv:/home/root> ntpdate -d [New Ntp server IP]

5. Edit the /etc/rc.config.d/netdaemons file

export NTPDATE_SERVER="NTP IP New NTP IP"   ---> You can mention two NTP servers IPs by giving space
export XNTPD=1
export XNTPD_ARGS=

*.- Edit the /etc/ntp.conf file
Add the following lines
server NTP IP prefer
server New NTP IP

6. stop and start ntp daemon [xntpd]

#/sbin/init.d/xntpd stop

#/sbin/init.d/xntpd start


Regards,
Kalyanjit

Friday, July 17, 2015

Dangerous/Hazardous commands in HPUX


 Dangerous/Hazardous commands in HPUX:

1. We have to be very cautious while working on Production/Development servers.

2. If we are not sure about any command then it is always preferable to go and see manual page for that command. 
#man [command]

Below are few Dangerous commands which can harm the server :

1. #rm - remove file; do not use -f option

2. #chown - change owner; careful while executing this command with -r option

3. #chmod - modify permissions of file/Dir; careful while executing this command with -r option

4. #mv - moving files/dirs; do not use -f option

5. #hostname - Display hostname of server; careful while using any option to this command

6. #date - display date of server; "-s, --set=" can change system date/time

7. #last |grep -i reboot - to grep  when the server was rebooted through last command; if we forget to put grep then the server will get reboot. 

so always use single or double quotes with grep

8. #init; Change system runlevels

9.  #ntpdate - set the date and time via NTP

10. #reboot; #shutdown - to reboot server

11. #ifconfig - Bring down/up network interfaces



I'll keep on updating the command list if i found any new dangerous command.


Thanks...
Kiran Jadhav


**Let's Share knowledge and keep visiting here**


Monday, July 6, 2015

Decimal to Hexadecimal conversion through bc command - HPUX


Binary = base is 2

Hexadecimal = base is 16

By default we use decimal value.


1. Convert Decimal to Hexadecimal through bc command :

Here we have to define obase value obase - output base; here obase=16 since we are converting the decimal values to Hexadecimal

testserver:/] bc
obase=16
198
C6

or

testserver:/] echo "obase=16; 198" |bc
C6



2. Convert Hexadecimal to Decimal through bc command:

Here we have to define ibase value ibase - input base; here ibase=16 since we are converting Hexadecimal values to the decimal values.


testserver:/] bc
ibase=16
C6
198

or

testserver:/] echo "ibase=16; C6" |bc
198


Similarly we can convert decimal to oct or decimal to Bin or decimal to any base number and vice versa.


Thanks...
Kiran Jadhav


**Let's Share knowledge and keep visiting here**

Wednesday, July 1, 2015

How to Identify Luns on EMC- Symmetrix Storage – HPUX

How to Identify Luns on EMC- Symmetrix Storage – HPUX

How to Identify Luns on EMC- Symmetrix Storage (EMC    :SYMMETRIX ) in HP11iV3

1.       Device name/Lun id’s are : 0e2f

   No need to convert it into hexadecimal like we convert it for Clariion storage

2.    Try to grep the Lun Id :

testserver:/dev/disk# /usr/local/bin/inq.HPUXIA64 |grep  -i 0e2f
/dev/rdisk/disk1428 :EMC     :SYMMETRIX       :5874  :0200e2f000 :    40266240

3.   We can verify the same in /dev/disk directory:

testserver:/dev/disk# ls -lt |more
total 0
brw-r-----   1 bin        sys          1 0x000034 May  2 14:34 disk1428

4.   Also the disks in scsimgr output; the ‘SCSI services internal state should be UNOPEN’


#scsimgr -v get_info all_lun |more

or 

#scsimgr get_info -D /dev/rdisk/disk1428 |grep -i "SCSI services internal state"

Or


#scsimgr lun_map -D /dev/rdisk/disk1428



Thanks...
Kiran Jadhav

**Let's Share knowledge and keep visiting here**