Sponsored Content
Full Discussion: NIM Questions
Operating Systems AIX NIM Questions Post 302277660 by shockneck on Saturday 17th of January 2009 09:29:04 AM
Old 01-17-2009
Quote:
Originally Posted by balaji_prk
I have been trying to increase the NIM usage in my AIX environment especially for patching,[...]
Maintaining several lpp_sources can be tedious. During a bos-inst operation NIM can handle one lpp_source only and therefore you need a second lpp_source mainly for updates. You have three choices:
1) Create a second lpp_source for updates only.
2) Get the latest AIX base install media and create a new lpp_source.
3) Migrate the update filesets into your existing lpp_source.
Depending on which method you choose you have the following advantages / disadvantages:
Choice No. 1: Easiest possibility but will fail if updates are needed during base installation.
Choice No. 2: Easy but need extra work (which you probably would like to avoid as otherwise you would not have asked your questions). Might even be impossible on certain (rare) occasions.
Choice No. 3: IMHO best solution - however: must be done manually as there is no NIM or other AIX tool available.

What I do: I create hardlinks from the new filesets into my existing (base installation) lpp_source and rebuild the .toc. At the moment the update filesets become superseeded themselves I can simply remove the hardlinks and create new ones from the then latest filesets. This way I can use one lpp_source for both base installation and updates.
 

10 More Discussions You Might Find Interesting

1. AIX

migrate NIM server through NIM installation

I try to migrate a NIM server from one server to another. I try to do a mksysb on NIM server restore the NIM server's mksysb to a client through NIM installation shutdown NIM server start newly installed client as NIM server Does anyone do this before? who can give me some suggestion? (1 Reply)
Discussion started by: yanzhang
1 Replies

2. AIX

NIM Questions

I'm trying to find a simple solution for imaging/restore of systems, and it seems like NIM should be able to do what I need. I am having some issues though. I set up a NIM server using 'eznim', added a client, and was able to perform a sysb backup via NIM over the network. My first... (5 Replies)
Discussion started by: tb0ne
5 Replies

3. AIX

Nim

Hello guys, what is a sure-shot single command to find out if the NIM environment is working properly from both master as well as client side? (2 Replies)
Discussion started by: solaix14
2 Replies

4. AIX

Nim

Hello everyone I have two questions. 1.-The NIM and EZNIM are the same. 2.-If I have in one partition NIM installed I need to install EZNIM or I need to unistall NIM and then install EZNIM. Thanks for your comments. (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

5. AIX

Back up a client NIM from nim master

Hello everyone Im trying to backup a nim client from nim master but I got this message COMMAND STATUS Command: failed stdout: yes stderr: no Before command completion, additional instructions may appear below. 0042-001 nim:... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

6. AIX

Nim

Hello I would like to hear your opinions about shell and nimsh I install the nim master on a server and and client nim on others servers. I backup this clients with the NIM master. When Im trying to install the clients with the option nimsh (communication protocol) send me an error ... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

7. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies

8. AIX

NIM : remove nim client info from the client

Hi. I change my client's IP and hostname but I forgot to change anything on the master. How can I redefine or modify my client's resource from my master, or with using smit niminit from my client ? Tks (2 Replies)
Discussion started by: stephnane
2 Replies

9. AIX

Problem in communication nim client with nim master

Hello, I have an AIX6.1 machine which is a nim client to my nim master which is also AIX6.1 machine. I had some problem to perform an installation on my client using smit nim . i removed /etc/niminfo file in order to do the initialization again but when i run the command niminit -a name=client... (0 Replies)
Discussion started by: omonoiatis9
0 Replies

10. AIX

How to know NIM name from NIM client?

Friend's, I was playing around with NIM in my environment & had a quick question in mind which I didn't/couldn't find answer to, which is -- how to find the name of the NIM server sitting on the NIM client? All leads to the answer would be much appreciated, many thanks! -- Souvik (2 Replies)
Discussion started by: thisissouvik
2 Replies
advfs(4)						     Kernel Interfaces Manual							  advfs(4)

NAME
advfs - A local file system and utilities DESCRIPTION
The Advanced File System (AdvFS), the file system default on the Tru64 UNIX operating system, features rapid crash recovery, high perfor- mance, and a flexible structure that enables you to manage your file system while it is on line. AdvFS is licensed with the Tru64 UNIX operating system. A set of utilities that expands the capabilities of the AdvFS file system is available as a separately licensed product: The AdvFS Utili- ties. These utilities include capabilities such as adding volumes without reconfiguring the directory hierarchy of the file system, cloning filesets to enable online backup, improving system performance with domain balancing, and file striping. A graphical user interface (GUI) that simplifies file system management is available with the utilities. Using journaling techniques, AdvFS provides faster crash recovery than the UNIX File System (UFS), which implements crash recovery using the fsck utility. In addition to fast restarts, AdvFS ensures that file structures are recovered consistently; extends file and fileset sizes to greater than 2 gigabytes; creates, deletes, and renames files faster than UFS; and provides enhanced local and remote backup utilities (vdump and rvdump, vrestore and rvrestore). By configuring AdvFS as the root file system, the preceding AdvFS features are extended to the root file system. You can configure the AdvFS as the root file system during system installation. A UFS file system corresponds to a disk partition and is, therefore, limited by the size restrictions of that disk. In contrast, AdvFS filesets can span all volumes in the file domain. AdvFS File System Concepts AdvFS introduces file system concepts that do not exist for UFS. Understanding the following concepts prepares you for planning, creating, and maintaining the AdvFS file system: Volumes A volume is any mechanism that behaves like a UNIX block device, such as a disk, disk partition, or logical volume that is config- ured with the Logical Storage Manager (LSM). File Domain A file domain is a named set of one or more volumes that provides a shared storage pool for one or more filesets (see filesets below). When you create a file domain using the mkfdmn command, you must specify a domain name and one initial volume. The mkfdmn command creates a subdirectory in the /etc/fdmns directory for each new file domain. The file-domain subdirectory contains a symbolic link to the initial volume. If you have AdvFS Utilities, you can add additional volumes to an existing file domain by using the addvol utility. With each added volume, the addvol utility creates a new symbolic link in the appropriate file-domain subdirectory of the /etc/fdmns directory. Filesets A UFS file system has exclusive use of the volume that contains it; an AdvFS fileset can be one of several in a domain that is com- posed of one or more volumes. An Advanced File System consists of a file domain with at least one fileset that you create using the mkfset command. A fileset is a mountable entity. Clone Fileset A clone fileset is a read-only copy of an existing fileset, which you can mount as you do other filesets. You create a clone fileset by using the clonefset utility. The reason you create and mount a clone fileset is to perform an online backup of the existing file- set. A clone fileset is a snapshot of the original fileset, capturing and fixing the original fileset at a moment in time. Any changes you make to the original fileset will not appear in its clone. Changes to data in files in the original fileset will not appear in the clone. Also, files that you remove from the original fileset will remain accessible in the clone under the names they had when you created the clone fileset. AdvFS Application Programming Interface With the release of Tru64 UNIX Version 5.0, there is an application programming interface (API) for AdvFS. Customers can use the API to build customized backup and restore capabilities. The API consists of several base system functions, which are described in the following reference pages: Create a read-only copy of an active fileset Get an AdvFS file domain list Get the AdvFS attributes of a file Obtain a list of all the filesets in an AdvFS file domain Obtain fileset quotas for an AdvFS fileset Remove a fileset or a clone fileset Set AdvFS file attributes Set fileset quotas for an AdvFS fileset AdvFS Commands in the Base System The following list summarizes the AdvFS commands that are included in the base system: Displays file system statistics. See advfsstat(8). Locates AdvFS partitions on disks. See advscan(8). Changes the attributes of a file. See chfile(8). Changes the attributes of a fileset. See chfsets(8). Changes the attributes of a volume. See chvol(8). Makes the files in a file domain more contiguous. See defragment(8). Edits the user or group quotas. See edquota(8). Creates a new file domain. See mkfdmn(8). Creates a fileset within an existing file domain. See mkfset(8). Checks for mounted AdvFS filesets. See mountlist(8). Creates a list of files on specified filesets, including the path names and i-numbers. See ncheck(8). Displays formatted BMT pages. See nvbmtpg(8). Displays formatted frag pages. See nvfragpg(8). Displays formatted log pages. See nvlogpg(8). Displays formatted tag pages. See nvtagpg(8). Summarizes fileset ownership. See quot(8). Displays disk usage and limits. See quota(1). Checks file system quota consistency. See quotacheck(8). Turns on user and group quotas. See quotaon(8). Turns off user and group quotas. See quotaoff(8). Renames an existing fileset. See renamefset(8). Summarizes the disk usage and quotas for specified filesets. See repquota(8). Removes an unused file domain from AdvFS. See rmfdmn(8). Deletes a fileset from a file domain. See rmfset(8). Displays unformatted disk blocks. See shblk(8). Displays frag file information. See shfragbf(8). Dis- plays domain attributes. See showfdmn(8). Displays attributes for AdvFS files. See showfile(8). Displays information about the filesets in a domain. See showfsets(8). Moves the AdvFS log file to a different volume in a file domain. See switchlog(8). Prints the path name of a file, given the tag number. See tag2name(8). Displays mcells that describe metadata for a file. See vbmtchain(8). Displays a formatted page of the bitfile metadata table (BMT). See vbmtpg(8). Backs up filesets. See vdump(8). Checks for and repairs file system inconsisten- cies. See verify(8). Displays the contents of a file from an unmounted domain. See vfile(8). Prints a single header page of a frag file. See vfragpg(8). Displays a formatted page of the log. See vlogpg(8). Displays the logical sequence number (LSN) of a page of the log. See vlsnpg(8). Restores files from devices written with the vdump command. See vrestore(8). Displays a formatted page of the tag directory. See vtagpg(8). AdvFS Utilities The AdvFS Utilities are licensed and purchased separately from the Tru64 UNIX operating system. However, the software and the reference pages for them are installed when you install the base system. You must activate a Product Authorization Key to activate the Advanced File System Utilities. The following list summarizes the AdvFS Utilities commands: Adds a volume to an existing file domain. See addvol(8). Starts the AdvFS graphical user interface (GUI) daemon. Balances the percentage of used space between volumes. See balance(8). Creates a read-only copy of a fileset. See clonefset(8). Starts the AdvFS graphical user interface. See dtadvfs(8). Moves the location of a file within a file domain. See migrate(8). Attaches directories to a trashcan directory, which stores deleted files. See mktrashcan(1). Detaches a specified directory from a trashcan directory. See mktrashcan(1). Removes a volume from an existing file domain. See rmvol(8). Shows the trashcan directory, if any, that is attached to a specified directory. See mktrashcan(1). Interleaves storage allocation of a file across two or more volumes within a file domain. See stripe(8). RESTRICTION
When configuring root on AdvFS, set up one partition and one fileset in the file domain. Multiple volumes are not supported on root (except for a cluster root). EXAMPLE
The following example creates a file domain called accounts_dmn, which contains dsk1c as the initial volume. The example also creates two filesets, credit_fs and debit_fs, and mounts both filesets. # mkfdmn /dev/disk/dsk1c accounts_dmn # mkfset accounts_dmn credit_fs # mkfset accounts_dmn debit_fs # mkdir /mnt/credit /mnt/debit # mount -t advfs accounts_dmn#credit_fs /mnt/credit # mount -t advfs accounts_dmn#debit_fs /mnt/debit SEE ALSO
Commands: mkdir(1) ,fdmns(4), mkfdmn(8), mkfset(8), mount(8) Files: advfs_err(4) advfs(4)
All times are GMT -4. The time now is 06:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy