Nodeum Docs
HomepageBlog
  • ✨What is Nodeum?
    • Data Management Software
  • 👣GETTING STARTED
    • Step by Step
  • 🏨ARCHITECTURE
    • Standalone
    • High Availability
    • Fully Scalable & Resilience
  • Install and Deploy Nodeum
    • Platform Support
    • Nodeum v1
      • Ansible based installation
    • Nodeum v2 - Data Mover
      • Ansible based Installation
        • Customize your Installation
      • Docker Based Deployment
    • SLURM Integration
    • Software License Application
  • Interfaces
    • ND Client
    • Console
      • Manual for Administrator
        • Login
        • Dashboard & Reports
        • Catalog
        • Data Mover Management
        • Advanced Task Management
        • Data Container
        • Primary Storage Configuration
        • Pool Management
        • TCO Calculator
        • Toolbox
        • System Settings
          • Information
          • Configuration
          • Date & Time
          • Backup
          • Services
          • Hostname and DNS Configuration
          • NAS Storage Configuration
          • Object Storage Configuration
          • Tape Library Configuration
          • User Management
          • Audits
      • Manual for End User
    • For Developers
      • RESTful API
      • Configuration through RestAPI Console
      • Software Developement Kits (SDK)
      • Nodeum API
        • API Terms of Use
        • release v1.x
        • release v2.x
  • DATA MOVER
    • Policy-Based Task orchestration
      • Pool Management
      • Scheduler
      • Data Integrity
      • Priority Management
      • Filtering (Basic or Advanced)
      • Hook service (callback)
    • Content traceability
    • Metadata Management
  • IDENTITY MANAGEMENT
    • Right - Authentication & Authorization
    • LDAP Plugin for JWT Token
  • Container Configuration
    • Prerequisites
    • About Container
    • Authorization and Authentication
    • Access your Container
  • HYBRID STORAGE MANAGEMENT
    • File System Managment
    • Object Storage Management
      • Customize your S3 connection
    • Tape Library Management
      • Tape Writing Format : LTFS
      • Tape Compression
      • Tape Rehydratation
      • Import a LTFS Tape
      • Task Maintenance for Tapes
  • ⏰Alert & Monitoring
    • Alerts
    • Monitoring
    • Log Management
  • 🏥Recover after Hardware Failure
    • Failover - Active/Passive
    • Failover Procedure - One Site
    • Backup & Restore
  • 🔐Security Guide
    • Advanced Network Configuration
    • Add a SSL Certificate on Web Console
    • Enable SSL Certificate Container accessible on S3 Protocol
  • Compatibility guide
    • Software requirement
    • Supported Storage
  • PRODUCT SPECIFICATIONS
    • Character Set Support
    • Limitations
    • Files Status
    • Task Status
Powered by GitBook
On this page
  • Open the RAILS console
  • User Configuration
  • Storage Configuration

Was this helpful?

  1. Interfaces
  2. For Developers

Configuration through RestAPI Console

Open the RAILS console

$ nodeumctl rails c

User Configuration

Change the default password of admin user

> user = Api::V2::User.all.where("username = 'admin'")
 => #<ActiveRecord::Relation [#<Api::V2::User id: 1, user_id: 1032, group_id: nil, 
 is_active: 1, is_admin: true, username: "admin", email: "nodeum@localhost", 
 key_id: 0, vector: "no-cipher", created_at: "2019-12-13...
> user.update(password: 'newpassword')
 => [#<Api::V2::User email: "nodeum@localhost", id: 1, user_id: 1032, group_id: nil, 
 is_active: 1, is_admin: true, username: "admin", key_id: 0, vector: "no-cipher", 
 created_at: "2019-12-13 11:46:30.000000000 +0000", updated_at: "2023-03-23 
 15:56:21.000000000 +0000", provider: nil, uid: nil>]

Storage Configuration

Create a new ‘Mounted File System connector’

Mandatory : name: ; type: :undefined

> nas = Api::V2::NAS.create!(
    name: "...",
    host: "...",
    # :undefined :smb_v1 :smb_v2_1 :smb_v3 :nfs_v3 :nfs_v4 :storenext_v5
    type: :undefined,
  )

Save

> nas.save!

Create a new ‘Swift connector’

Mandatory : name ; provider: ":openstack_swift”

> cloud = Api::V2::CloudConnector.create!(
    name: "...",
    url: "...",
    # :undefined :generic_s3 :amazon_aws_s3 :cloudian_hyperstore :scality_ring 
    :dell_emc_ecs :azure :google_cloud_storage :openstack_swift :wasabi 
    :quantum_activescale :datacore_swarm
    provider: :openstack_swift,
    region: "...",
    access_key: "...",
    secret_key: "...",
    options: "...",
  )

Save

> cloud.save!

Last updated 3 months ago

Was this helpful?