<data:blog.pageTitle/>

This Page

has moved to a new address:

https://vmvirtual.blog

Sorry for the inconvenience…

Redirection provided by Blogger to WordPress Migration Service
BIOLNX: dicembre 2011

BIOLNX

giovedì 29 dicembre 2011

Export and Mount filesystem from aix

This document is copy from site IBM 
 
To export and mount file systems on AIX, complete these steps:
  1. Export a file system on AIX by using one of these methods.
    • Use this procedure:
      1. Add the file system that you want to export to the /etc/exports file.
      2. Export all entries in the file /etc/exports by entering the command /usr/sbin/exportfs -a
      3. Verify that the file system is exported by entering the command⁄usr⁄sbin⁄exportfs
      All shared file systems are displayed.
    • Use smitty:
      1. Enter the command smitty mknfsexp
      2. In the PATHNAME of directory to export field, type the name of the file system that you want to export.
      3. In the MODE to export directory field, select read-write.
      4. In the HOSTS & NETGROUPS allowed client access field, type the name of the hosts that are allowed to mount this file system.
      5. Press Enter. The export procedure is started.
      6. Press F10 to stop smitty.
  2. Mount a file system on AIX by using one of these methods.
    • Use this procedure:
      1. 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.
      2. 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.
      3. 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
    • Use smitty:
      1. Enter the command smitty mountfs
      2. In the FILE SYSTEM name field, type the name of the file system on the remote system.
      3. In the DIRECTORY over which to mount field, type the name of the mount point on your local system.
      4. In the TYPE of file system field, select nfs3.
      5. In the FORCE the mount field, select yes.
      6. In the REMOTE NODE containing the file system field, type the name of the remote host.
      7. In the MOUNT as a READ-ONLY system field, select no.
      8. Press Enter. The mount process is started.
      9. Press F10 to stop smitty.

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 :

tsm> query access
Type     Node        User        Path
----     ----------------------------
Backup   *           *           /oradata/xxx/system/*
Backup   *           *           /oradata/xxx/system/*/*
Backup   *           *           /oradata/xxx/dati/*

ANS1148I 'Query Access' command successfully completed

set access [backup,archive] [filesystem] [node to enable access] 



mercoledì 28 dicembre 2011

Command to view install Maintence Level AIX

instfix -i  | grep ML

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

martedì 20 dicembre 2011

After convert virtualmachine suse eth0 not run

cd /etc/udev/rules.d
vi 70-persistent-net.rules
Change eth1 with eth0
Reboot

domenica 18 dicembre 2011

Add node to schedule Tivoli Storage Manager

define ASSOCIATION policy_domain  schedule node

mercoledì 7 dicembre 2011

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