Thursday, April 20, 2006

how to configure ntp

Really it's as simple as adding the time server to /etc/ntp.conf and to /etc/ntp/step-tickers:




Then of course make sure that ntp will start at boot time:
chkconfig --level 2345 ntpd on
chkconfig --list ntpd

And let's start the service now:
service ntpd start

how to create samba user

Hello All,
To create samba should be root or sudo user.
1. First create a local user.
$adduser abc
$passwd abc
(give the password.)
2. Then add that user in samba.
$smbpasswd -a abc
(Give the same password which you given in first stage.)
Thats it!     

Monday, April 17, 2006

How to extend rootvg on aix


Adds physical volumes to a volume group.

extendvg [ -f ] VolumeGroup PhysicalVolume ...

The extendvg command increases the size of the VolumeGroup by adding one or more PhysicalVolumes.

The physical volume is checked to verify that it is not already in another volume group. If the system believes the physical volume belongs to a volume group that is varied on, it exits. But if the system detects a description area from a volume group that is not varied on, it prompts the user for confirmation in continuing with the command. The previous contents of the physical volume are lost, so the user must be cautious when using the override function.

Note: To use this command, you must either have root user authority or be a member of the system group.

You can use the Web-based System Manager Volumes application (wsm lvm fast path) to run this command. You could also use the System Management Interface Tool (SMIT) smit extendvg fast path to run this command.
-f Forces the physical volume to be added to the specified volume group unless it is a member of another volume group in the Device Configuration Database or of a volume group that is active.

To add physical volumes hdisk3 and hdisk8 to volume group vg3, enter:

extendvg rootvg hdisk3 hdisk8

Note: The volume group must be varied on before extending.

/usr/sbin/extendvg Contains the extendvg command.