- Export a file system on AIX by using one of these methods.
- Use this procedure:
- Add the file system that you want to export to the /etc/exports file.
- Export all entries in the file /etc/exports by entering the command /usr/sbin/exportfs -a
- Verify that the file system is exported by entering the command⁄usr⁄sbin⁄exportfs
All shared file systems are displayed.
- Use smitty:
- Enter the command smitty mknfsexp
- In the PATHNAME of directory to export field, type the name of the file system that you want to export.
- In the MODE to export directory field, select read-write.
- In the HOSTS & NETGROUPS allowed client access field, type the name of the hosts that are allowed to mount this file system.
- Press Enter. The export procedure is started.
- Press F10 to stop smitty.
- Use this procedure:
- Mount a file system on AIX by using one of these methods.
- Use this procedure:
- If the file system that you want to mount is remote, ensure that you have the permission to mount it by entering the command⁄usr⁄bin⁄showmount – e <remote host>
where <remote host> is the name of the remote operating system. - Choose an empty file system that serves as the mount point for the file system that you want to mount. If an empty file system does not yet exist, create it by entering the command mkdir /<local dir>
where <local dir> is the name of the local file system. - Mount the file system on your local system by entering the command⁄usr⁄sbin⁄mount -o rw,soft -n <remote host>/<remote dir>/<local dir>
where:
<remote host> is the name of the remote operating system
<remote dir> is the name of the remote file system
<local dir> is the name of the local file system
- If the file system that you want to mount is remote, ensure that you have the permission to mount it by entering the command⁄usr⁄bin⁄showmount – e <remote host>
- Use smitty:
- Enter the command smitty mountfs
- In the FILE SYSTEM name field, type the name of the file system on the remote system.
- In the DIRECTORY over which to mount field, type the name of the mount point on your local system.
- In the TYPE of file system field, select nfs3.
- In the FORCE the mount field, select yes.
- In the REMOTE NODE containing the file system field, type the name of the remote host.
- In the MOUNT as a READ-ONLY system field, select no.
- Press Enter. The mount process is started.
- Press F10 to stop smitty.
- Use this procedure:
Month: December 2011
Enable access data for restore from another node TSM
I need to restore data from server A of data server B
Connect to server B and enable access :
tsm> set access backup /oradata/xxx/system/* * *
ANS1148I ‘Set Access’ command successfully completed
tsm> set access backup /oradata/xxx/system/*/* * *
ANS1148I ‘Set Access’ command successfully completed
tsm> set access backup /oradata/xxx/dati/* * *
ANS1148I ‘Set Access’ command successfully completed
How to view access :
Command to view install Maintence Level AIX
Install Mksysb from NIM
Create spot from mksysb
nim -o define -t spot -a source=mksysb1 -a server=master -a location=/export/spot spot1
Install mksysb :
smitty nim_bosinst
Select a TARGET for the operation
Select the installation TYPE
mksysb – Install from a mksysb
Select the MKSYSB to use for the installation
Select Spot
For reset info:
nim -F -o reset lennonmo
After convert virtualmachine suse eth0 not run
Add node to schedule Tivoli Storage Manager
Command vMA
###############################
Enable ssh :
Modify /etc/hosts.allow whit command :
sudo vi /etc/hosts.allow
and add line sshd: ALL: ALLOW
###############################
Add hosts:
sudo vifp addserver 10.1.2.216
###############################
List server:
sudo vifp listservers -l
###############################
Connect to server:
vifptarget -s 10.1.2.215