Owner: sysdigg URL:http://sysdigg.blogspot.com Join Date: Mon, 24 Dec 2007 12:49:34 -0600 Rating:0 Site Description: Solutions to day to day UNIX/LINUX system administration problems and issues. Site statistics:Click here
How to change hostname on HP-UX 11i 2008-03-05 17:07:00 Change hostname on HP-UX without reboot:
HP-UX 11iv2 and v3 allows you to change the hostname on the fly, so if you want to change the hostname on HP-UX 11i server you can do it without rebooting your server. I have documented here several steps to change the hostname on your HP-UX 11i server.
Steps to change the hostname on HP-UX:
1. First run the hostname command to HP-UX server to change the hostname on HP-UX 11i server:
root@hpuxdev:/> hostname hpuxdev11
I am changing hostname on Integrity Itanium rx6600 running HP-UX 11iv2 from hpuxdev to hpuxdev11
2. Next execute uname command to set the nodename like hostname:
root@hpuxdev:/> uname –S hpuxdev11
running uname with –S option changes the nodename to required hostname value on HP-UX 11i server
3. Change network configuratio
How to Check Disk space in Linux: 2008-03-05 06:49:00 How to Check
Disk space in Linux
For Linux beginners sometimes it's very hard for them to perform simple administration tasks like check available disk space. I know some Windows folks at my work who tried to get their hands into Linux so they installed Fedora 8 on PC. But soon they realized that they couldn't do some basic tasks like check free disk space, sharing directories, configuring printers etc etc to name a few. Checking disk space I Linux is not very difficult in Linux .There are two ways to check disk space in Linux
Check disk space in Linux using command line
Check disk space in Linux by using Graphical tool if you have some sort of graphical desktop installed.
Check disk space using command line in Linux:
Open command terminal window if you are running Graphical windows mana
How to Autostart apache in Fedora: 2008-03-04 17:57:00 How to Autostart apache during boot in Fedora
Linux: Question: I am running Apache web (httpd) server on Fedora Linux but whenever my machine web server doesn't start automatically.
Answer: In Fedora apache web server can be started manually by running command "/etc/init.d/httpd" with start argument or by running service command. To setup apache autostart during boot you need to determine the default run level your fedora Linux boots during startup.
How to check default run level in Fedora
[root@fedoradev ~]# runlevel
N 5
Running runlevel command on my fedora linux machines displays default run level as 5.You must be wondering what runlevel has to do with by autostarting apache server. There is reason for that Linux uses different run levels to boot and you should know default runleve
Add SAN disks on RHEL without reboot 2008-03-02 12:03:00 Add SAN disks(LUN) on Red Hat Enterprise Linux without reboot On HP Proliant or HP blade server running Red Hat Enterprise Linux 4 (AS/ES) SAN disks or newly created LUN can be added on the fly without doing Linux reboot. Since HP proliant uses Qlogic HBA make sure you have latest Qlogic driver installed on your Red Hat enterprise Linux server.
This method only works for Linux kernel 2.6 or higher. To add new SAN disk or newly created LUN in
Red Hat Enterprise Linux run following commands:
1. Rescan your qlogic HBA's:
#echo "scsi-qlascan" > /proc/scsi/<driver-name>/<adapter-id>
(qlogic driver will re-scan)Where <driver-name> can be either one: qla2100/qla2200/qla2300 and <adapter-id>
is the instance number of the HBA.
2. Perform scsi mid layer rescan :
Once t
Linux Kickstart boot using NFS 2008-03-02 09:50:00 Linux Kickstart boot using NFS Linux Kicstart is automated method of doing unattended /non-attentive installations and I have done that on Red Hat Enterprise Linux (RHEL4/5), CentOS and Fedora Linux. There are several ways to boot the Linux client while using Kickstart installation like booting from floppy, CDROM, USB or PXE I prefer booting from USB. Usually kickstart configuration file is located on boot disk but I prefer to keep the Kickstart file on NFS directory where I keep all installable/setup Linux media images.
Once you boot from the USB or your preferred boot device next step is telling Linux client that where it should look for kickstart configuration (ks.cfg).If you want to simplify Kickstart installation you can also use nfs to use Kickstart configuration file on network. So Read more:Linux
Servers to ship with Embedded VMware 3i 2008-03-01 22:09:00 Server to ship with Embedded VMware ESX 3i
The world's largest system providers, Dell, Fujitsu Siemens, HP, and IBM will ship their servers embedded with VMware ESX Server 3i. With this industry-standard, pre-configured and optimized hardware configuration, you can get virtualization up and running even faster. Operate your first virtual machine within minutes of booting your server.
Based on VMware's market-leading virtualization technology with more than 100,000 customers, VMware ESX Server 3i delivers full featured single server consolidation with fast and easy deployment. Get unmatched security and reliability with the first hardware-integrated hypervisor built on a thin architecture with the smallest footprint and an OS- independent architecture To get more detail on VMware ESX 3i rea
What is LLT in Veritas cluster (VCS) 2008-03-01 10:41:00 What is LLT in veritas cluster
server (VCS)
VERITAS cluster server (VCS) or services is based on three components – LLT, GAB and VCS itself
LLT stands for Low latency transport which handles kernel-to-kernel communication using LAN heartbeat links. LLT configuration requires two files - /etc/llttab and /etc/llthosts. The /etc/llttab file contains on cluster name, node name and heartbeat links (local network card ) and public interface link (network card).
Here is the content of node1 in a 2 node cluster running Solaris 2.8
bosnodeA#cat /etc/llttab
#llttab – low latency transport configuration file
set-node 0
#set the heartbeat links
link hme1 /dev/hme:1 – ether - -
#link-lowpri is for public networks
link-lowpri hme0 /dev/hme:0 – ether - -
#set cluster number, must be uniqu
How to export NFS share on Linux 2008-03-01 09:42:00 How to export
directory/NFS share from Linux
To export a directory/NFS share from Linux you need to have nfs server installed and have nfs services running on your linux (Fedora/CentOS/RHEL) machine.
Checking NFS server status:
Check to see if you have NFS services running on your Linux machine:
[root@bosdev install]# ps -aef | grep nfsd
root 13397 7 0 08:21 ? 00:00:00 [nfsd4]
root 13398 1 0 08:21 ? 00:00:00 [nfsd]
root 13399 1 0 08:21 ? 00:00:00 [nfsd]
root 13400 1 0 08:21 ? 00:00:00 [nfsd]
root 13401 1 0 08:21 ? 00:00:00 [nfsd]
root 13402 1 0 08:21 ? 00:00:00 [nfsd]
root 13403 1 0 08:21 ? 00:00:00 [nfsd]
root 13404 1 0 08:21 ? 00:00:00 [nfsd]
root 13405
Rocket gOS 2.0.0 root password 2008-02-29 20:19:00 Rocket gOS 2.0.0 root password
I have been hearing lot of complaints about gOS root password. gOS users are not sure How they can login as root on their gOS desktop/gPC. In fact, gOS doesn't have any root password you can login into gOS as user you had created when you install the gOS.
Login as normal user in gOS and try running command
sudo su
then enter your normal user password and you will be logged in as root.
Change Ethernet settings in VMware ESX 2008-02-26 17:22:00 Change/display Ethernet settings in VMware ESX:
In VMware ESX using VMware infrastructure client (GUI) you can display Ethernet card settings like speed and duplex mode. I am running VMware ESX version 3.5.0 build-64607 and using VMware infrastructure client 2.5.0. Using VI clienti was able to see Ethernet cards and settings like speed and duplex mode but I didn't find anything to change NIC card settings.
Display Ethernet Card settings in VMware ESX:
From VMware infrastructure client select VMware ESX server and click on Configuration tab on right side of window. In hardware window select Networking. Selecting networking option displays virtual switch configured on ESX and associated Ethernet cards. On my VMware ESX for some reason one of the Ethernet/network (NIC) card is showing spee Read more:Change
Uninstall Windows Vista SP1 (RC)- Service pack1 2008-02-24 12:04:00 Uninstall WindowsVista
SP1 (RC)- Service
pack1Windows Vista Service Pack 1 is right here and before installing windows Vista SP1 you need to uninstall previously installed Release candidate (RC) Service pack 1(SP1).I find information on Microsoft Technet that helped me uninstalling Windows Vista SP1 (RC) service pack 1 from my desktop.Before uninstalling Windows Vista SP1 (RC) service pack 1 first verify what service pack is really installed. on your PC. From your Windows vista PC , open the Control panel and click on System icon. On my desktop I have windows vista Ultimate installed and I have Service Pack 1 v.668 listed. If you see Version v.668 listed under SYSTEM in control panel then you have is Windows Vista RC service pack 1 installed on your PC.
Uninstalling Windows Vista SP1 Read more:Uninstall
Change screen resolution in Fedora 2008-02-23 23:05:00 Change screen
resolution/display in Fedora
8:
Fedora is clone of Red Hat enterprise Linux and all commands are same like Red Hat. Most Linux users think that it's not very easy to change screen resolution in Fedora as it is in windows but that's not the case, changing screen resolution/display setting is very easy thing to do on Fedora Linux. I am running Fedora on HP desktop connected to 17 inch monitor, so i decided to change screen resolution on my fedora machine from 800x600 to 1280x1024.I use 1280X1024 on my windows desktop connected to 17" monitor to have a better display.
How to change screen resolution/display settings in Fedora
To change screen resolution in Fedora you would need to open command terminal window from your Xwindow Graphical desktop. If you are new to Fedora then Read more:Change
Open command terminal Window in Fedora 8 2008-02-23 22:20:00 Open commandterminal
in Fedora
8
Fedora 8 comes with nice desktop environment and it features windows like program bar to launch various program and system utilities. For Linux beginners and Window
s users switching to Fedora Linux they still find it difficult to locate certain programs in Fedora and one of them is finding a command terminal window.If you are new to Fedora and looking for opening command terminal window, here is few simple steps that will help you in locating and opening up command terminal window.
Steps to open command terminal window in Fedora 8:
From Fedora Run bar select Applications.Under Applications Select systems tools
Click on Systems Tools and you can locate last item as Terminal program
Select terminal program, it will open up command terminal window in Fedora
Free outgoing Fax service to Vonage users 2008-02-23 21:50:00 Free outgoing Fax service for Vonageusers
I am not sure if Vonage users are aware of this free service available to them, at least i wasn't aware of this until I find out today that I can send free Fax from my PC using my Vonage login account from Vonage website. If you need to fax a document PDF, Microsoft word or excel or any other file from your PC to a real Fax number you can use Vonage outbound fax service. You can fax documents from your PC in 4 steps using Vonage site and using your online Vonage account.How to send free Fax using Vonage account:
Go to Vonage Fax site called v-fax
right hand side Enter your Vonage user name and password
1. Enter fax destination number
2. Browse the document file from your PC you want to fax
3. Click on preview to see the outgoing fax document.
Accessing HP EVA 4100 SAN: 2008-02-22 14:06:00 How to access HP EVA 4100 SAN:
For managing disks and LUN in HP EVA 4100 SAN you would need access to HP Storage server. You can user windows terminal server to login into the HP EVA administration server. HP EVA administration server also known as HP Command view server runs Windows 2003 operating system. HP EVA command view server is in fact called Windows Storage server 2003 R2.
Too many terms for the EVA administration server but bottom line is if you need to access HP command view server to check Virtual array health and for managing virtual disks.
Access HP EVA options:
For connecting to HP 4100 EVA command view server you can use two options:
1. Terminal service in into HP 4100 command view server from your windows PC by launching mstsc from windows Run or command prompt.
2. Yo
Check Free disk space in gOS desktop/gPC 2008-02-22 10:31:00 How to check available/free disk space in gOS/gPC gOS is still a new and juveline operating system and needs lot of improvements for users switching from Windows side of the world. Although gOS is based on ubuntu but there are lot of features that are missing from gOS. For example there is no GUI based utility in gOS to check available/used disk space in gOS. If you want to check free disk space in gOS you can only do so by using command terminal(window) in gOS.
Check
available (free) disk space in gOS
Open command terminal from you gOS desktop. If you don't know where you can find command terminal shortcut then see my earlier article on How to open command terminal (kinda like dos windows) in gOS/gPC.
From the gOS command window run df command to display output in megabytes (MB) and gig
Install Subversion on Fedora 8 Linux 2008-02-21 21:26:00 Install Subversion on Fedora
8 Linux
I have been working on subversion installations for our developers on Fedora servers. Last week completed building new fedora 8 server to setup subversion on it. While installing subversion on new Fedora 8 server i have been making notes to have a quick handy documentation:
Preparing for subversion installation in Fedora 8:
By default Subversion comes pre-installed on Fedora, if you are using some other Linux flavor and don't know if you have subversion installed already here how you can verify:
[root@subversionsvr ~]# rpm -qa |grep subversion
subversion-1.4.4-7
If you don't have subversion installed, you can install it using yum
[root@subversionsvr ~]# yum install subversion
Install mod_dav_svn on Fedora 8 :
If you are planning to access your subv
Restore Lost Recycle bin in Windows Vista 2008-02-20 21:01:00 Restore
Lost Recycle
bin Icon in WindowsVista
On my Windows Vista
PC i noticed many times I lost the Recycle bin icon from my desktop. This is very annoying when it happens and I don't see Recycle bin icon on my windows vista desktop but there is a good news it's not very hard to restore the lost Recycle bin icon in Windows vista.
Lost Recycle bin icon in Windows vista?
If for some reason you lost your Recycle bin icon in window vista. Here is how you can restore/recover the lost Recycle bin icon.
1. Right Click on your Windows vista desktop and select Personalize.
2. Click on change windows vista Desktop icon
3.Under desktop icon settings select Recycle bin icon to restore the Lost icon
Windows Vista and CISCO VPN client issues 2008-02-18 17:28:00 WindowsVista
and CISCO VPN client issues
My PC running Windows Vista
starts crashing frequent whenever i am connected using CISCO VPN client. Not to blame CISCO VPN client for that I never had issues running CISCO VPN client on Windows Vista. I am running Windows vista certified CISCO VPN client – version 5.0.01.0600 .This was running file without any issues on my Windows Vista desktop.
Fixing Cisco VPN client issue on Windows Vista
After spending several hours searching online i find nothing conclusive to solve my problem. Later I realized this happened right after I installed Windows Vita Service pack (RC1).So I tried reinstalling CISCO VPN client on top of my windows vista Service pack (RC1) install. Rebooted my windows vista desktop and spend some hours while I was connected t
Check Cluster status on HP-UX – Service Guard (MC): 2008-03-12 17:20:00 How to Check
Cluster status on HP-UX – ServiceGuard
(MC) : To check if you are logged on to HP-UX server running MC –Service guard cluster and identify Cluster node status you can run following command as root:
root@prodcluster:/> /usr/sbin/cmviewcl
CLUSTER STATUS
PROD_CLUSTER up
NODE STATUS STATE
nodeA up running
PACKAGE STATUS STATE AUTO_RUN NODE
prodcluster up running enabled nodeA
NODE STATUS STATE
nodeB up running
By running cmviewcl command you can find out status of cluster node on HP-UX and package name , package name is used for public nodename or HP-UX server name that will be available for users on network.
Check RAID controller type on HP-UX – Integrity servers 2008-03-11 21:14:00 Check RAID controller
type on HP-UX – Integrityservers
HP-UX Integrity running on Itanium processor like rx6600 model comes with SAS (serially attached SCSI) drives and inbuilt raid controller. To check if you have SAS RAID controller card installed on your Integrity Itanium rx6600 running HP-UX server and to determine the device address for the SAS controller
To check what RAID controller is installed on Integrity Itanium rx6600 servers, run ioscan with fnd option
Run ioscan –fnd sasd :
Where –f is used to display full listing
-n is used to display device filename
-d is used to print hardware controlled by specified driver
root@vmhost:/> ioscan -fnd sasd
Class I H/W Path Driver S/W State H/W Type Description
================================= Read more:Check
Timeout waiting for ARP/RARP packet – unable to boot Solaris 2008-03-11 17:37:00 Unable to boot Solaris
Sun Fire server from disk/CDROM:
Fixing Sun Fire Solaris boot error:
I ran into problem working on Sun Fire server last week when i rebooted the server to install some Solaris patches and server didn't came backup. When I tried to connect to CONSOLE I received following error messages:
Timeout waiting for ARP/RARP packet
Timeout waiting for ARP/RARP packet
Timeout waiting for ARP/RARP packet
Timeout waiting for ARP/RARP packet
Timeout waiting for ARP/RARP packet
If you notice Timeout waiting for ARP/RARP packet message on Solaris console this indicates that boot device is missing. I wasn't able to get to OK prompt so I couldn't try Solaris open boot diagnostic command to see boot –device and boot-disks state. To get to CONSOLE use LOM (lights out management) pre
Change date and time on Solaris 2008-03-09 07:18:00 Change Solaris
server date and time
Now a day's almost every systems administrator runs Network Time protocol (NTP) server on their networks and use ntp protocol on Solaris machines to sync the system time. For some reason if you are not running NTP and you would like to change or set Solaris machine date and time it's fairly simple to do. I have changed date on my Solaris 8 and Solaris 10 servers just by running date command.Here is how you can set/change Solaris system date and time which doesn't requires reboot:
For changing Solaris machine date and time connect to server using telnet or ssh and login as root:
#date 0309081408
Sun Mar 9 08:14:03 EST 2008
The Solaris date command syntax format is "mmddhhmmyy" , where mm is month , dd is day of the month,hh is the hour and mm is minutes Read more:Change
How to check LAN card status on HP-UX 2008-03-14 22:36:00 How to check LAN status on HP-UX
On rx6600 Itanium Integrity servers there are 6 lan (network) interface card .sometimes It's mind boggling to figure out on HP-UX server which lan/network card are connected to network (active) .
root@bosrx6600:/> ioscan -funC lan
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
lan 0 0/2/1/0 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter
lan 1 0/2/1/1 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter
lan 2 0/4/2/0 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan 3 0/4/2/1 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X