copying lpp resource from one nim master to another



  • 1. Getting process time creation
    AIX 5.3 Is there any system call to get process time creation? Thanks, Alex Vinokur
  • 2. 1540-0274 (S) The name lookup for "getprocs" did not find a declaration
    AIX 5.3 IBM XL C/C++ Enterprise Edition V8.0 for AIX Version: 08.00.0000.0014 From man getprocs -------------------------------- Technical Reference: Base Operating System and Extensions, Volume 1 getprocs Subroutine Purpose Gets process table entries. Library Standard C library (libc.a) Syntax #include <procinfo.h> #include <sys/types.h> int getprocs ( ProcessBuffer, ProcessSize, FileBuffer, FileSize, IndexPointer, Count) .............. int getprocs64 ( ProcessBuffer, ProcessSize, FileBuffer, FileSize, IndexPointer, Count) ................. -------------------------------- Program ------ bar.cpp ---- #include <procinfo.h> #include <sys/types.h> int main() { struct procsinfo pinfo; pid_t retval = (pid_t)0; getprocs(&pinfo, sizeof(struct procsinfo), 0, 0, &retval, 1); getprocs64(&pinfo, sizeof(struct procsinfo), 0, 0, &retval, 1); return 0; } -------------------------------------------------------------------------------- Compilation xlC_r -q64 bar.cpp "bar.cpp", line 7.9: 1540-0274 (S) The name lookup for "getprocs" did not find a declaration. "bar.cpp", line 8.9: 1540-0274 (S) The name lookup for "getprocs64" did not find a declaration. What is wrong? Thanks. Alex Vinokur
  • 3. Getting maximum/minimum shared-memory segment sizes
    Hi, AIX 5.3 From man shmget() The following limits apply to shared memory: * Maximum shared-memory segment size is: * 256M bytes before AIX 4.3.1 * 2G bytes for AIX 4.3.1 through AIX 5.1 * 64G bytes for 64-bit applications for AIX 5.1 and later * Minimum shared-memory segment size is 1 byte. Are there any system parameters that hold those values (Maximum shared- memory segment size and Minimum shared-memory segment size)? Is it possible to get them via sysconf() or other system call? Thanks, Alex Vinokur
  • 4. Changing virtual disk mappings on VIO ?
    Guys I am using two servers with each server having dual VIO onto it.Partitions from both servers have been clustered togather through HACMP! All the disks from DS6000 have been assigned to VIOS1234 group. Disk mapping to AIX client partitions have been controlled on VIO servers level. Unfortunately one of virtual disk on one of the VIO server got wrong mappings. That is , let say one of disk from storage has been mapped correctly to correct set of HACMP Lpars through three VIOS , but one VIO is mapping the disk to a un-necesssary ( or wrong) Lpar. Now question is , how i can correct the problem ? Is there any command called chdev for virtual disks to correct the mapping to correct vhost? Or i have to delete virtual disk on fourth VIO and redefine with correct vhost defination? if i delete , is there any impact on running services ? In my view , it should not as other three VIOS are still mapping the disk to correct Lpars. Correct me if i am wrong in this idea? Thanks for support
  • 5. Pre Login Screen
    Is it possible to have the user press enter to acknowledge a message before typing in his or her login name and password? I need to add this functionality to the CDE login, ssh, and ibm 3151 console on AIX 5.3.

copying lpp resource from one nim master to another

Postby jagdip » Thu, 16 Sep 2010 05:45:09 GMT


i have created another nim master at our DR site and i wanted to copy
lpp source from current local nim master to remote nim master. how can
i do that ? also, is there something like nim cluster where nim
masters sync themselves automatically ?

thank you

Return to unix


Who is online

Users browsing this forum: No registered users and 97 guest